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

Method HighlightHandle

Interaction/Widgets/vtkSphereWidget.cxx:348–360  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

346
347//------------------------------------------------------------------------------
348void vtkSphereWidget::HighlightHandle(int highlight)
349{
350 if (highlight)
351 {
352 this->ValidPick = 1;
353 this->Picker->GetPickPosition(this->LastPickPosition);
354 this->HandleActor->SetProperty(this->SelectedHandleProperty);
355 }
356 else
357 {
358 this->HandleActor->SetProperty(this->HandleProperty);
359 }
360}
361
362//------------------------------------------------------------------------------
363void vtkSphereWidget::OnLeftButtonDown()

Callers 3

OnLeftButtonDownMethod · 0.95
OnLeftButtonUpMethod · 0.95
OnRightButtonUpMethod · 0.95

Calls 2

GetPickPositionMethod · 0.80
SetPropertyMethod · 0.45

Tested by

no test coverage detected