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

MakeVerboseFormatProcess: Class to convert an asset to the verbose format which is expected by most postprocess steps. More...

Inherits Assimp::BaseProcess.

Public Member Functions

void Execute (aiScene *pScene)
 Executes the post processing step on the given imported data. More...
 
bool IsActive (unsigned int) const
 Returns whether the processing step is present in the given flag field. More...
 
 MakeVerboseFormatProcess ()
 
 ~MakeVerboseFormatProcess ()
 
- Public Member Functions inherited from Assimp::BaseProcess
 BaseProcess ()
 Constructor to be privately used by Importer. More...
 
void ExecuteOnScene (Importer *pImp)
 Executes the post processing step on the given imported data. More...
 
SharedPostProcessInfoGetSharedData ()
 Get the shared data that is assigned to the step. More...
 
virtual bool RequireVerboseFormat () const
 Check whether this step expects its input vertex data to be in verbose format. More...
 
void SetSharedData (SharedPostProcessInfo *sh)
 Assign a new SharedPostProcessInfo to the step. More...
 
virtual void SetupProperties (const Importer *pImp)
 Called prior to ExecuteOnScene(). More...
 
virtual ~BaseProcess ()
 Destructor, private as well. More...
 

Additional Inherited Members

- Protected Attributes inherited from Assimp::BaseProcess
ProgressHandlerprogress
 Currently active progress handler. More...
 
SharedPostProcessInfoshared
 See the doc of #SharedPostProcessInfo for more details. More...
 

Detailed Description

MakeVerboseFormatProcess: Class to convert an asset to the verbose format which is expected by most postprocess steps.

This is the inverse of what the "JoinIdenticalVertices" step is doing. This step has no official flag (since it wouldn't make sense to run it during import). It is intended for applications intending to modify the returned aiScene. After this step has been executed, they can execute other postprocess steps on the data. The code might also be useful to quickly adapt code that doesn't result in a verbose representation of the scene data. The step has been added because it was required by the viewer, however it has been moved to the main library since others might find it useful, too.

Constructor & Destructor Documentation

MakeVerboseFormatProcess::MakeVerboseFormatProcess ( )
MakeVerboseFormatProcess::~MakeVerboseFormatProcess ( )

Member Function Documentation

void MakeVerboseFormatProcess::Execute ( aiScene pScene)
virtual

Executes the post processing step on the given imported data.

At the moment a process is not supposed to fail.

Parameters
pSceneThe imported data to work at.

Implements Assimp::BaseProcess.

bool Assimp::MakeVerboseFormatProcess::IsActive ( unsigned int  ) const
inlinevirtual

Returns whether the processing step is present in the given flag field.

Parameters
pFlagsThe processing flags the importer was called with. A bitwise combination of aiPostProcessSteps.
Returns
true if the process is present in this flag fields, false if not

Implements Assimp::BaseProcess.


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