VTK
|
convert a matrix to a transform More...
#include <vtkMatrixToLinearTransform.h>
Public Types | |
typedef vtkLinearTransform | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkMatrixToLinearTransform * | NewInstance () const |
void | PrintSelf (ostream &os, vtkIndent indent) |
void | Inverse () |
unsigned long | GetMTime () |
vtkAbstractTransform * | MakeTransform () |
virtual void | SetInput (vtkMatrix4x4 *) |
virtual vtkMatrix4x4 * | GetInput () |
Static Public Member Functions | |
static vtkMatrixToLinearTransform * | New () |
static int | IsTypeOf (const char *type) |
static vtkMatrixToLinearTransform * | SafeDownCast (vtkObjectBase *o) |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkMatrixToLinearTransform () | |
~vtkMatrixToLinearTransform () | |
void | InternalUpdate () |
void | InternalDeepCopy (vtkAbstractTransform *transform) |
Protected Attributes | |
int | InverseFlag |
vtkMatrix4x4 * | Input |
convert a matrix to a transform
This is a very simple class which allows a vtkMatrix4x4 to be used in place of a vtkLinearTransform 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.
Definition at line 39 of file vtkMatrixToLinearTransform.h.
Reimplemented from vtkLinearTransform.
Definition at line 43 of file vtkMatrixToLinearTransform.h.
vtkMatrixToLinearTransform::vtkMatrixToLinearTransform | ( | ) | [protected] |
vtkMatrixToLinearTransform::~vtkMatrixToLinearTransform | ( | ) | [protected] |
static vtkMatrixToLinearTransform* vtkMatrixToLinearTransform::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkObject.
static int vtkMatrixToLinearTransform::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 vtkMatrixToLinearTransform::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.
static vtkMatrixToLinearTransform* vtkMatrixToLinearTransform::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkLinearTransform.
virtual vtkObjectBase* vtkMatrixToLinearTransform::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkLinearTransform.
Reimplemented from vtkLinearTransform.
void vtkMatrixToLinearTransform::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.
virtual void vtkMatrixToLinearTransform::SetInput | ( | vtkMatrix4x4 * | ) | [virtual] |
Set the input matrix. Any modifications to the matrix will be reflected in the transformation.
virtual vtkMatrix4x4* vtkMatrixToLinearTransform::GetInput | ( | ) | [virtual] |
Set the input matrix. Any modifications to the matrix will be reflected in the transformation.
void vtkMatrixToLinearTransform::Inverse | ( | ) | [virtual] |
The input matrix is left as-is, but the transformation matrix is inverted.
Implements vtkAbstractTransform.
unsigned long vtkMatrixToLinearTransform::GetMTime | ( | ) | [virtual] |
Get the MTime: this is the bit of magic that makes everything work.
Reimplemented from vtkAbstractTransform.
vtkAbstractTransform* vtkMatrixToLinearTransform::MakeTransform | ( | ) | [virtual] |
Make a new transform of the same type.
Implements vtkAbstractTransform.
void vtkMatrixToLinearTransform::InternalUpdate | ( | ) | [protected, virtual] |
Perform any subclass-specific Update.
Reimplemented from vtkAbstractTransform.
void vtkMatrixToLinearTransform::InternalDeepCopy | ( | vtkAbstractTransform * | ) | [protected, virtual] |
Perform any subclass-specific DeepCopy.
Reimplemented from vtkHomogeneousTransform.
int vtkMatrixToLinearTransform::InverseFlag [protected] |
Definition at line 70 of file vtkMatrixToLinearTransform.h.
vtkMatrix4x4* vtkMatrixToLinearTransform::Input [protected] |
Definition at line 71 of file vtkMatrixToLinearTransform.h.