|
Assimp
v4.1. (December 2018)
|
The FindInvalidData post-processing step. More...
Inherits Assimp::BaseProcess.
Public Member Functions | |
| void | Execute (aiScene *pScene) |
| Executes the post processing step on the given imported data. More... | |
| FindInvalidDataProcess () | |
| bool | IsActive (unsigned int pFlags) const |
| Returns whether the processing step is present in the given flag. More... | |
| void | ProcessAnimation (aiAnimation *anim) |
| Executes the post-processing step on the given animation. More... | |
| void | ProcessAnimationChannel (aiNodeAnim *anim) |
| Executes the post-processing step on the given anim channel. More... | |
| int | ProcessMesh (aiMesh *pMesh) |
| Executes the post-processing step on the given mesh. More... | |
| void | SetupProperties (const Importer *pImp) |
| Called prior to ExecuteOnScene(). More... | |
| ~FindInvalidDataProcess () | |
Public Member Functions inherited from Assimp::BaseProcess | |
| BaseProcess () AI_NO_EXCEPT | |
| 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 | ~BaseProcess () |
| Destructor, private as well. More... | |
Additional Inherited Members | |
Protected Attributes inherited from Assimp::BaseProcess | |
| ProgressHandler * | progress |
| Currently active progress handler. More... | |
| SharedPostProcessInfo * | shared |
| See the doc of #SharedPostProcessInfo for more details. More... | |
The FindInvalidData post-processing step.
It searches the mesh data for parts that are obviously invalid and removes them.
Originally this was a workaround for some models written by Blender which have zero normal vectors.
| FindInvalidDataProcess::FindInvalidDataProcess | ( | ) |
| FindInvalidDataProcess::~FindInvalidDataProcess | ( | ) |
|
virtual |
Executes the post processing step on the given imported data.
A process should throw an ImportErrorException* if it fails. This method must be implemented by deriving classes.
| pScene | The imported data to work at. |
Implements Assimp::BaseProcess.
|
virtual |
Returns whether the processing step is present in the given flag.
| pFlags | The processing flags the importer was called with. A bitwise combination of aiPostProcessSteps. |
Implements Assimp::BaseProcess.
| void FindInvalidDataProcess::ProcessAnimation | ( | aiAnimation * | anim | ) |
Executes the post-processing step on the given animation.
| anim | The animation to process. |
| void FindInvalidDataProcess::ProcessAnimationChannel | ( | aiNodeAnim * | anim | ) |
Executes the post-processing step on the given anim channel.
| anim | The animation channel to process. |
| int FindInvalidDataProcess::ProcessMesh | ( | aiMesh * | pMesh | ) |
Executes the post-processing step on the given mesh.
| pMesh | The mesh to process. |
|
virtual |
Called prior to ExecuteOnScene().
The function is a request to the process to update its configuration basing on the Importer's configuration property list.
Reimplemented from Assimp::BaseProcess.