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

Method SelectMenuAction

Rendering/VR/vtkVRMenuWidget.cxx:184–203  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

182
183//------------------------------------------------------------------------------
184void vtkVRMenuWidget::SelectMenuAction(vtkAbstractWidget* w)
185{
186 vtkVRMenuWidget* self = reinterpret_cast<vtkVRMenuWidget*>(w);
187
188 if (self->WidgetState != vtkVRMenuWidget::Active)
189 {
190 return;
191 }
192
193 if (!self->Parent)
194 {
195 self->ReleaseFocus();
196 }
197
198 self->Off();
199 self->WidgetState = vtkVRMenuWidget::Start;
200
201 self->WidgetRep->ComplexInteraction(
202 self->Interactor, self, vtkWidgetEvent::Select3D, self->CallData);
203}
204
205//------------------------------------------------------------------------------
206void vtkVRMenuWidget::MoveAction(vtkAbstractWidget* w)

Callers

nothing calls this directly

Calls 2

ReleaseFocusMethod · 0.45
ComplexInteractionMethod · 0.45

Tested by

no test coverage detected