Assimp
v4.1. (December 2018)
|
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 () | |
![]() | |
BaseProcess () | |
Constructor to be privately used by Importer. More... | |
void | ExecuteOnScene (Importer *pImp) |
Executes the post processing step on the given imported data. More... | |
SharedPostProcessInfo * | GetSharedData () |
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 | |
![]() | |
ProgressHandler * | progress |
Currently active progress handler. More... | |
SharedPostProcessInfo * | shared |
See the doc of #SharedPostProcessInfo for more details. More... | |
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.
MakeVerboseFormatProcess::MakeVerboseFormatProcess | ( | ) |
MakeVerboseFormatProcess::~MakeVerboseFormatProcess | ( | ) |
|
virtual |
Executes the post processing step on the given imported data.
At the moment a process is not supposed to fail.
pScene | The imported data to work at. |
Implements Assimp::BaseProcess.
|
inlinevirtual |
Returns whether the processing step is present in the given flag field.
pFlags | The processing flags the importer was called with. A bitwise combination of aiPostProcessSteps. |
Implements Assimp::BaseProcess.