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

Public Member Functions | |
| RmIntegerVariable () | |
| Default Constructor. | |
| RmIntegerVariable (int nValue) | |
| Constructor. | |
| RmIntegerVariable (int nValue, bool bClamp, int nMin, int nMax) | |
| Constructor. | |
| virtual | ~RmIntegerVariable () |
| 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 () |
| int | GetValue () |
| Get value. | |
| void | SetValue (int nValue) |
| Set value. | |
| bool | IsClamped () |
| Clamp flag. | |
| void | SetIsClamped (bool bClamp) |
| Set clamp flag. | |
| int | GetMin () |
| Get min. | |
| int | GetMax () |
| Get max. | |
| void | SetMin (int nMin) |
| Set min. | |
| void | SetMax (int nMax) |
| Set max. | |
| void | SetMinMax (int nMin, int nMax) |
| Set min & max. | |
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 | |
| int | m_nValue |
| The integer value stored in this node. | |
| int | m_nMin |
| The min and max bounds for this variable. | |
| int | m_nMax |
| bool | m_bClamp |
| Will this variable be clamped? | |
RmInteger is a single SCALAR INTEGER value
|
|
Default Constructor. Default constructor: creates a new integer variable with value = 0, not clamped (although clamping range is set to be [-10, 10] by default ) |
|
|
Constructor. Creates an integer node with a given value, not clamped (although clamping range is set to be [-10, 10] by default )
|
|
||||||||||||||||||||
|
Constructor. Creates a new integer node with a given value, clamping range and specifies whether it is supposed to be automatically clamped to the range.
|
|
|
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. |
|
|
Returns description of the node: used for displaying a tooltip in the workspace tree view for the given node. Returns the value of the node
Reimplemented from RmNode. |
|
|
Get max. Specify the upper bound for clamping
|
|
|
Get min. Specify the lower bound for clamping
|
|
|
Parent / Child rule list function. Retrieves the rule list for adding child nodes for a given node type
Reimplemented from RmVariable. |
|
|
Get value. Retrieve the value of this integer node
|
|
|
Clamp flag. Retrieve whether the variable is clamped
|
|
||||||||||||||||
|
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. |
|
|
Set clamp flag. Set whether this variable is clamped
|
|
|
Set max. Set the upper bound for clamping
|
|
|
Set min. Set the lower bound for clamping
|
|
||||||||||||
|
Set min & max. Set the clamping bounds
|
|
|
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 the value for this integer node
|
|
||||||||||||
|
Update. Updates the internal values of the node
Reimplemented from RmNode. |
1.3.6