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

Method SetWidgetStateToStart

Interaction/Widgets/vtkDistanceWidget.cxx:548–555  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

546
547//------------------------------------------------------------------------------
548void vtkDistanceWidget::SetWidgetStateToStart()
549{
550 this->WidgetState = vtkDistanceWidget::Start;
551 this->CurrentHandle = -1;
552 this->ReleaseFocus();
553 this->GetRepresentation()->BuildRepresentation(); // update this->Distance
554 this->SetEnabled(this->GetEnabled()); // show/hide the handles properly
555}
556
557//------------------------------------------------------------------------------
558void vtkDistanceWidget::SetWidgetStateToManipulate()

Callers

nothing calls this directly

Calls 4

SetEnabledMethod · 0.95
GetRepresentationMethod · 0.80
ReleaseFocusMethod · 0.45
BuildRepresentationMethod · 0.45

Tested by

no test coverage detected