45 class vtkCameraCallbackCommand;
61 void SetPosition(
double x,
double y,
double z);
63 this->SetPosition(a[0], a[1], a[2]); };
64 vtkGetVector3Macro(Position,
double);
70 void SetFocalPoint(
double x,
double y,
double z);
72 this->SetFocalPoint(a[0], a[1], a[2]);};
73 vtkGetVector3Macro(FocalPoint,
double);
79 void SetViewUp(
double vx,
double vy,
double vz);
81 this->SetViewUp(a[0], a[1], a[2]); }
82 vtkGetVector3Macro(ViewUp,
double);
88 void OrthogonalizeViewUp();
92 void SetDistance(
double);
97 vtkGetMacro(Distance,
double);
104 vtkGetVector3Macro(DirectionOfProjection,
double);
111 void Dolly(
double value);
115 void SetRoll(
double angle);
121 void Roll(
double angle);
127 void Azimuth(
double angle);
134 void Yaw(
double angle);
140 void Elevation(
double angle);
145 void Pitch(
double angle);
151 void SetParallelProjection(
int flag);
152 vtkGetMacro(ParallelProjection,
int);
153 vtkBooleanMacro(ParallelProjection,
int);
163 void SetUseHorizontalViewAngle(
int flag);
164 vtkGetMacro(UseHorizontalViewAngle,
int);
165 vtkBooleanMacro(UseHorizontalViewAngle,
int);
176 void SetViewAngle(
double angle);
177 vtkGetMacro(ViewAngle,
double);
186 void SetParallelScale(
double scale);
187 vtkGetMacro(ParallelScale,
double);
194 void Zoom(
double factor);
204 void SetClippingRange(
double dNear,
double dFar);
206 this->SetClippingRange(a[0], a[1]); };
207 vtkGetVector2Macro(ClippingRange,
double);
214 void SetThickness(
double);
215 vtkGetMacro(Thickness,
double);
224 void SetWindowCenter(
double x,
double y);
225 vtkGetVector2Macro(WindowCenter,
double);
236 void SetObliqueAngles(
double alpha,
double beta);
247 vtkGetVector3Macro(ViewPlaneNormal,
double);
255 void SetViewShear(
double dxdz,
double dydz,
double center);
256 void SetViewShear(
double d[3]);
257 vtkGetVector3Macro(ViewShear,
double);
263 vtkSetMacro(EyeAngle,
double);
264 vtkGetMacro(EyeAngle,
double);
272 vtkSetMacro(FocalDisk,
double);
273 vtkGetMacro(FocalDisk,
double);
289 return this->ViewTransform;
303 VTK_LEGACY(
virtual vtkMatrix4x4 *GetPerspectiveTransformMatrix(
double aspect,
315 virtual vtkMatrix4x4 *GetProjectionTransformMatrix(
double aspect,
344 VTK_LEGACY(
virtual vtkMatrix4x4 *GetCompositePerspectiveTransformMatrix(
358 virtual vtkMatrix4x4 *GetCompositeProjectionTransformMatrix(
double aspect,
389 unsigned long GetViewingRaysMTime();
393 void ViewingRaysModified();
402 virtual void GetFrustumPlanes(
double aspect,
double planes[24]);
406 double *GetOrientation();
407 double *GetOrientationWXYZ();
413 VTK_LEGACY(
void SetViewPlaneNormal(
double x,
double y,
double z));
414 VTK_LEGACY(
void SetViewPlaneNormal(
const double a[3]));
419 void ComputeViewPlaneNormal();
431 vtkSetMacro(LeftEye,
int);
432 vtkGetMacro(LeftEye,
int);
439 void ComputeProjAndViewParams( );
443 void SetConfigParams(
double o2screen,
double o2right,
double o2left,
444 double o2top,
double o2bottom ,
double interOccDist,
449 void SetHeadPose(
double x00,
double x01,
double x02,
double x03,
450 double x10,
double x11,
double x12,
double x13,
451 double x20,
double x21,
double x22,
double x23,
452 double x30,
double x31,
double x32,
double x33 );
458 vtkSetMacro(HeadTracked,
int);
459 vtkGetMacro(HeadTracked,
int);
476 void ComputeDistance();
477 void ComputeViewTransform();
480 #ifndef VTK_LEGACY_REMOVE
483 void ComputePerspectiveTransform(
double aspect,
491 void ComputeCompositePerspectiveTransform(
double aspect,
499 void ComputeProjectionTransform(
double aspect,
506 void ComputeCompositeProjectionTransform(
double aspect,
515 void ComputeCameraLightTransform();
525 double WindowCenter[2];
526 double ObliqueAngles[2];
527 double FocalPoint[3];
531 double ClippingRange[2];
539 double DirectionOfProjection[3];
540 double ViewPlaneNormal[3];
554 friend class vtkCameraCallbackCommand;
568 double AsymLeft, AsymRight, AsymBottom,
AsymTop;