#include <RmPlugIn.h>
Inheritance diagram for IRmGeometryLoaderPlugIn:

Public Member Functions | |
| virtual void | GetSupportedExtensions (RmLinkedList< RmStringT > &formatDescriptions, RmLinkedList< RmStringT > &formatExtensions)=0 |
| virtual bool | CanLoadGeometry (const RM_TCHAR *strFileName)=0 |
| virtual bool | LoadGeometry (const RM_TCHAR *strFileName, RmMeshModelContainer *pModelContainer)=0 |
This plug-in type is used by the main application to import geometry data from a supported file format into RenderMonkey model data node. The plug-in must use RM_PLUGINTYPE_GEOMETRY_LOADER in its plug-in data description structure.
|
|
This method lets the main application know whether the plug-in that implements the geometry loader interface can load a specified file described by the given file name.
|
|
||||||||||||
|
This method is used to query a geometry loader plug-in about the file types that it supports for importing geometry models. The file types are identified by their extensions, returned in a list 'formatExtensions'. The 'formatDescriptions' list is used to store descriptions of the supported file formats. For example, if a plug-in implementing this interface supports importing 3DStudioMax geometry, it would report ".3DS" in its list of extentions and "3DS StudioMax geometry file" in its list of file format descriptions list. The format descriptions are going to be displayed in the FileOpen dialog when the model data will be loaded by using this geometry plug-in. Note: the number of entries for format extensions and descriptions must match.
|
|
||||||||||||
|
Load geometry object(s) from the given file described by the specified file name ('strFileName') into a given geometry model data container ('pModelContainer').
|
1.3.6