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

Method RecomputeSphere

Interaction/Widgets/vtkCameraHandleSource.cxx:149–156  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

147
148//------------------------------------------------------------------------------
149void vtkCameraHandleSource::RecomputeSphere()
150{
151 this->PositionSphere->SetRadius(this->Size / 2);
152 this->PositionSphere->SetCenter(this->GetPosition());
153 this->PositionSphere->SetThetaResolution(16);
154 this->PositionSphere->SetPhiResolution(8);
155 this->PositionSphere->Update();
156}
157
158//------------------------------------------------------------------------------
159void vtkCameraHandleSource::PrintSelf(ostream& os, vtkIndent indent)

Callers 1

RequestDataMethod · 0.95

Calls 6

GetPositionMethod · 0.95
SetThetaResolutionMethod · 0.80
SetPhiResolutionMethod · 0.80
SetRadiusMethod · 0.45
SetCenterMethod · 0.45
UpdateMethod · 0.45

Tested by

no test coverage detected