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

Public Types | |
| enum | DynamicVariableType { TypeFloat, TypeInteger, TypeBoolean } |
| Dynamic variable type. More... | |
Public Member Functions | |
| RmDynamicVariable () | |
| Default constructor. | |
| virtual | ~RmDynamicVariable () |
| 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 () |
| virtual void | SetName (const RM_TCHAR *strNewName) |
| Set node name to the given string. | |
| void | SetDynamicVariableType (DynamicVariableType dynamicVariableType) |
| Set dynamic variable type to given type. | |
| DynamicVariableType | GetDynamicVariableType () |
| Retrieve dynamic variable type. | |
| int | GetDynamicVariableTypeElementSize () |
| Retrieve element size. | |
| int | GetDynamicVariableTypeElementSize (DynamicVariableType dynamicVariableType) |
| Element size. | |
| void | SetIsNormalized (bool bIsNormalized) |
| Specify whether the variable should be normalized. | |
| bool | IsNormalized () |
| Retrieve whether this variable should be normalized. | |
| int | GetNumRows () |
| Number of rows. | |
| int | GetNumColumns () |
| Number of columns. | |
| void | SetNumRows (int nRows) |
| Set number of rows. | |
| void | SetNumColumns (int nColumns) |
| Set number of columns. | |
| void | SetIsClamped (bool bIsClamped) |
| Set is clamped flag. | |
| bool | IsClamped () |
| Retrieve whether this variable is clamped or not. | |
| void | SetIsFixedSize (bool bIsFixedSize) |
| Set whether this dynamic variable size cannot be modified. | |
| bool | IsFixedSize () |
| Retrieve whether this variable is of fixed size. | |
| void | SetFloatMinMax (float fMin, float fMax) |
| Set Min/Max. | |
| void | SetIntegerMinMax (int nMin, int nMax) |
| Set Min/Max. | |
| void | SetBooleanMinMax (BOOL bMin, BOOL bMax) |
| Set Min/Max. | |
| void | GetFloatMinMax (float &fMin, float &fMax) |
| Get Min/Max. | |
| void | GetIntegerMinMax (int &nMin, int &nMax) |
| Get Min/Max. | |
| void | GetBooleanMinMax (BOOL &bMin, BOOL &bMax) |
| Get Min/Max. | |
| void | SetFloatData (int nRow, int nCol, float fData) |
| Set Data. | |
| void | SetIntegerData (int nRow, int nCol, int nData) |
| Set Data. | |
| void | SetBooleanData (int nRow, int nCol, BOOL bData) |
| Set Data. | |
| float | GetFloatData (int nRow, int nCol) |
| GetFloat Data. | |
| int | GetIntegerData (int nRow, int nCol) |
| GetInteger Data. | |
| BOOL | GetBooleanData (int nRow, int nCol) |
| GetBoolean Data. | |
| float * | GetFloatDataBlock () |
| GetFloat Data. | |
| int * | GetIntegerDataBlock () |
| GetInteger Data. | |
| BOOL * | GetBooleanDataBlock () |
| GetBoolean Data. | |
Protected Member Functions | |
| virtual void | CopyNodeData (RmNode *pDestinationNode, bool bIncludeLoadedData) |
| CopyNode Data. | |
| virtual RmNodeTypeChildRuleList * | GetNodeTypeChildRuleList () |
| Parent / Child rule list function. | |
| virtual void | SetNodeTypeChildRuleList (RmNodeTypeChildRuleList *pRmNodeChildRuleList) |
| Sets the node child rule list for the given node. | |
| void | ConvertDynamicData (void *pDestData, DynamicVariableType destDataType, void *pSourceData, DynamicVariableType sourceDataType) |
| Convert dynamic data. | |
| int | FloatToInt (float fValue) |
| Conversion from float value to integer. | |
| void * | GetDataPointer (void *pData, DynamicVariableType dataType, int nRowIndex, int nColumnIndex) |
| Data pointer helper function. | |
| void * | GetDataPointer (void *pData, DynamicVariableType dataType, int nRowIndex, int nColumnIndex, int nNumRows, int nNumColumns) |
| Data pointer helper function. | |
| bool | LoadXMLDataValues (int hDoc, const RM_TCHAR *strXPath, const RM_TCHAR *strRmXMLVersion) |
| Load from XML. | |
| bool | SaveXMLDataValues (int hDoc, const RM_TCHAR *strXPath) |
| Save to XML. | |
Protected Attributes | |
| DynamicVariableType | m_dynamicVariableType |
| Data Type DynamicVariableType. | |
| int | m_nRows |
| Number of Rows. | |
| int | m_nColumns |
| Number of columns. | |
| void * | m_pDynamicVariableData |
| Data. | |
| bool | m_bIsFixedSize |
| Is Fixed Size Flag. | |
| bool | m_bIsClamped |
| Clamped flag. | |
| bool | m_bIsNormalized |
| normalized Flag | |
| void * | m_pDynamicVariableMin |
| Min Value for clamping. | |
| void * | m_pDynamicVariableMax |
| Max Value for clamping. | |
RmDynamicVariable is class for n x m typed variables
|
|
Dynamic variable type. Supported dynamic variable types |
|
|
Default constructor. Default constructor |
|
|
Destructor. Destructor |
|
|
Clone this node. Creates a clone of this node
Reimplemented from RmNode. |
|
||||||||||||||||||||
|
Convert dynamic data. Type conversion helper function
|
|
||||||||||||
|
CopyNode Data. Copies this node's contents (not including children) into the destination node. See RmNode::CopyNodeData for details
Reimplemented from RmVariable. |
|
|
Conversion from float value to integer. Convert a float value to integer value
|
|
||||||||||||
|
GetBoolean Data. Get Boolean Data
|
|
|
GetBoolean Data. Retrieve a contiguous boolean data block
|
|
||||||||||||
|
Get Min/Max. Get Min/Max values
|
|
||||||||||||||||||||||||||||
|
Data pointer helper function. Data pointer helper function
|
|
||||||||||||||||||||
|
Data pointer helper function. Data pointer helper function
|
|
|
Returns description of the node: used for displaying a tooltip in the workspace tree view for the given node
Reimplemented from RmNode. |
|
|
Retrieve dynamic variable type. Retrieve dynamic variable type
|
|
|
Element size. Retrieve element size for this dynamic variable
|
|
|
Retrieve element size. Get element size
|
|
||||||||||||
|
GetFloat Data. Get float data from this dynamic variable
|
|
|
GetFloat Data. Retrieve a contiguous float data block
|
|
||||||||||||
|
Get Min/Max. Get Min/Max values
|
|
||||||||||||
|
GetInteger Data. Get Integer Data
|
|
|
GetInteger Data. Retrieve a contiguous integer data block
|
|
||||||||||||
|
Get Min/Max. Get Min/Max values
|
|
|
Parent / Child rule list function. Retrieves the rule list for adding child nodes for a given node type
Reimplemented from RmVariable. |
|
|
Number of columns. Get number of columns
|
|
|
Number of rows. Get number of rows of rows |
|
|
Retrieve whether this variable is clamped or not. Return whether this variable is clamped (true) or not (false)
|
|
|
Retrieve whether this variable is of fixed size. Retrieves whether this dynamic variable has constrained (fixed) dimensions or whether its dimensions can be modified by the user directly
|
|
|
Retrieve whether this variable should be normalized. Retrieve whether this variable should be normalized. Returns true if it is, false if it isn't
|
|
||||||||||||||||
|
Load node data from XML. Loading versioned XML node data.
Reimplemented from RmVariable. |
|
||||||||||||||||
|
Load from XML. Loading versioned XML node data values.
|
|
||||||||||||
|
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. |
|
||||||||||||
|
Save to XML. Saving versioned XML node data values.
|
|
||||||||||||||||
|
Set Data. Set data for this variable
|
|
||||||||||||
|
Set Min/Max. Set Min/Max values
|
|
|
Set dynamic variable type to given type. Set dynamic variable type to given type
|
|
||||||||||||||||
|
Set Data. Set data for this variable
|
|
||||||||||||
|
Set Min/Max. Set Min/Max values
|
|
||||||||||||||||
|
Set Data. Set data for this variable
|
|
||||||||||||
|
Set Min/Max. Set Min/Max values
|
|
|
Set is clamped flag. Set IsClamped flag for this variable
|
|
|
Set whether this dynamic variable size cannot be modified. Set IsFixed size - setting this flag to true constraints the dynamic variable's dimensions to be of the current size, and not changeable by the user via the dynamic variable editor.
|
|
|
Specify whether the variable should be normalized. Specify whether the variable should be normalized
|
|
|
Set node name to the given string. Set the name of the node to the specified value
Reimplemented from RmNode. |
|
|
Sets the node child rule list for the given node. Sets the child addition rule list for the given node.
Reimplemented from RmVariable. |
|
|
Set number of columns. Set number of columns
|
|
|
Set number of rows. Set number of rows
|
|
||||||||||||
|
Update. Updates the values of this vector
Reimplemented from RmNode. |
1.3.6