Assimp
v3.1.1 (June 2014)
|
The GenFaceNormalsProcess computes vertex normals for all vertizes. More...
Inherits Assimp::BaseProcess.
Public Member Functions | |
void | Execute (aiScene *pScene) |
Executes the post processing step on the given imported data. More... | |
bool | GenMeshVertexNormals (aiMesh *pcMesh, unsigned int meshIndex) |
Computes normals for a specific mesh. More... | |
GenVertexNormalsProcess () | |
bool | IsActive (unsigned int pFlags) const |
Returns whether the processing step is present in the given flag. More... | |
void | SetMaxSmoothAngle (float f) |
void | SetupProperties (const Importer *pImp) |
Called prior to ExecuteOnScene(). More... | |
~GenVertexNormalsProcess () | |
![]() | |
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 | ~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... | |
The GenFaceNormalsProcess computes vertex normals for all vertizes.
GenVertexNormalsProcess::GenVertexNormalsProcess | ( | ) |
GenVertexNormalsProcess::~GenVertexNormalsProcess | ( | ) |
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.
bool GenVertexNormalsProcess::GenMeshVertexNormals | ( | aiMesh * | pcMesh, |
unsigned int | meshIndex | ||
) |
Computes normals for a specific mesh.
pcMesh | Mesh |
meshIndex | Index of the mesh |
|
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.
|
inline |
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.