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

Method SetPoint1DisplayPosition

Interaction/Widgets/vtkAngleRepresentation2D.cxx:90–102  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

88
89//------------------------------------------------------------------------------
90void vtkAngleRepresentation2D::SetPoint1DisplayPosition(double x[3])
91{
92 if (!this->Point1Representation)
93 {
94 vtkErrorMacro("SetPoint1DisplayPosition: no point1 representation");
95 return;
96 }
97 this->Point1Representation->SetDisplayPosition(x);
98 double p[3];
99 this->Point1Representation->GetWorldPosition(p);
100 this->Point1Representation->SetWorldPosition(p);
101 this->BuildRepresentation();
102}
103
104//------------------------------------------------------------------------------
105void vtkAngleRepresentation2D::SetPoint1WorldPosition(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