Assimp  v3.1.1 (June 2014)
Assimp::ScenePreprocessor Class Reference

ScenePreprocessor: Preprocess a scene before any post-processing steps are executed. More...

Public Member Functions

void ProcessScene ()
 Preprocess the current scene. More...
 
 ScenePreprocessor ()
 Default c'tpr. More...
 
 ScenePreprocessor (aiScene *_scene)
 Constructs the object and assigns a specific scene to it. More...
 
void SetScene (aiScene *sc)
 Assign a (new) scene to the object. More...
 

Protected Member Functions

void ProcessAnimation (aiAnimation *anim)
 Preprocess an animation in the scene. More...
 
void ProcessMesh (aiMesh *mesh)
 Preprocess a mesh in the scene. More...
 

Protected Attributes

aiScenescene
 Scene we're currently working on. More...
 

Friends

class ::ScenePreprocessorTest
 

Detailed Description

ScenePreprocessor: Preprocess a scene before any post-processing steps are executed.

The step computes data that needn't necessarily be provided by the importer, such as aiMesh::mPrimitiveTypes.

Constructor & Destructor Documentation

Assimp::ScenePreprocessor::ScenePreprocessor ( )
inline

Default c'tpr.

Use SetScene() to assign a scene to the object.

Assimp::ScenePreprocessor::ScenePreprocessor ( aiScene _scene)
inline

Constructs the object and assigns a specific scene to it.

Member Function Documentation

void ScenePreprocessor::ProcessAnimation ( aiAnimation anim)
protected

Preprocess an animation in the scene.

Parameters
animAnim to be preprocessed.
void ScenePreprocessor::ProcessMesh ( aiMesh mesh)
protected

Preprocess a mesh in the scene.

Parameters
meshMesh to be preprocessed.
void ScenePreprocessor::ProcessScene ( )

Preprocess the current scene.

void Assimp::ScenePreprocessor::SetScene ( aiScene sc)
inline

Assign a (new) scene to the object.

One 'SceneProcessor' can be used for multiple scenes. Call ProcessScene to have the scene preprocessed.

Parameters
scScene to be processed.

Friends And Related Function Documentation

friend class ::ScenePreprocessorTest
friend

Member Data Documentation

aiScene* Assimp::ScenePreprocessor::scene
protected

Scene we're currently working on.


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