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)
 
C3DObject * GetNewPolygonalObject ()
 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.
 
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 ()
 

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: