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

Method HighlightSphere

Interaction/Widgets/vtkSphereWidget.cxx:333–345  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

331
332//------------------------------------------------------------------------------
333void vtkSphereWidget::HighlightSphere(int highlight)
334{
335 if (highlight)
336 {
337 this->ValidPick = 1;
338 this->Picker->GetPickPosition(this->LastPickPosition);
339 this->SphereActor->SetProperty(this->SelectedSphereProperty);
340 }
341 else
342 {
343 this->SphereActor->SetProperty(this->SphereProperty);
344 }
345}
346
347//------------------------------------------------------------------------------
348void vtkSphereWidget::HighlightHandle(int highlight)

Callers 4

OnLeftButtonDownMethod · 0.95
OnLeftButtonUpMethod · 0.95
OnRightButtonDownMethod · 0.95
OnRightButtonUpMethod · 0.95

Calls 2

GetPickPositionMethod · 0.80
SetPropertyMethod · 0.45

Tested by

no test coverage detected