![]() |
Hot Door CORE 0.8.3
Adobe® Illustrator® Plug-in Library
|
Allows for 2-dimensional transformations in a single application via matrix math. More...
#include <hdicoreTransformMatrix.h>
Public Member Functions | |
| TransformMatrix () | |
| Constructs a TransformMatrix and sets its entries to that of an identity matrix. | |
| TransformMatrix (const double a_, const double b_, const double c_, const double d_, const double tx_, const double ty_) | |
| Constructs a TransformMatrix and sets its entries to the arguments provided. | |
| TransformMatrix (const TransformMatrix &m_) | |
| TransformMatrix copy constructor. | |
| virtual | ~TransformMatrix () |
| TransformMatrix destructor. | |
| virtual void | setIdentity () |
| Sets a TransformMatrix object's entries to that of an identity matrix. | |
| virtual bool | isIdentity () const |
| Gets whether a TransformMatrix currently has its entries set to that of an identity matrix. | |
| virtual void | setTranslate (const double tx_, const double ty_) |
| Sets the translation values of a matrix. | |
| virtual void | setRotate (const Angle &angle_) |
| Sets the rotation values, about the origin, of a matrix. | |
| virtual void | setReflect (const Angle &angle_) |
| Sets the reflection values, about the origin, of a matrix. | |
| virtual void | setScale (const double sx_, const double sy_) |
| Sets the scale values, from the origin, of a matrix. | |
| virtual void | concatTranslate (const double tx_, const double ty_) |
| Concatenates translation values to an existing matrix. | |
| virtual void | concatRotate (const Angle &angle_) |
| Concatenates rotation values to an existing matrix. | |
| virtual void | concatReflect (const Angle &angle_) |
| Concatenates reflection values to an existing matrix. | |
| virtual void | concatScale (const double sx_, const double sy_) |
| Concatenates scale values to an existing matrix. | |
| virtual void | concat (const TransformMatrix &matrix2_) |
| Concatenates one matrix with another. | |
| virtual double | determinant () const |
| Gets the determinant of the target matrix. | |
| virtual bool | degenerate () const |
| Gets whether the target matrix is degenerate. | |
| virtual bool | invert (TransformMatrix &inverse__) const |
| Inverts a target matrix. | |
| virtual bool | operator== (const TransformMatrix &rhs_) const |
| Compares two matrices for equality. | |
| virtual bool | operator!= (const TransformMatrix &rhs_) const |
| Compares two matrices for inequality. | |
| virtual TransformMatrix & | operator= (const TransformMatrix &rhs_) |
| Sets a target matrix to have the same values as another. | |
| virtual TransformMatrix | operator* (const TransformMatrix &rhs_) const |
| Multiplies two matrices together. | |
| virtual TransformMatrix & | operator*= (const TransformMatrix &rhs_) |
| Multiplies and assigns (concatenates) one matrix with another. | |
Friends | |
| aip::TransformMatrix * | __accessImpl (const TransformMatrix &) |
| TransformMatrix | __accessCtor (const aip::TransformMatrix &) |
Allows for 2-dimensional transformations in a single application via matrix math.
| hdi::core::TransformMatrix::TransformMatrix | ( | ) |
Constructs a TransformMatrix and sets its entries to that of an identity matrix.
| hdi::core::TransformMatrix::TransformMatrix | ( | const double | a_, |
| const double | b_, | ||
| const double | c_, | ||
| const double | d_, | ||
| const double | tx_, | ||
| const double | ty_ | ||
| ) |
Constructs a TransformMatrix and sets its entries to the arguments provided.
| a_ | Value for entry at row 0, column 0 |
| b_ | Value for entry at row 0, column 1 |
| c_ | Value for entry at row 1, column 0 |
| d_ | Value for entry at row 1, column 1 |
| tx_ | x-axis translation (offset) value |
| ty_ | y-axis translation (offset) value |
| hdi::core::TransformMatrix::TransformMatrix | ( | const TransformMatrix & | m_ | ) |
|
virtual |
TransformMatrix destructor.
|
virtual |
Concatenates one matrix with another.
| matrix2_ | Second matrix to concatenate with the target matrix |
|
virtual |
Concatenates reflection values to an existing matrix.
| angle_ | Hyperplane angle about which to reflect |
|
virtual |
Concatenates rotation values to an existing matrix.
| angle_ | Amount to rotate about the origin |
|
virtual |
Concatenates scale values to an existing matrix.
| sx_ | Amount to scale in the x-direction (1.0 being the current size) |
| sy_ | Amount to scale in the y-direction (1.0 being the current size) |
|
virtual |
Concatenates translation values to an existing matrix.
| tx_ | Amount to offset along the x-axis |
| ty_ | Amount to offset along the y-axis |
|
virtual |
Gets whether the target matrix is degenerate.
|
virtual |
Gets the determinant of the target matrix.
|
virtual |
Inverts a target matrix.
If the inverse of the target matrix were concatenated with the target itself, the result would be an identity matrix
| inverse__ | Return-by-reference variable for the inverted matrix |
|
virtual |
Gets whether a TransformMatrix currently has its entries set to that of an identity matrix.
|
virtual |
Compares two matrices for inequality.
| rhs_ | Righthand side of the != operator; the matrix to compare against |
|
virtual |
Multiplies two matrices together.
| rhs_ | Righthand side of the * operator; the matrix to multiply with |
|
virtual |
Multiplies and assigns (concatenates) one matrix with another.
| rhs_ | Righthand side of the *= operator; the matrix to multiply with |
|
virtual |
Sets a target matrix to have the same values as another.
| rhs_ | Righthand side of the = operator; the matrix to pull values from |
|
virtual |
Compares two matrices for equality.
| rhs_ | Righthand side of the == operator; the matrix to compare against |
|
virtual |
Sets a TransformMatrix object's entries to that of an identity matrix.
|
virtual |
Sets the reflection values, about the origin, of a matrix.
| angle_ | Hyperplane angle about which to reflect |
|
virtual |
Sets the rotation values, about the origin, of a matrix.
| angle_ | Amount to rotate about the origin |
|
virtual |
Sets the scale values, from the origin, of a matrix.
| sx_ | Amount to scale in the x-direction (1.0 being the current size) |
| sy_ | Amount to scale in the y-direction (1.0 being the current size) |
|
virtual |
Sets the translation values of a matrix.
| tx_ | Amount to offset along the x-axis |
| ty_ | Amount to offset along the y-axis |