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

Method SetPoint2DisplayPosition

Interaction/Widgets/vtkAngleRepresentation2D.cxx:144–156  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

142
143//------------------------------------------------------------------------------
144void vtkAngleRepresentation2D::SetPoint2DisplayPosition(double x[3])
145{
146 if (!this->Point2Representation)
147 {
148 vtkErrorMacro("SetPoint2DisplayPosition: no point2 representation");
149 return;
150 }
151 this->Point2Representation->SetDisplayPosition(x);
152 double p[3];
153 this->Point2Representation->GetWorldPosition(p);
154 this->Point2Representation->SetWorldPosition(p);
155 this->BuildRepresentation();
156}
157
158//------------------------------------------------------------------------------
159void vtkAngleRepresentation2D::SetPoint2WorldPosition(double x[3])

Callers

nothing calls this directly

Calls 4

BuildRepresentationMethod · 0.95
SetDisplayPositionMethod · 0.45
GetWorldPositionMethod · 0.45
SetWorldPositionMethod · 0.45

Tested by

no test coverage detected