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

Method CenterWidgetInteraction

Interaction/Widgets/vtkAngleRepresentation.cxx:127–135  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

125
126//------------------------------------------------------------------------------
127void vtkAngleRepresentation::CenterWidgetInteraction(double e[2])
128{
129 double pos[3];
130 pos[0] = e[0];
131 pos[1] = e[1];
132 pos[2] = 0.0;
133 this->SetCenterDisplayPosition(pos);
134 this->SetPoint2DisplayPosition(pos);
135}
136
137//------------------------------------------------------------------------------
138void vtkAngleRepresentation::WidgetInteraction(double e[2])

Callers 2

AddPointActionMethod · 0.80
MoveActionMethod · 0.80

Calls 2

Tested by

no test coverage detected