Assimp  v4.1. (December 2018)
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

◆ ScenePreprocessor() [1/2]

Assimp::ScenePreprocessor::ScenePreprocessor ( )
inline

Default c'tpr.

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

◆ ScenePreprocessor() [2/2]

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

Constructs the object and assigns a specific scene to it.

Member Function Documentation

◆ ProcessAnimation()

void ScenePreprocessor::ProcessAnimation ( aiAnimation anim)
protected

Preprocess an animation in the scene.

Parameters
animAnim to be preprocessed.

◆ ProcessMesh()

void ScenePreprocessor::ProcessMesh ( aiMesh mesh)
protected

Preprocess a mesh in the scene.

Parameters
meshMesh to be preprocessed.

◆ ProcessScene()

void ScenePreprocessor::ProcessScene ( )

Preprocess the current scene.

◆ SetScene()

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

◆ ::ScenePreprocessorTest

friend class ::ScenePreprocessorTest
friend

Member Data Documentation

◆ scene

aiScene* Assimp::ScenePreprocessor::scene
protected

Scene we're currently working on.


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