![]() |
Polygon Crucher SDK - Documentation
Documentation
|
This class converts an usual C3DScene to a C3DScene containing object that can be used by CSceneOptimizer. More...
This class converts an usual C3DScene to a C3DScene containing object that can be used by CSceneOptimizer.
The class is provided to C3DScene::Copy. Use the PolygonCruncherObjectCreatorFlags accordingly to the type of optimization you want to perform.
#include <PolygonCruncherInterface.h>
Public Member Functions | |
C3DPolygonCruncherObjectCreator (PolygonCruncherObjectCreatorFlags creationFlag) | |
C3DObject * | GetNewPolygonalObject () |
Creates a C3DObject with the appropriate required face list and point list classes. | |
![]() | |
C3DObjectCreator (C3DScene *scene=NULL) | |
Destination scene to which the element is copied. | |
virtual bool | CanProcess (const C3DSceneNode *node, const C3DBaseObject *object) |
Return true if the node and its object should be copied / converted. | |
C3DScene * | GetScene () const |
Set the scene to which the copied object will belong to. The element GUID is updated. | |
void | SetScene (C3DScene *scene) |
Set the scene to which the copied object will belong to. The element GUID is updated. | |
CCustomData & | GetCustomData () |
Can be used to store some information. | |
virtual C3DCurve * | GetNewCurveObject () |
virtual C3DGroup * | GetNewGroupObject () |
virtual C3DDummy * | GetNewDummy () |
virtual C3DCamera * | GetNewCamera () |
virtual C3DLight * | GetNewLight () |
|
virtual |
Creates a C3DObject with the appropriate required face list and point list classes.
Reimplemented from C3DObjectCreator.