48#ifndef vtkPerspectiveTransform_h
49#define vtkPerspectiveTransform_h
51#include "vtkCommonTransformsModule.h"
93 void AdjustViewport(
double oldXMin,
double oldXMax,
double oldYMin,
double oldYMax,
94 double newXMin,
double newXMax,
double newYMin,
double newYMax);
103 void AdjustZBuffer(
double oldNearZ,
double oldFarZ,
double newNearZ,
double newFarZ);
110 void Ortho(
double xmin,
double xmax,
double ymin,
double ymax,
double znear,
double zfar);
118 void Frustum(
double xmin,
double xmax,
double ymin,
double ymax,
double znear,
double zfar);
126 void Perspective(
double angle,
double aspect,
double znear,
double zfar);
141 void Shear(
double dxdz,
double dydz,
double zplane);
153 void Stereo(
double angle,
double focaldistance);
160 void SetupCamera(
const double position[3],
const double focalpoint[3],
const double viewup[3]);
162 void SetupCamera(
double p0,
double p1,
double p2,
double fp0,
double fp1,
double fp2,
double vup0,
163 double vup1,
double vup2);
188 this->
RotateWXYZ(angle, axis[0], axis[1], axis[2]);
192 this->
RotateWXYZ(angle, axis[0], axis[1], axis[2]);
214 void Scale(
const double s[3]) { this->
Scale(s[0], s[1], s[2]); }
215 void Scale(
const float s[3]) { this->
Scale(s[0], s[1], s[2]); }
289 return this->
Concatenation->GetNumberOfTransforms() + (this->
Input ==
nullptr ? 0 : 1);
303 if (this->
Input ==
nullptr)
307 else if (i < this->
Concatenation->GetNumberOfPreTransforms())
311 else if (i > this->
Concatenation->GetNumberOfPreTransforms())
317 t = this->
Input->GetInverse();
355 if (this->
Stack ==
nullptr)
371 if (this->
Stack ==
nullptr)
a simple class to control print indentation
represent and manipulate 4x4 transformation matrices
double Element[4][4]
The internal data is public for historical reasons. Do not use!
virtual void Modified()
Update the modification time for this object.
vtkTypeUInt32 vtkMTimeType