|
VTK
|
represent and manipulate 3x3 transformation matrices More...
#include <vtkMatrix3x3.h>


Public Types | |
| typedef vtkObject | Superclass |
Public Types inherited from vtkObject | |
| typedef vtkObjectBase | Superclass |
Public Member Functions | |
| virtual const char * | GetClassName () |
| virtual int | IsA (const char *type) |
| void | PrintSelf (ostream &os, vtkIndent indent) |
| void | SetElement (int i, int j, double value) |
| double * | operator[] (const unsigned int i) |
| const double * | operator[] (unsigned int i) const |
| bool | operator== (const vtkMatrix3x3 &) |
| bool | operator!= (const vtkMatrix3x3 &) |
| void | Adjoint (vtkMatrix3x3 &in, vtkMatrix3x3 &out) |
| double | Determinant (vtkMatrix3x3 &in) |
| double | Determinant (vtkMatrix3x3 *in) |
| void | Invert (vtkMatrix3x3 &in, vtkMatrix3x3 &out) |
| void | Transpose (vtkMatrix3x3 &in, vtkMatrix3x3 &out) |
| bool | IsIdentity () |
| double * | GetData () |
| void | DeepCopy (const double Elements[9]) |
| void | MultiplyPoint (const float in[3], float out[3]) |
| void | MultiplyPoint (const double in[3], double out[3]) |
| double | GetElement (int i, int j) const |
Public Member Functions inherited from vtkObject | |
| virtual void | DebugOn () |
| virtual void | DebugOff () |
| unsigned char | GetDebug () |
| void | SetDebug (unsigned char debugFlag) |
| virtual void | Modified () |
| virtual unsigned long | GetMTime () |
| unsigned long | AddObserver (unsigned long event, vtkCommand *, float priority=0.0f) |
| unsigned long | AddObserver (const char *event, vtkCommand *, float priority=0.0f) |
| vtkCommand * | GetCommand (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) |
| virtual void | UnRegister (vtkObjectBase *o) |
| void | SetReferenceCount (int) |
| void | PrintRevisions (ostream &os) |
| virtual void | PrintHeader (ostream &os, vtkIndent indent) |
| virtual void | PrintTrailer (ostream &os, vtkIndent indent) |
| int | GetReferenceCount () |
Static Public Member Functions | |
| static vtkMatrix3x3 * | New () |
| static int | IsTypeOf (const char *type) |
| static vtkMatrix3x3 * | SafeDownCast (vtkObject *o) |
| static void | MultiplyPoint (const double Elements[9], const float in[3], float out[3]) |
| static void | MultiplyPoint (const double Elements[9], const double in[3], double out[3]) |
| static void | PointMultiply (const double Elements[9], const float in[3], float out[3]) |
| static void | PointMultiply (const double Elements[9], const double in[3], double out[3]) |
| static void | Multiply3x3 (vtkMatrix3x3 *a, vtkMatrix3x3 *b, vtkMatrix3x3 *c) |
| static void | Multiply3x3 (const double a[9], const double b[9], double c[9]) |
Static Public Member Functions inherited from vtkObject | |
| static void | BreakOnError () |
| static void | SetGlobalWarningDisplay (int val) |
| static void | GlobalWarningDisplayOn () |
| static void | GlobalWarningDisplayOff () |
| static int | GetGlobalWarningDisplay () |
Protected Member Functions | |
| vtkMatrix3x3 () | |
| ~vtkMatrix3x3 () | |
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 &os) |
| virtual void | ReportReferences (vtkGarbageCollector *) |
| vtkObjectBase (const vtkObjectBase &) | |
| void | operator= (const vtkObjectBase &) |
Protected Attributes | |
| double | Element [3][3] |
Protected Attributes inherited from vtkObject | |
| unsigned char | Debug |
| vtkTimeStamp | MTime |
| vtkSubjectHelper * | SubjectHelper |
Protected Attributes inherited from vtkObjectBase | |
| int | ReferenceCount |
| vtkWeakPointerBase ** | WeakPointers |
| static void | DeepCopy (double Elements[9], vtkMatrix3x3 *source) |
| static void | DeepCopy (double Elements[9], const double newElements[9]) |
| void | DeepCopy (vtkMatrix3x3 *source) |
| static void | Zero (double Elements[9]) |
| void | Zero () |
| static void | Identity (double Elements[9]) |
| void | Identity () |
| static void | Invert (vtkMatrix3x3 *in, vtkMatrix3x3 *out) |
| static void | Invert (const double inElements[9], double outElements[9]) |
| void | Invert () |
| static void | Transpose (vtkMatrix3x3 *in, vtkMatrix3x3 *out) |
| static void | Transpose (const double inElements[9], double outElements[9]) |
| void | Transpose () |
| static void | Adjoint (const double inElements[9], double outElements[9]) |
| void | Adjoint (vtkMatrix3x3 *in, vtkMatrix3x3 *out) |
| static double | Determinant (const double Elements[9]) |
| double | Determinant () |
represent and manipulate 3x3 transformation matrices
vtkMatrix3x3 is a class to represent and manipulate 3x3 matrices. Specifically, it is designed to work on 3x3 transformation matrices found in 2D rendering using homogeneous coordinates [x y w].
Definition at line 34 of file vtkMatrix3x3.h.
| typedef vtkObject vtkMatrix3x3::Superclass |
Definition at line 49 of file vtkMatrix3x3.h.
|
protected |
|
protected |
|
static |
Construct a 3x3 identity matrix.
Reimplemented from vtkObject.
|
virtual |
Reimplemented from vtkObject.
|
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 vtkObject.
|
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 vtkObject.
|
static |
Reimplemented from vtkObject.
|
virtual |
|
inline |
Set the elements of the matrix to the same values as the elements of the source Matrix.
Definition at line 55 of file vtkMatrix3x3.h.
|
inlinestatic |
Set the elements of the matrix to the same values as the elements of the source Matrix.
Definition at line 58 of file vtkMatrix3x3.h.
Set the elements of the matrix to the same values as the elements of the source Matrix.
|
inline |
Non-static member function. Assigns from elements array
Definition at line 66 of file vtkMatrix3x3.h.
|
inline |
Set all of the elements to zero.
Definition at line 72 of file vtkMatrix3x3.h.
|
static |
Set all of the elements to zero.
|
inline |
Set equal to Identity matrix
Definition at line 81 of file vtkMatrix3x3.h.
|
static |
Set equal to Identity matrix
|
inlinestatic |
Matrix Inversion (adapted from Richard Carling in "Graphics Gems," Academic Press, 1990).
Definition at line 91 of file vtkMatrix3x3.h.
|
inline |
Matrix Inversion (adapted from Richard Carling in "Graphics Gems," Academic Press, 1990).
Definition at line 93 of file vtkMatrix3x3.h.
Matrix Inversion (adapted from Richard Carling in "Graphics Gems," Academic Press, 1990).
|
inlinestatic |
Transpose the matrix and put it into out.
Definition at line 103 of file vtkMatrix3x3.h.
|
inline |
Transpose the matrix and put it into out.
Definition at line 105 of file vtkMatrix3x3.h.
Transpose the matrix and put it into out.
Multiply a homogeneous coordinate by this matrix, i.e. out = A*in. The in[3] and out[3] can be the same array.
Definition at line 115 of file vtkMatrix3x3.h.
Multiply a homogeneous coordinate by this matrix, i.e. out = A*in. The in[3] and out[3] can be the same array.
Definition at line 117 of file vtkMatrix3x3.h.
|
static |
|
static |
|
inlinestatic |
Multiplies matrices a and b and stores the result in c (c=a*b).
Definition at line 130 of file vtkMatrix3x3.h.
Multiplies matrices a and b and stores the result in c (c=a*b).
|
inline |
Compute adjoint of the matrix and put it into out.
Definition at line 140 of file vtkMatrix3x3.h.
Compute adjoint of the matrix and put it into out.
|
inline |
Compute the determinant of the matrix and return it.
Definition at line 149 of file vtkMatrix3x3.h.
Compute the determinant of the matrix and return it.
Sets the element i,j in the matrix.
Definition at line 207 of file vtkMatrix3x3.h.
Returns the element i,j from the matrix.
Definition at line 160 of file vtkMatrix3x3.h.
Definition at line 165 of file vtkMatrix3x3.h.
Definition at line 167 of file vtkMatrix3x3.h.
|
inline |
Definition at line 231 of file vtkMatrix3x3.h.
|
inline |
Definition at line 246 of file vtkMatrix3x3.h.
|
inline |
Definition at line 171 of file vtkMatrix3x3.h.
|
inline |
Definition at line 173 of file vtkMatrix3x3.h.
|
inline |
Definition at line 175 of file vtkMatrix3x3.h.
|
inline |
Definition at line 177 of file vtkMatrix3x3.h.
|
inline |
Definition at line 179 of file vtkMatrix3x3.h.
|
static |
|
static |
|
inline |
Definition at line 216 of file vtkMatrix3x3.h.
|
inline |
Return a pointer to the first element of the matrix (double[9]).
Definition at line 192 of file vtkMatrix3x3.h.
|
protected |
Definition at line 199 of file vtkMatrix3x3.h.
1.8.1.2