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

Method SetPosition

Interaction/Widgets/vtkCameraHandleSource.cxx:55–63  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

53
54//------------------------------------------------------------------------------
55void vtkCameraHandleSource::SetPosition(double xPos, double yPos, double zPos)
56{
57 if ((this->GetPosition()[0] != xPos) || (this->GetPosition()[1] != yPos) ||
58 (this->GetPosition()[2] != zPos))
59 {
60 this->Camera->SetPosition(xPos, yPos, zPos);
61 this->Modified();
62 }
63}
64
65//------------------------------------------------------------------------------
66double* vtkCameraHandleSource::GetPosition()

Callers 15

WidgetInteractionMethod · 0.45
ResetCameraMethod · 0.45
SetPositionFunction · 0.45
CreateDefaultHandlesMethod · 0.45
ReconfigureHandlesMethod · 0.45
InsertHandleOnLineMethod · 0.45
SetPositionFunction · 0.45
EnablePointWidgetMethod · 0.45
SetPoint1Method · 0.45
SetPoint2Method · 0.45

Calls 2

GetPositionMethod · 0.95
ModifiedMethod · 0.45

Tested by 15

MoveLightMethod · 0.36
testSphereWidgetMethod · 0.36
TestResliceCursorWidget2Function · 0.36
TestSliderWidget2DFunction · 0.36
ExecuteMethod · 0.36
TestOrientationWidgetFunction · 0.36