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

Method SetCenterDisplayPosition

Interaction/Widgets/vtkAngleRepresentation2D.cxx:117–129  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

115
116//------------------------------------------------------------------------------
117void vtkAngleRepresentation2D::SetCenterDisplayPosition(double x[3])
118{
119 if (!this->CenterRepresentation)
120 {
121 vtkErrorMacro("SetCenterDisplayPosition: no center representation");
122 return;
123 }
124 this->CenterRepresentation->SetDisplayPosition(x);
125 double p[3];
126 this->CenterRepresentation->GetWorldPosition(p);
127 this->CenterRepresentation->SetWorldPosition(p);
128 this->BuildRepresentation();
129}
130
131//------------------------------------------------------------------------------
132void vtkAngleRepresentation2D::SetCenterWorldPosition(double x[3])

Callers 2

Calls 4

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

Tested by

no test coverage detected