#include <RmEffect.h>
Inheritance diagram for RmMatrixVariable:

Public Member Functions | |
| RmMatrixVariable () | |
| Default constructor. | |
| RmMatrixVariable (float fMatrix[16]) | |
| Default constructor. | |
| virtual | ~RmMatrixVariable () |
| Destructor. | |
| virtual void | Update (RmNodeUpdateType nodeUpdateType, RmNode *pRmUpdateRootNode) |
| Update. | |
| virtual bool | LoadXMLData (int hDoc, const RM_TCHAR *strXPath, const RM_TCHAR *strRmXMLVersion) |
| Load node data from XML. | |
| virtual bool | SaveXMLData (int hDoc, const RM_TCHAR *strXPath) |
| Save node data to XML. | |
| virtual RmNode * | Clone (bool bIncludeLoadedData) |
| Clone this node. | |
| virtual const RM_TCHAR * | GetDescription () |
| float * | GetData () |
| Get data. | |
| float | GetValue (int nIndex) |
| Get value. | |
| float | GetValue (int nRowIndex, int nColumnIndex) |
| Get value. | |
| void | SetValue (int nIndex, float fValue) |
| Set value. | |
| void | SetValue (int nRowIndex, int nColumnIndex, float fValue) |
| Set value. | |
| void | SetValues (float fMatrix[16]) |
| Set values. | |
| int | GetNumElements () |
| Get number of elements. | |
Protected Member Functions | |
| virtual void | CopyNodeData (RmNode *pDestinationNode, bool bIncludeLoadedData) |
| Copy node data. | |
| virtual RmNodeTypeChildRuleList * | GetNodeTypeChildRuleList () |
| Parent / Child rule list function. | |
| virtual void | SetNodeTypeChildRuleList (RmNodeTypeChildRuleList *pRmNodeChildRuleList) |
| Sets the node child rule list for the given node. | |
Protected Attributes | |
| float | m_fValues [16] |
| The actual values stored in this matrix:. | |
RmMatrix is a MATRIX of 4x4 float values
|
|
Default constructor. Default constructor - creates an identity matrix variable |
|
|
Default constructor. Default constructor - Creates a new matrix with 16 initialized components |
|
|
Destructor. Destructor |
|
|
Clone this node. Creates a clone of this node
Reimplemented from RmNode. |
|
||||||||||||
|
Copy node data. Copies this node's contents (not including children) into the destination node. See RmNode::CopyNodeData for details
Reimplemented from RmVariable. |
|
|
Get data. Returns a pointer to the data values stored in the matrix
|
|
|
Returns description of the node: used for displaying a tooltip in the workspace tree view for the given node. Returns description of the matrix node: 4 rows of values
Reimplemented from RmNode. |
|
|
Parent / Child rule list function. Retrieves the rule list for adding child nodes for a given node type
Reimplemented from RmVariable. |
|
|
Get number of elements. Returns the number of elements in this matrix node
|
|
||||||||||||
|
Get value. Retrieve a value from the matrix by its row and column indices
|
|
|
Get value. Retrieve a value by its single nIndex
|
|
||||||||||||||||
|
Load node data from XML. Loads versioned XML node data. Note that this method will only load the contents of each node, not the data for all of the children nodes. Each child will have its own XML loading function called by the API.
Reimplemented from RmVariable. |
|
||||||||||||
|
Save node data to XML. Saves node's contents to XML. Note that this method will only save the contents of each node, not the data for all of the children nodes. Each child will have its own XML saving function called by the API.
Reimplemented from RmVariable. |
|
|
Sets the node child rule list for the given node. Sets the child addition rule list for the given node.
Reimplemented from RmVariable. |
|
||||||||||||||||
|
Set value. Set a specific value in the matrix node given a row and column indices
|
|
||||||||||||
|
Set value. Set a specific value in the matrix node
|
|
|
Set values. Set all 16 values for the 4x4 matrix
|
|
||||||||||||
|
Update. Updates the internal values of the node
Reimplemented from RmNode. |
1.3.6