|
Assimp
v3.1.1 (June 2014)
|
ComputeUVMappingProcess - converts special mappings, such as spherical, cylindrical or boxed to proper UV coordinates for rendering. More...
Inherits Assimp::BaseProcess.
Public Member Functions | |
| ComputeUVMappingProcess () | |
| void | Execute (aiScene *pScene) |
| Executes the post processing step on the given imported data. More... | |
| bool | IsActive (unsigned int pFlags) const |
| Returns whether the processing step is present in the given flag field. More... | |
| ~ComputeUVMappingProcess () | |
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... | |
| 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... | |
Protected Member Functions | |
| void | ComputeBoxMapping (aiMesh *mesh, aiVector3D *out) |
| Computes cubic UV coordinates for a mesh. More... | |
| void | ComputeCylinderMapping (aiMesh *mesh, const aiVector3D &axis, aiVector3D *out) |
| Computes cylindrical UV coordinates for a mesh. More... | |
| void | ComputePlaneMapping (aiMesh *mesh, const aiVector3D &axis, aiVector3D *out) |
| Computes planar UV coordinates for a mesh. More... | |
| void | ComputeSphereMapping (aiMesh *mesh, const aiVector3D &axis, aiVector3D *out) |
| Computes spherical UV coordinates for a mesh. 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... | |
ComputeUVMappingProcess - converts special mappings, such as spherical, cylindrical or boxed to proper UV coordinates for rendering.
| ComputeUVMappingProcess::ComputeUVMappingProcess | ( | ) |
| ComputeUVMappingProcess::~ComputeUVMappingProcess | ( | ) |
|
protected |
Computes cubic UV coordinates for a mesh.
| mesh | Mesh to be processed |
| out | Receives output UV coordinates |
|
protected |
Computes cylindrical UV coordinates for a mesh.
| mesh | Mesh to be processed |
| axis | Main axis |
| out | Receives output UV coordinates |
|
protected |
Computes planar UV coordinates for a mesh.
| mesh | Mesh to be processed |
| axis | Main axis |
| out | Receives output UV coordinates |
|
protected |
Computes spherical UV coordinates for a mesh.
| mesh | Mesh to be processed |
| axis | Main axis |
| out | Receives output UV coordinates |
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.
|
virtual |
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.