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

Method RebuildRepresentation

Interaction/Widgets/vtkCameraPathRepresentation.cxx:297–309  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

295
296//------------------------------------------------------------------------------
297void vtkCameraPathRepresentation::RebuildRepresentation()
298{
299 if (this->CurrentHandleIndex >= 0 && this->CurrentHandleIndex < this->NumberOfHandles)
300 {
301 this->CurrentHandleIndex = this->HighlightHandle(this->HandleActors[this->CurrentHandleIndex]);
302 }
303 else
304 {
305 this->CurrentHandleIndex = this->HighlightHandle(nullptr);
306 }
307
308 this->BuildRepresentation();
309}
310
311//------------------------------------------------------------------------------
312void vtkCameraPathRepresentation::UpdateConfiguration(int npts)

Callers 3

SetNumberOfHandlesMethod · 0.95
SetParametricSplineMethod · 0.95
UpdateConfigurationMethod · 0.95

Calls 2

BuildRepresentationMethod · 0.95
HighlightHandleMethod · 0.45

Tested by

no test coverage detected