VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
vtkPerspectiveTransform Class Reference

describes a 4x4 matrix transformation More...

#include <vtkPerspectiveTransform.h>

Inheritance diagram for vtkPerspectiveTransform:
[legend]
Collaboration diagram for vtkPerspectiveTransform:
[legend]

Public Types

typedef vtkHomogeneousTransform Superclass
 
- Public Types inherited from vtkHomogeneousTransform
typedef vtkAbstractTransform Superclass
 
- Public Types inherited from vtkAbstractTransform
typedef vtkObject Superclass
 
- Public Types inherited from vtkObject
typedef vtkObjectBase Superclass
 

Public Member Functions

virtual int IsA (const char *type)
 
vtkPerspectiveTransformNewInstance () const
 
void PrintSelf (ostream &os, vtkIndent indent)
 
void Identity ()
 
void Inverse ()
 
void Perspective (double angle, double aspect, double znear, double zfar)
 
void Shear (double dxdz, double dydz, double zplane)
 
void Stereo (double angle, double focaldistance)
 
void SetupCamera (double p0, double p1, double p2, double fp0, double fp1, double fp2, double vup0, double vup1, double vup2)
 
void Concatenate (vtkHomogeneousTransform *transform)
 
vtkAbstractTransformMakeTransform ()
 
int CircuitCheck (vtkAbstractTransform *transform)
 
unsigned long GetMTime ()
 
void AdjustViewport (double oldXMin, double oldXMax, double oldYMin, double oldYMax, double newXMin, double newXMax, double newYMin, double newYMax)
 
void AdjustZBuffer (double oldNearZ, double oldFarZ, double newNearZ, double newFarZ)
 
void Ortho (double xmin, double xmax, double ymin, double ymax, double znear, double zfar)
 
void Frustum (double xmin, double xmax, double ymin, double ymax, double znear, double zfar)
 
void SetupCamera (const double position[3], const double focalpoint[3], const double viewup[3])
 
void Translate (double x, double y, double z)
 
void Translate (const double x[3])
 
void Translate (const float x[3])
 
void RotateWXYZ (double angle, double x, double y, double z)
 
void RotateWXYZ (double angle, const double axis[3])
 
void RotateWXYZ (double angle, const float axis[3])
 
void RotateX (double angle)
 
void RotateY (double angle)
 
void RotateZ (double angle)
 
void Scale (double x, double y, double z)
 
void Scale (const double s[3])
 
void Scale (const float s[3])
 
void SetMatrix (vtkMatrix4x4 *matrix)
 
void SetMatrix (const double elements[16])
 
void Concatenate (vtkMatrix4x4 *matrix)
 
void Concatenate (const double elements[16])
 
void PreMultiply ()
 
void PostMultiply ()
 
int GetNumberOfConcatenatedTransforms ()
 
vtkHomogeneousTransformGetConcatenatedTransform (int i)
 
void SetInput (vtkHomogeneousTransform *input)
 
vtkHomogeneousTransformGetInput ()
 
int GetInverseFlag ()
 
void Push ()
 
void Pop ()
 
- Public Member Functions inherited from vtkHomogeneousTransform
vtkHomogeneousTransformNewInstance () const
 
void TransformPoints (vtkPoints *inPts, vtkPoints *outPts)
 
void GetMatrix (vtkMatrix4x4 *m)
 
vtkMatrix4x4GetMatrix ()
 
virtual void TransformPointsNormalsVectors (vtkPoints *inPts, vtkPoints *outPts, vtkDataArray *inNms, vtkDataArray *outNms, vtkDataArray *inVrs, vtkDataArray *outVrs)
 
vtkHomogeneousTransformGetHomogeneousInverse ()
 
void InternalTransformPoint (const float in[3], float out[3])
 
void InternalTransformPoint (const double in[3], double out[3])
 
void InternalTransformDerivative (const float in[3], float out[3], float derivative[3][3])
 
void InternalTransformDerivative (const double in[3], double out[3], double derivative[3][3])
 
- Public Member Functions inherited from vtkAbstractTransform
vtkAbstractTransformNewInstance () const
 
doubleTransformNormalAtPoint (const double point[3], const double normal[3])
 
doubleTransformVectorAtPoint (const double point[3], const double vector[3])
 
vtkAbstractTransformGetInverse ()
 
void SetInverse (vtkAbstractTransform *transform)
 
void DeepCopy (vtkAbstractTransform *)
 
void Update ()
 
virtual void UnRegister (vtkObjectBase *O)
 
