VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
vtkMatrixToHomogeneousTransform Class Reference

convert a matrix to a transform More...

#include <vtkMatrixToHomogeneousTransform.h>

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

List of all members.

Public Types

typedef vtkHomogeneousTransform Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkMatrixToHomogeneousTransformNewInstance () const
void PrintSelf (ostream &os, vtkIndent indent)
virtual void SetInput (vtkMatrix4x4 *)
virtual vtkMatrix4x4GetInput ()
void Inverse ()
unsigned long GetMTime ()
vtkAbstractTransformMakeTransform ()

Static Public Member Functions

static
vtkMatrixToHomogeneousTransform
New ()
static int IsTypeOf (const char *type)
static
vtkMatrixToHomogeneousTransform
SafeDownCast (vtkObjectBase *o)

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkMatrixToHomogeneousTransform ()
 ~vtkMatrixToHomogeneousTransform ()
void InternalUpdate ()
void InternalDeepCopy (vtkAbstractTransform *transform)

Protected Attributes

int InverseFlag
vtkMatrix4x4Input

Detailed Description

convert a matrix to a transform

This is a very simple class which allows a vtkMatrix4x4 to be used in place of a vtkHomogeneousTransform or vtkAbstractTransform. For example, if you use it as a proxy between a matrix and vtkTransformPolyDataFilter then any modifications to the matrix will automatically be reflected in the output of the filter.

See also:
vtkPerspectiveTransform vtkMatrix4x4 vtkMatrixToLinearTransform
Tests:
vtkMatrixToHomogeneousTransform (Tests)

Definition at line 39 of file vtkMatrixToHomogeneousTransform.h.


Member Typedef Documentation

Reimplemented from vtkHomogeneousTransform.

Definition at line 43 of file vtkMatrixToHomogeneousTransform.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 vtkMatrixToHomogeneousTransform::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 vtkHomogeneousTransform.

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

Reimplemented from vtkHomogeneousTransform.

Reimplemented from vtkHomogeneousTransform.

Reimplemented from vtkHomogeneousTransform.

void vtkMatrixToHomogeneousTransform::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.

The input matrix is left as-is, but the transformation matrix is inverted.

Implements vtkAbstractTransform.

unsigned long vtkMatrixToHomogeneousTransform::GetMTime ( ) [virtual]

Get the MTime: this is the bit of magic that makes everything work.

Reimplemented from vtkAbstractTransform.

Make a new transform of the same type.

Implements vtkAbstractTransform.

void vtkMatrixToHomogeneousTransform::InternalUpdate ( ) [protected, virtual]

Perform any subclass-specific Update.

Reimplemented from vtkAbstractTransform.

Perform any subclass-specific DeepCopy.

Reimplemented from vtkHomogeneousTransform.


Member Data Documentation

Definition at line 68 of file vtkMatrixToHomogeneousTransform.h.

Definition at line 69 of file vtkMatrixToHomogeneousTransform.h.


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