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

Method StartWidgetInteraction

Interaction/Widgets/vtkBoxRepresentation.cxx:266–279  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

264
265//------------------------------------------------------------------------------
266void vtkBoxRepresentation::StartWidgetInteraction(double e[2])
267{
268 // Store the start position
269 this->StartEventPosition[0] = e[0];
270 this->StartEventPosition[1] = e[1];
271 this->StartEventPosition[2] = 0.0;
272
273 // Store the start position
274 this->LastEventPosition[0] = e[0];
275 this->LastEventPosition[1] = e[1];
276 this->LastEventPosition[2] = 0.0;
277
278 this->ComputeInteractionState(static_cast<int>(e[0]), static_cast<int>(e[1]), 0);
279}
280
281void vtkBoxRepresentation::StartComplexInteraction(
282 vtkRenderWindowInteractor*, vtkAbstractWidget*, unsigned long, void* calldata)

Callers 15

UpdateHoverTextMethod · 0.45
OnMouseMoveMethod · 0.45
OnMouseMoveMethod · 0.45
SelectActionMethod · 0.45
ScaleActionMethod · 0.45
SelectActionMethod · 0.45
SubclassHoverActionMethod · 0.45
SelectActionMethod · 0.45
SelectActionMethod · 0.45
TranslateActionMethod · 0.45
ScaleActionMethod · 0.45
SelectActionMethod · 0.45

Calls 1

Tested by

no test coverage detected