void TransformPoint (const float in[3], float out[3])
 
void TransformPoint (const double in[3], double out[3])
 
doubleTransformPoint (double x, double y, double z)
 
doubleTransformPoint (const double point[3])
 
floatTransformFloatPoint (float x, float y, float z)
 
floatTransformFloatPoint (const float point[3])
 
doubleTransformDoublePoint (double x, double y, double z)
 
doubleTransformDoublePoint (const double point[3])
 
void TransformNormalAtPoint (const float point[3], const float in[3], float out[3])
 
void TransformNormalAtPoint (const double point[3], const double in[3], double out[3])
 
doubleTransformDoubleNormalAtPoint (const double point[3], const double normal[3])
 
floatTransformFloatNormalAtPoint (const float point[3], const float normal[3])
 
void TransformVectorAtPoint (const float point[3], const float in[3], float out[3])
 
void TransformVectorAtPoint (const double point[3], const double in[3], double out[3])
 
doubleTransformDoubleVectorAtPoint (const double point[3], const double vector[3])
 
floatTransformFloatVectorAtPoint (const float point[3], const float vector[3])
 
- Public Member Functions inherited from vtkObject
vtkObjectNewInstance () const
 
virtual void DebugOn ()
 
virtual void DebugOff ()
 
bool GetDebug ()
 
void SetDebug (bool debugFlag)
 
virtual void Modified ()
 
unsigned long AddObserver (unsigned long event, vtkCommand *, float priority=0.0f)
 
unsigned long AddObserver (const char *event, vtkCommand *, float priority=0.0f)
 
vtkCommandGetCommand (unsigned long tag)
 
void RemoveObserver (vtkCommand *)
 
void RemoveObservers (unsigned long event, vtkCommand *)
 
void RemoveObservers (const char *event, vtkCommand *)
 
int HasObserver (unsigned long event, vtkCommand *)
 
int HasObserver (const char *event, vtkCommand *)
 
void RemoveObserver (unsigned long tag)
 
void RemoveObservers (unsigned long event)
 
void RemoveObservers (const char *event)
 
void RemoveAllObservers ()
 
int HasObserver (unsigned long event)
 
int HasObserver (const char *event)
 
template<class U , class T >
unsigned long AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f)
 
template<class U , class T >
unsigned long AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f)
 
