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);
206 void SetClippingRange(
double dNear,
double dFar);
208 this->SetClippingRange(a[0], a[1]); };
209 vtkGetVector2Macro(ClippingRange,
double);
216 void SetThickness(
double);
217 vtkGetMacro(Thickness,
double);
226 void SetWindowCenter(
double x,
double y);
227 vtkGetVector2Macro(WindowCenter,
double);
238 void SetObliqueAngles(
double alpha,
double beta);
249 vtkGetVector3Macro(ViewPlaneNormal,
double);
257 void SetViewShear(
double dxdz,
double dydz,
double center);
258 void SetViewShear(
double d[3]);
259 vtkGetVector3Macro(ViewShear,
double);
265 vtkSetMacro(EyeAngle,
double);
266 vtkGetMacro(EyeAngle,
double);
274 vtkSetMacro(FocalDisk,
double);
275 vtkGetMacro(FocalDisk,
double);
283 vtkSetMacro(UseOffAxisProjection,
int);
284 vtkGetMacro(UseOffAxisProjection,
int);
285 vtkBooleanMacro(UseOffAxisProjection,
int);
291 vtkSetVector3Macro(ScreenBottomLeft,
double);
292 vtkGetVector3Macro(ScreenBottomLeft,
double);
298 vtkSetVector3Macro(ScreenBottomRight,
double);
299 vtkGetVector3Macro(ScreenBottomRight,
double);
305 vtkSetVector3Macro(ScreenTopRight,
double);
306 vtkGetVector3Macro(ScreenTopRight,
double);
312 vtkSetMacro(EyeSeparation,
double);
313 vtkGetMacro(EyeSeparation,
double);
321 void SetEyePosition(
double eyePosition[3]);
322 void GetEyePosition(
double eyePosition[3]);
327 void GetEyePlaneNormal(
double normal[3]);
340 void SetEyeTransformMatrix(
const double elements[16]);
353 void SetModelTransformMatrix(
const double elements[16]);
385 VTK_LEGACY(
virtual vtkMatrix4x4 *GetPerspectiveTransformMatrix(
double aspect,
397 virtual vtkMatrix4x4 *GetProjectionTransformMatrix(
double aspect,
426 VTK_LEGACY(
virtual vtkMatrix4x4 *GetCompositePerspectiveTransformMatrix(
440 virtual vtkMatrix4x4 *GetCompositeProjectionTransformMatrix(
double aspect,
471 unsigned long GetViewingRaysMTime();
475 void ViewingRaysModified();
484 virtual void GetFrustumPlanes(
double aspect,
double planes[24]);
488 double *GetOrientation();
489 double *GetOrientationWXYZ();
495 VTK_LEGACY(
void SetViewPlaneNormal(
double x,
double y,
double z));
496 VTK_LEGACY(
void SetViewPlaneNormal(
const double a[3]));
501 void ComputeViewPlaneNormal();
513 vtkSetMacro(LeftEye,
int);
514 vtkGetMacro(LeftEye,
int);
531 void ComputeDistance();
532 void ComputeViewTransform();
535 #ifndef VTK_LEGACY_REMOVE
538 void ComputePerspectiveTransform(
double aspect,
546 void ComputeCompositePerspectiveTransform(
double aspect,
554 void ComputeProjectionTransform(
double aspect,
561 void ComputeCompositeProjectionTransform(
double aspect,
566 void ComputeCameraLightTransform();
571 void ComputeWorldToScreenMatrix();
574 void ComputeOffAxisProjectionFrustum();
577 void ComputeModelViewMatrix();
583 double WindowCenter[2];
584 double ObliqueAngles[2];
585 double FocalPoint[3];
589 double ClippingRange[2];
597 double DirectionOfProjection[3];
598 double ViewPlaneNormal[3];
604 double ScreenBottomLeft[3];
605 double ScreenBottomRight[3];
606 double ScreenTopRight[3];
630 friend class vtkCameraCallbackCommand;