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

Public Member Functions | |
| RmModelData () | |
| Default Constructor. | |
| RmModelData (const RM_TCHAR *strName, const RM_TCHAR *strFileName) | |
| Constructor. | |
| virtual | ~RmModelData () |
| 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 bool | IsNodeValid () |
| Is node valid. | |
| void | SetFileName (const RM_TCHAR *strFileName, bool bUpdateDatabase=true) |
| Set filename. | |
| const RmStringT & | GetFileName () |
| Get filename. | |
| void | GetFullFileName (RM_TCHAR *strFullPath, int nSize) |
| Get full filename. | |
| bool | LoadModel () |
| Load model. | |
| bool | CreateMeshModelContainer () |
| Create MeshModel container. | |
| RmMeshModelContainer * | GetMeshContainer () |
| Get model container. | |
| const RmMeshModelContainer * | GetMeshContainer () const |
| Get model container. | |
| void | SetOrientation (RmModelOrientation modelOrientation) |
| Set Orientation. | |
| RmModelOrientation | GetOrientation () |
| Get Orientation. | |
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 | |
| RmStringT | m_strFileName |
| Name of the file that the model data points to. | |
| RmMeshModelContainer * | m_pModelContainer |
| Model Container RmMeshModelContainer. | |
| bool | m_bModelLoaded |
| Flag for if model is loaded. | |
| RmModelOrientation | m_modelOrientation |
| The model orientation. | |
RmModelData structure stores the raw model data loaded by a RmModelPlugin this data is unprocessed and not renderable. RmModelData can be combined with a RmStreamMap to create a renderable RmModel
|
|
Default Constructor. Default constructor |
|
||||||||||||
|
Constructor. Creates a new model data instance with a given name and given file name
|
|
|
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 RmNode. |
|
|
Create MeshModel container. Create ModelContainer
|
|
|
Returns description of the node: used for displaying a tooltip in the workspace tree view for the given node.
Reimplemented from RmNode. |
|
|
Get filename. Retrieve file name
|
|
||||||||||||
|
Get full filename. Retrieve full file name, corrected for RenderMonkey's relative paths, etc.
|
|
|
Get model container. Retrieve ModelContainer
|
|
|
Get model container. Retrieve ModelContainer
|
|
|
Parent / Child rule list function. Retrieves the rule list for adding child nodes for a given node type
Reimplemented from RmNode. |
|
|
Get Orientation. Gets the orientation of the model
|
|
|
Is node valid. Node valid property
Reimplemented from RmNode. |
|
|
Load model. LoadModel
|
|
||||||||||||||||
|
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 RmNode. |
|
||||||||||||
|
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 RmNode. |
|
||||||||||||
|
Set filename. Set model file name to the specified name
|
|
|
Sets the node child rule list for the given node. Sets the child addition rule list for the given node.
Reimplemented from RmNode. |
|
|
Set Orientation. Sets the orientation of the model
|
|
||||||||||||
|
Update. Updates the internal values of the node
Reimplemented from RmNode. |
1.3.6