Isle
|
[AI] Builder class for assembling mesh data and extracting mesh objects. More...
#include <tgl.h>
Public Member Functions | |
virtual Mesh * | CreateMesh (unsigned long faceCount, unsigned long vertexCount, float(*pPositions)[3], float(*pNormals)[3], float(*pTextureCoordinates)[2], unsigned long(*pFaceIndices)[3], unsigned long(*pTextureIndices)[3], ShadingModel shadingModel)=0 |
[AI] Creates a mesh from supplied geometry data. More... | |
virtual Result | GetBoundingBox (float min[3], float max[3]) const =0 |
[AI] Gets the bounding box for the constructed mesh geometry. More... | |
virtual MeshBuilder * | Clone ()=0 |
[AI] Makes a copy of the mesh builder instance (deep copy). More... | |
![]() | |
virtual | ~Object () |
[AI] Destructor; releases resources. More... | |
virtual void * | ImplementationDataPtr ()=0 |
[AI] Returns a pointer to internal/implementation data, if any. More... | |
[AI] Builder class for assembling mesh data and extracting mesh objects.
[AI_SUGGESTED_NAME: MeshBuilder]
[AI] Not present in original leaked Tgl code; inferred as a mesh construction/conversion utility for geometry. [AI]
|
pure virtual |
[AI] Makes a copy of the mesh builder instance (deep copy).
[AI]
Implemented in TglImpl::MeshBuilderImpl.
|
pure virtual |
[AI] Creates a mesh from supplied geometry data.
[AI]
faceCount | Number of triangular faces. [AI] |
vertexCount | Number of vertices. [AI] |
pPositions | Vertex positions (array of [3] floats per vertex). [AI] |
pNormals | Vertex normals (array of [3] floats per vertex). [AI] |
pTextureCoordinates | Array of [2] float texture coords per vertex. [AI] |
pFaceIndices | Indices (vertex indices) for each face, [3] per face. [AI] |
pTextureIndices | Per-face per-corner texture indices. [AI] |
shadingModel | Shading style for new mesh. [AI] |
Implemented in TglImpl::MeshBuilderImpl.
|
pure virtual |
[AI] Gets the bounding box for the constructed mesh geometry.
[AI]
min | Output min x,y,z. [AI] |
max | Output max x,y,z. [AI] |
Implemented in TglImpl::MeshBuilderImpl.