Polygon Crucher SDK - Documentation
Documentation
Loading...
Searching...
No Matches
C3DPolygonCruncherObjectCreator Class Reference

This class converts an usual C3DScene to a C3DScene containing object that can be used by CSceneOptimizer. More...

Detailed Description

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>

Inheritance diagram for C3DPolygonCruncherObjectCreator:
C3DObjectCreator

Public Member Functions

 C3DPolygonCruncherObjectCreator (PolygonCruncherObjectCreatorFlags creationFlag)
 
C3DObjectGetNewPolygonalObject ()
 Creates a C3DObject with the appropriate required face list and point list classes.
 
- Public Member Functions inherited from C3DObjectCreator
 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.
 
C3DSceneGetScene () 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.
 
CCustomDataGetCustomData ()
 Can be used to store some information.
 
virtual C3DCurveGetNewCurveObject ()
 
virtual C3DGroupGetNewGroupObject ()
 
virtual C3DDummyGetNewDummy ()
 
virtual C3DCameraGetNewCamera ()
 
virtual C3DLightGetNewLight ()
 

Member Function Documentation

◆ GetNewPolygonalObject()

C3DObject * C3DPolygonCruncherObjectCreator::GetNewPolygonalObject ( )
virtual

Creates a C3DObject with the appropriate required face list and point list classes.

Reimplemented from C3DObjectCreator.


The documentation for this class was generated from the following file: