MCPcopy Create free account
hub / github.com/Kitware/VTK / SetRepresentationState

Method SetRepresentationState

Interaction/Widgets/vtkLineRepresentation.cxx:600–612  ·  view source on GitHub ↗

------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

598
599//------------------------------------------------------------------------------
600void vtkLineRepresentation::SetRepresentationState(int state)
601{
602 state = std::min<int>(
603 std::max<int>(state, vtkLineRepresentation::Outside), vtkLineRepresentation::Scaling);
604
605 if (this->RepresentationState == state)
606 {
607 return;
608 }
609
610 this->RepresentationState = state;
611 this->Modified();
612}
613
614//------------------------------------------------------------------------------
615double* vtkLineRepresentation::GetBounds()

Callers 1

Calls 1

ModifiedMethod · 0.45

Tested by

no test coverage detected