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

Method HighlightLine

Interaction/Widgets/vtkLineWidget.cxx:574–586  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

572
573//------------------------------------------------------------------------------
574void vtkLineWidget::HighlightLine(int highlight)
575{
576 if (highlight)
577 {
578 this->ValidPick = 1;
579 this->LinePicker->GetPickPosition(this->LastPickPosition);
580 this->LineActor->SetProperty(this->SelectedLineProperty);
581 }
582 else
583 {
584 this->LineActor->SetProperty(this->LineProperty);
585 }
586}
587
588//------------------------------------------------------------------------------
589void vtkLineWidget::OnLeftButtonDown()

Callers 6

OnLeftButtonDownMethod · 0.95
OnLeftButtonUpMethod · 0.95
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