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

Function SetPosition

Interaction/Widgets/vtkPointWidget.h:102–102  ·  view source on GitHub ↗

* Set/Get the position of the point. Note that if the position is set * outside of the bounding box, it will be clamped to the boundary of * the bounding box. */

Source from the content-addressed store, hash-verified

100 * the bounding box.
101 */
102 void SetPosition(double x, double y, double z) { this->Cursor3D->SetFocalPoint(x, y, z); }
103 void SetPosition(double x[3]) { this->SetPosition(x[0], x[1], x[2]); }
104 double* GetPosition() VTK_SIZEHINT(3) { return this->Cursor3D->GetFocalPoint(); }
105 void GetPosition(double xyz[3]) { this->Cursor3D->GetFocalPoint(xyz); }

Callers

nothing calls this directly

Calls 2

SetFocalPointMethod · 0.45
SetPositionMethod · 0.45

Tested by

no test coverage detected