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

Method HighlightLine

Interaction/Widgets/vtkBrokenLineWidget.cxx:510–522  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

508}
509
510void vtkBrokenLineWidget::HighlightLine(int highlight)
511{
512 if (highlight)
513 {
514 this->ValidPick = 1;
515 this->LinePicker->GetPickPosition(this->LastPickPosition);
516 this->LineActor->SetProperty(this->SelectedLineProperty);
517 }
518 else
519 {
520 this->LineActor->SetProperty(this->LineProperty);
521 }
522}
523
524void vtkBrokenLineWidget::OnLeftButtonDown()
525{

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