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

Method OnRightButtonUp

Interaction/Widgets/vtkLineWidget.cxx:804–821  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

802
803//------------------------------------------------------------------------------
804void vtkLineWidget::OnRightButtonUp()
805{
806 if (this->State == vtkLineWidget::Outside || this->State == vtkLineWidget::Start)
807 {
808 return;
809 }
810
811 this->State = vtkLineWidget::Start;
812 this->HighlightLine(0);
813 this->HighlightHandles(0);
814
815 this->SizeHandles();
816
817 this->EventCallbackCommand->SetAbortFlag(1);
818 this->EndInteraction();
819 this->InvokeEvent(vtkCommand::EndInteractionEvent, nullptr);
820 this->Interactor->Render();
821}
822
823//------------------------------------------------------------------------------
824void vtkLineWidget::OnMouseMove()

Callers 1

ProcessEventsMethod · 0.95

Calls 6

HighlightLineMethod · 0.95
HighlightHandlesMethod · 0.95
SizeHandlesMethod · 0.95
InvokeEventMethod · 0.80
RenderMethod · 0.65
EndInteractionMethod · 0.45

Tested by

no test coverage detected