template<class U , class T >
unsigned long AddObserver (unsigned long event, U observer, bool(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f)
 
int InvokeEvent (unsigned long event, void *callData)
 
int InvokeEvent (const char *event, void *callData)
 
int InvokeEvent (unsigned long event)
 
int InvokeEvent (const char *event)
 
- Public Member Functions inherited from vtkObjectBase
const char * GetClassName () const
 
virtual void Delete ()
 
virtual void FastDelete ()
 
void Print (ostream &os)
 
virtual void Register (vtkObjectBase *o)
 
void SetReferenceCount (int)
 
void PrintRevisions (ostream &)
 
virtual void PrintHeader (ostream &os, vtkIndent indent)
 
virtual void PrintTrailer (ostream &os, vtkIndent indent)
 
int GetReferenceCount ()
 

Static Public Member Functions

static vtkPerspectiveTransformNew ()
 
static int IsTypeOf (const char *type)
 
static vtkPerspectiveTransformSafeDownCast (vtkObjectBase *o)
 
- Static Public Member Functions inherited from vtkHomogeneousTransform
static int IsTypeOf (const char *type)
 
static vtkHomogeneousTransformSafeDownCast (vtkObjectBase *o)
 
- Static Public Member Functions inherited from vtkAbstractTransform
static int IsTypeOf (const char *type)
 
static vtkAbstractTransformSafeDownCast (vtkObjectBase *o)
 
- Static Public Member Functions inherited from vtkObject
static int IsTypeOf (const char *type)
 
static vtkObjectSafeDownCast (vtkObjectBase *o)
 
static vtkObjectNew ()
 
static void BreakOnError ()
 
static void SetGlobalWarningDisplay (int val)
 
static void GlobalWarningDisplayOn ()
 
static void GlobalWarningDisplayOff ()
 
static int GetGlobalWarningDisplay ()
 
- Static Public Member Functions inherited from vtkObjectBase
static int IsTypeOf (const char *name)
 
static vtkObjectBaseNew ()
 

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 
 vtkPerspectiveTransform ()
 
 ~vtkPerspectiveTransform ()
 
void InternalDeepCopy (vtkAbstractTransform *t)
 
void InternalUpdate ()
 
- Protected Member Functions inherited from vtkHomogeneousTransform
 vtkHomogeneousTransform ()
 
 ~vtkHomogeneousTransform ()
 
- Protected Member Functions inherited from vtkAbstractTransform
 vtkAbstractTransform ()
 
 ~vtkAbstractTransform ()
 
- Protected Member Functions inherited from vtkObject
 vtkObject ()
 
virtual ~vtkObject ()
 
virtual void RegisterInternal (vtkObjectBase *, int check)
 
virtual void UnRegisterInternal (vtkObjectBase *, int check)
 
void InternalGrabFocus (vtkCommand *mouseEvents, vtkCommand *keypressEvents=NULL)
 
void InternalReleaseFocus ()
 
- Protected Member Functions inherited from vtkObjectBase
 vtkObjectBase ()
 
virtual ~vtkObjectBase ()
 
virtual void CollectRevisions (ostream &)
 
virtual void ReportReferences (vtkGarbageCollector *)
 
 vtkObjectBase (const vtkObjectBase &)
 
void operator= (const vtkObjectBase &)
 

Protected Attributes

vtkHomogeneousTransformInput
 
vtkTransformConcatenationConcatenation
 
vtkTransformConcatenationStackStack
 
- Protected Attributes inherited from vtkHomogeneousTransform
vtkMatrix4x4Matrix
 
- Protected Attributes inherited from vtkAbstractTransform
float InternalFloatPoint [3]
 
double InternalDoublePoint [3]
 
- Protected Attributes inherited from vtkObject
bool Debug
 
vtkTimeStamp MTime
 
vtkSubjectHelper * SubjectHelper
 
- Protected Attributes inherited from vtkObjectBase
vtkAtomicInt32 ReferenceCount
 
vtkWeakPointerBase ** WeakPointers
 

Detailed Description

describes a 4x4 matrix transformation

A vtkPerspectiveTransform can be used to describe the full range of homogeneous transformations. It was designed in particular to describe a camera-view of a scene.

The order in which you set up the display coordinates (via AdjustZBuffer() and AdjustViewport()), the projection (via Perspective(), Frustum(), or Ortho()) and the camera view (via SetupCamera()) are important. If the transform is in PreMultiply mode, which is the default, set the Viewport and ZBuffer first, then the projection, and finally the camera view. Once the view is set up, the Translate and Rotate methods can be used to move the camera around in world coordinates. If the Oblique() or Stereo() methods are used, they should be called just before SetupCamera().

In PostMultiply mode, you must perform all transformations in the opposite order. This is necessary, for example, if you already have a perspective transformation set up but must adjust the viewport. Another example is if you have a view transformation, and wish to perform translations and rotations in the camera's coordinate system rather than in world coordinates.

The SetInput and Concatenate methods can be used to create a transformation pipeline with vtkPerspectiveTransform. See vtkTransform for more information on the transformation pipeline.

See also
vtkGeneralTransform vtkTransform vtkMatrix4x4 vtkCamera
Tests:
vtkPerspectiveTransform (Tests)

Definition at line 55 of file vtkPerspectiveTransform.h.

Member Typedef Documentation

Definition at line 59 of file vtkPerspectiveTransform.h.

Constructor & Destructor Documentation

vtkPerspectiveTransform::vtkPerspectiveTransform ( )
protected
vtkPerspectiveTransform::~vtkPerspectiveTransform ( )
protected

Member Function Documentation

static vtkPerspectiveTransform* vtkPerspectiveTransform::New ( )
static
static int vtkPerspectiveTransform::IsTypeOf ( const char *  type)
static
virtual int vtkPerspectiveTransform::IsA ( const char *  name)
virtual

Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkHomogeneousTransform.

static vtkPerspectiveTransform* vtkPerspectiveTransform::SafeDownCast ( vtkObjectBase o)
static
virtual vtkObjectBase* vtkPerspectiveTransform::NewInstanceInternal ( ) const
protectedvirtual

Reimplemented from vtkHomogeneousTransform.

vtkPerspectiveTransform* vtkPerspectiveTransform::NewInstance ( ) const
void vtkPerspectiveTransform::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
virtual

Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Reimplemented from vtkHomogeneousTransform.

void vtkPerspectiveTransform::Identity ( )
inline

Set this transformation to the identity transformation. If the transform has an Input, then the transformation will be reset so that it is the same as the Input.

Definition at line 65 of file vtkPerspectiveTransform.h.

void vtkPerspectiveTransform::Inverse ( )
inlinevirtual

Invert the transformation. This will also set a flag so that the transformation will use the inverse of its Input, if an Input has been set.

Implements vtkAbstractTransform.

Definition at line 70 of file vtkPerspectiveTransform.h.

void vtkPerspectiveTransform::AdjustViewport ( double  oldXMin,
double  oldXMax,
double  oldYMin,
double  oldYMax,
double  newXMin,
double  newXMax,
double  newYMin,
double  newYMax 
)

Perform an adjustment to the viewport coordinates. By default Ortho, Frustum, and Perspective provide a window of ([-1,+1],[-1,+1]). In PreMultiply mode, you call this method before calling Ortho, Frustum, or Perspective. In PostMultiply mode you can call it after. Note that if you must apply both AdjustZBuffer and AdjustViewport, it makes no difference which order you apply them in.

void vtkPerspectiveTransform::AdjustZBuffer ( double  oldNearZ,
double  oldFarZ,
double  newNearZ,
double  newFarZ 
)

Perform an adjustment to the Z-Buffer range that the near and far clipping planes map to. By default Ortho, Frustum, and Perspective map the near clipping plane to -1 and the far clipping plane to +1. In PreMultiply mode, you call this method before calling Ortho, Frustum, or Perspective. In PostMultiply mode you can call it after.

void vtkPerspectiveTransform::Ortho ( double  xmin,
double  xmax,
double  ymin,
double  ymax,
double  znear,
double  zfar 
)

Create an orthogonal projection matrix and concatenate it by the current transformation. The matrix maps [xmin,xmax], [ymin,ymax], [-znear,-zfar] to [-1,+1], [-1,+1], [+1,-1].

void vtkPerspectiveTransform::Frustum ( double  xmin,
double  xmax,
double  ymin,
double  ymax,
double  znear,
double  zfar 
)

Create an perspective projection matrix and concatenate it by the current transformation. The matrix maps a frustum with a back plane at -zfar and a front plane at -znear with extent [xmin,xmax],[ymin,ymax] to [-1,+1], [-1,+1], [+1,-1].

void vtkPerspectiveTransform::Perspective ( double  angle,
double  aspect,
double  znear,
double  zfar 
)

Create a perspective projection matrix by specifying the view angle (this angle is in the y direction), the aspect ratio, and the near and far clipping range. The projection matrix is concatenated with the current transformation. This method works via Frustum.

void vtkPerspectiveTransform::Shear ( double  dxdz,
double  dydz,
double  zplane 
)

Create a shear transformation about a plane at distance z from the camera. The values dxdz (i.e. dx/dz) and dydz specify the amount of shear in the x and y directions. The 'zplane' specifies the distance from the camera to the plane at which the shear causes zero displacement. Generally you want this plane to be the focal plane. This transformation can be used in combination with Ortho to create an oblique projection. It can also be used in combination with Perspective to provide correct stereo views when the eye is at arbitrary but known positions relative to the center of a flat viewing screen.

void vtkPerspectiveTransform::Stereo ( double  angle,
double  focaldistance 
)

Create a stereo shear matrix and concatenate it with the current transformation. This can be applied in conjunction with either a perspective transformation (via Frustum or Projection) or an orthographic projection. You must specify the distance from the camera plane to the focal plane, and the angle between the distance vector and the eye. The angle should be negative for the left eye, and positive for the right. This method works via Oblique.

void vtkPerspectiveTransform::SetupCamera ( const double  position[3],
const double  focalpoint[3],
const double  viewup[3] 
)

Set a view transformation matrix for the camera (this matrix does not contain any perspective) and concatenate it with the current transformation.

void vtkPerspectiveTransform::SetupCamera ( double  p0,
double  p1,
double  p2,
double  fp0,
double  fp1,
double  fp2,
double  vup0,
double  vup1,
double  vup2 
)
void vtkPerspectiveTransform::Translate ( double  x,
double  y,
double  z 
)
inline

Create a translation matrix and concatenate it with the current transformation according to PreMultiply or PostMultiply semantics.

Definition at line 154 of file vtkPerspectiveTransform.h.

void vtkPerspectiveTransform::Translate ( const double  x[3])
inline

Create a translation matrix and concatenate it with the current transformation according to PreMultiply or PostMultiply semantics.

Definition at line 156 of file vtkPerspectiveTransform.h.

void vtkPerspectiveTransform::Translate ( const float  x[3])
inline

Create a translation matrix and concatenate it with the current transformation according to PreMultiply or PostMultiply semantics.

Definition at line 157 of file vtkPerspectiveTransform.h.

void vtkPerspectiveTransform::RotateWXYZ ( double  angle,
double  x,
double  y,
double  z 
)
inline

Create a rotation matrix and concatenate it with the current transformation according to PreMultiply or PostMultiply semantics. The angle is in degrees, and (x,y,z) specifies the axis that the rotation will be performed around.

Definition at line 165 of file vtkPerspectiveTransform.h.

void vtkPerspectiveTransform::RotateWXYZ ( double  angle,
const double  axis[3] 
)
inline

Create a rotation matrix and concatenate it with the current transformation according to PreMultiply or PostMultiply semantics. The angle is in degrees, and (x,y,z) specifies the axis that the rotation will be performed around.

Definition at line 167 of file vtkPerspectiveTransform.h.

void vtkPerspectiveTransform::RotateWXYZ ( double  angle,
const float  axis[3] 
)
inline

Create a rotation matrix and concatenate it with the current transformation according to PreMultiply or PostMultiply semantics. The angle is in degrees, and (x,y,z) specifies the axis that the rotation will be performed around.

Definition at line 169 of file vtkPerspectiveTransform.h.

void vtkPerspectiveTransform::RotateX ( double  angle)
inline

Create a rotation matrix about the X, Y, or Z axis and concatenate it with the current transformation according to PreMultiply or PostMultiply semantics. The angle is expressed in degrees.

Definition at line 177 of file vtkPerspectiveTransform.h.

void vtkPerspectiveTransform::RotateY ( double  angle)
inline

Create a rotation matrix about the X, Y, or Z axis and concatenate it with the current transformation according to PreMultiply or PostMultiply semantics. The angle is expressed in degrees.

Definition at line 178 of file vtkPerspectiveTransform.h.

void vtkPerspectiveTransform::RotateZ ( double  angle)
inline

Create a rotation matrix about the X, Y, or Z axis and concatenate it with the current transformation according to PreMultiply or PostMultiply semantics. The angle is expressed in degrees.

Definition at line 179 of file vtkPerspectiveTransform.h.

void vtkPerspectiveTransform::Scale ( double  x,
double  y,
double  z 
)
inline

Create a scale matrix (i.e. set the diagonal elements to x, y, z) and concatenate it with the current transformation according to PreMultiply or PostMultiply semantics.

Definition at line 186 of file vtkPerspectiveTransform.h.

void vtkPerspectiveTransform::Scale ( const double  s[3])
inline

Create a scale matrix (i.e. set the diagonal elements to x, y, z) and concatenate it with the current transformation according to PreMultiply or PostMultiply semantics.

Definition at line 188 of file vtkPerspectiveTransform.h.

void vtkPerspectiveTransform::Scale ( const float  s[3])
inline

Create a scale matrix (i.e. set the diagonal elements to x, y, z) and concatenate it with the current transformation according to PreMultiply or PostMultiply semantics.

Definition at line 189 of file vtkPerspectiveTransform.h.

void vtkPerspectiveTransform::SetMatrix ( vtkMatrix4x4 matrix)
inline

Set the current matrix directly. This actually calls Identity(), followed by Concatenate(matrix).

Definition at line 195 of file vtkPerspectiveTransform.h.

void vtkPerspectiveTransform::SetMatrix ( const double  elements[16])
inline

Set the current matrix directly. This actually calls Identity(), followed by Concatenate(matrix).

Definition at line 197 of file vtkPerspectiveTransform.h.

void vtkPerspectiveTransform::Concatenate ( vtkMatrix4x4 matrix)
inline

Concatenates the matrix with the current transformation according to PreMultiply or PostMultiply semantics.

Definition at line 204 of file vtkPerspectiveTransform.h.

void vtkPerspectiveTransform::Concatenate ( const double  elements[16])
inline

Concatenates the matrix with the current transformation according to PreMultiply or PostMultiply semantics.

Definition at line 206 of file vtkPerspectiveTransform.h.

void vtkPerspectiveTransform::Concatenate ( vtkHomogeneousTransform transform)

Concatenate the specified transform with the current transformation according to PreMultiply or PostMultiply semantics. The concatenation is pipelined, meaning that if any of the transformations are changed, even after Concatenate() is called, those changes will be reflected when you call TransformPoint().

void vtkPerspectiveTransform::PreMultiply ( )
inline

Sets the internal state of the transform to PreMultiply. All subsequent operations will occur before those already represented in the current transformation. In homogeneous matrix notation, M = M*A where M is the current transformation matrix and A is the applied matrix. The default is PreMultiply.

Definition at line 223 of file vtkPerspectiveTransform.h.

void vtkPerspectiveTransform::PostMultiply ( )
inline

Sets the internal state of the transform to PostMultiply. All subsequent operations will occur after those already represented in the current transformation. In homogeneous matrix notation, M = A*M where M is the current transformation matrix and A is the applied matrix. The default is PreMultiply.

Definition at line 234 of file vtkPerspectiveTransform.h.

int vtkPerspectiveTransform::GetNumberOfConcatenatedTransforms ( )
inline

Get the total number of transformations that are linked into this one via Concatenate() operations or via SetInput().

Definition at line 242 of file vtkPerspectiveTransform.h.

vtkHomogeneousTransform* vtkPerspectiveTransform::GetConcatenatedTransform ( int  i)
inline

Get one of the concatenated transformations as a vtkAbstractTransform. These transformations are applied, in series, every time the transformation of a coordinate occurs. This method is provided to make it possible to decompose a transformation into its constituents, for example to save a transformation to a file.

Definition at line 253 of file vtkPerspectiveTransform.h.

void vtkPerspectiveTransform::SetInput ( vtkHomogeneousTransform input)

Set the input for this transformation. This will be used as the base transformation if it is set. This method allows you to build a transform pipeline: if the input is modified, then this transformation will automatically update accordingly. Note that the InverseFlag, controlled via Inverse(), determines whether this transformation will use the Input or the inverse of the Input.

vtkHomogeneousTransform* vtkPerspectiveTransform::GetInput ( )
inline

Set the input for this transformation. This will be used as the base transformation if it is set. This method allows you to build a transform pipeline: if the input is modified, then this transformation will automatically update accordingly. Note that the InverseFlag, controlled via Inverse(), determines whether this transformation will use the Input or the inverse of the Input.

Definition at line 288 of file vtkPerspectiveTransform.h.

int vtkPerspectiveTransform::GetInverseFlag ( )
inline

Get the inverse flag of the transformation. This controls whether it is the Input or the inverse of the Input that is used as the base transformation. The InverseFlag is flipped every time Inverse() is called. The InverseFlag is off when a transform is first created.

Definition at line 296 of file vtkPerspectiveTransform.h.

void vtkPerspectiveTransform::Push ( )
inline

Pushes the current transformation onto the transformation stack.

Definition at line 302 of file vtkPerspectiveTransform.h.

void vtkPerspectiveTransform::Pop ( )
inline

Deletes the transformation on the top of the stack and sets the top to the next transformation on the stack.

Definition at line 311 of file vtkPerspectiveTransform.h.

vtkAbstractTransform* vtkPerspectiveTransform::MakeTransform ( )
virtual

Make a new transform of the same type – you are responsible for deleting the transform when you are done with it.

Implements vtkAbstractTransform.

int vtkPerspectiveTransform::CircuitCheck ( vtkAbstractTransform transform)
virtual

Check for self-reference. Will return true if concatenating with the specified transform, setting it to be our inverse, or setting it to be our input will create a circular reference. CircuitCheck is automatically called by SetInput(), SetInverse(), and Concatenate(vtkXTransform *). Avoid using this function, it is experimental.

Reimplemented from vtkAbstractTransform.

unsigned long vtkPerspectiveTransform::GetMTime ( )
virtual

Override GetMTime to account for input and concatenation.

Reimplemented from vtkAbstractTransform.

void vtkPerspectiveTransform::InternalDeepCopy ( vtkAbstractTransform )
protectedvirtual

Perform any subclass-specific DeepCopy.

Reimplemented from vtkHomogeneousTransform.

void vtkPerspectiveTransform::InternalUpdate ( )
protectedvirtual

Perform any subclass-specific Update.

Reimplemented from vtkAbstractTransform.

Member Data Documentation

vtkHomogeneousTransform* vtkPerspectiveTransform::Input
protected

Definition at line 338 of file vtkPerspectiveTransform.h.

vtkTransformConcatenation* vtkPerspectiveTransform::Concatenation
protected

Definition at line 339 of file vtkPerspectiveTransform.h.

vtkTransformConcatenationStack* vtkPerspectiveTransform::Stack
protected

Definition at line 340 of file vtkPerspectiveTransform.h.


The documentation for this class was generated from the following file: