VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions
vtkIdentityTransform Class Reference

a transform that doesn't do anything More...

#include <vtkIdentityTransform.h>

Inheritance diagram for vtkIdentityTransform:
Inheritance graph
[legend]
Collaboration diagram for vtkIdentityTransform:
Collaboration graph
[legend]

List of all members.

Public Types

typedef vtkLinearTransform Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkIdentityTransformNewInstance () const
void PrintSelf (ostream &os, vtkIndent indent)
void TransformPoints (vtkPoints *inPts, vtkPoints *outPts)
void TransformNormals (vtkDataArray *inNms, vtkDataArray *outNms)
void TransformVectors (vtkDataArray *inVrs, vtkDataArray *outVrs)
void Inverse ()
vtkAbstractTransformMakeTransform ()
void TransformPointsNormalsVectors (vtkPoints *inPts, vtkPoints *outPts, vtkDataArray *inNms, vtkDataArray *outNms, vtkDataArray *inVrs, vtkDataArray *outVrs)
void InternalTransformPoint (const float in[3], float out[3])
void InternalTransformPoint (const double in[3], double out[3])
void InternalTransformNormal (const float in[3], float out[3])
void InternalTransformNormal (const double in[3], double out[3])
void InternalTransformVector (const float in[3], float out[3])
void InternalTransformVector (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])

Static Public Member Functions

static vtkIdentityTransformNew ()
static int IsTypeOf (const char *type)
static vtkIdentityTransformSafeDownCast (vtkObjectBase *o)

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkIdentityTransform ()
 ~vtkIdentityTransform ()
void InternalDeepCopy (vtkAbstractTransform *t)

Detailed Description

a transform that doesn't do anything

vtkIdentityTransform is a transformation which will simply pass coordinate data unchanged. All other transform types can also do this, however, the vtkIdentityTransform does so with much greater efficiency.

See also:
vtkLinearTransform
Tests:
vtkIdentityTransform (Tests)

Definition at line 34 of file vtkIdentityTransform.h.


Member Typedef Documentation

Reimplemented from vtkLinearTransform.

Definition at line 39 of file vtkIdentityTransform.h.


Constructor & Destructor Documentation


Member Function Documentation

Create an object with Debug turned off, modified time initialized to zero, and reference counting on.

Reimplemented from vtkObject.

static int vtkIdentityTransform::IsTypeOf ( const char *  name) [static]

Return 1 if this class type 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 vtkLinearTransform.

virtual int vtkIdentityTransform::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 vtkLinearTransform.

Reimplemented from vtkLinearTransform.

virtual vtkObjectBase* vtkIdentityTransform::NewInstanceInternal ( ) const [protected, virtual]

Reimplemented from vtkLinearTransform.

Reimplemented from vtkLinearTransform.

void vtkIdentityTransform::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 vtkLinearTransform.

void vtkIdentityTransform::TransformPoints ( vtkPoints inPts,
vtkPoints outPts 
) [virtual]

Apply the transformation to a series of points, and append the results to outPts.

Reimplemented from vtkLinearTransform.

void vtkIdentityTransform::TransformNormals ( vtkDataArray inNms,
vtkDataArray outNms 
) [virtual]

Apply the transformation to a series of normals, and append the results to outNms.

Reimplemented from vtkLinearTransform.

void vtkIdentityTransform::TransformVectors ( vtkDataArray inVrs,
vtkDataArray outVrs 
) [virtual]

Apply the transformation to a series of vectors, and append the results to outVrs.

Reimplemented from vtkLinearTransform.

void vtkIdentityTransform::TransformPointsNormalsVectors ( vtkPoints inPts,
vtkPoints outPts,
vtkDataArray inNms,
vtkDataArray outNms,
vtkDataArray inVrs,
vtkDataArray outVrs 
) [virtual]

Apply the transformation to a combination of points, normals and vectors.

Reimplemented from vtkLinearTransform.

void vtkIdentityTransform::Inverse ( ) [inline, virtual]

Invert the transformation.

Implements vtkAbstractTransform.

Definition at line 67 of file vtkIdentityTransform.h.

void vtkIdentityTransform::InternalTransformPoint ( const float  in[3],
float  out[3] 
) [virtual]

This will calculate the transformation without calling Update. Meant for use only within other VTK classes.

Reimplemented from vtkLinearTransform.

void vtkIdentityTransform::InternalTransformPoint ( const double  in[3],
double  out[3] 
) [virtual]

This will calculate the transformation without calling Update. Meant for use only within other VTK classes.

Reimplemented from vtkLinearTransform.

void vtkIdentityTransform::InternalTransformNormal ( const float  in[3],
float  out[3] 
) [virtual]

This will calculate the transformation without calling Update. Meant for use only within other VTK classes.

Reimplemented from vtkLinearTransform.

void vtkIdentityTransform::InternalTransformNormal ( const double  in[3],
double  out[3] 
) [virtual]

This will calculate the transformation without calling Update. Meant for use only within other VTK classes.

Reimplemented from vtkLinearTransform.

void vtkIdentityTransform::InternalTransformVector ( const float  in[3],
float  out[3] 
) [virtual]

This will calculate the transformation without calling Update. Meant for use only within other VTK classes.

Reimplemented from vtkLinearTransform.

void vtkIdentityTransform::InternalTransformVector ( const double  in[3],
double  out[3] 
) [virtual]

This will calculate the transformation without calling Update. Meant for use only within other VTK classes.

Reimplemented from vtkLinearTransform.

void vtkIdentityTransform::InternalTransformDerivative ( const float  in[3],
float  out[3],
float  derivative[3][3] 
) [virtual]

This will calculate the transformation as well as its derivative without calling Update. Meant for use only within other VTK classes.

Reimplemented from vtkLinearTransform.

void vtkIdentityTransform::InternalTransformDerivative ( const double  in[3],
double  out[3],
double  derivative[3][3] 
) [virtual]

This will calculate the transformation as well as its derivative without calling Update. Meant for use only within other VTK classes.

Reimplemented from vtkLinearTransform.

Make a transform of the same type. This will actually return the same transform.

Implements vtkAbstractTransform.

Perform any subclass-specific DeepCopy.

Reimplemented from vtkHomogeneousTransform.


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