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

Method HighlightHandles

Interaction/Widgets/vtkLineWidget.cxx:557–571  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

555
556//------------------------------------------------------------------------------
557void vtkLineWidget::HighlightHandles(int highlight)
558{
559 if (highlight)
560 {
561 this->ValidPick = 1;
562 this->HandlePicker->GetPickPosition(this->LastPickPosition);
563 this->Handle[0]->SetProperty(this->SelectedHandleProperty);
564 this->Handle[1]->SetProperty(this->SelectedHandleProperty);
565 }
566 else
567 {
568 this->Handle[0]->SetProperty(this->HandleProperty);
569 this->Handle[1]->SetProperty(this->HandleProperty);
570 }
571}
572
573//------------------------------------------------------------------------------
574void vtkLineWidget::HighlightLine(int highlight)

Callers 4

OnMiddleButtonDownMethod · 0.95
OnMiddleButtonUpMethod · 0.95
OnRightButtonDownMethod · 0.95
OnRightButtonUpMethod · 0.95

Calls 2

GetPickPositionMethod · 0.80
SetPropertyMethod · 0.45

Tested by

no test coverage detected