|
Assimp
v4.1. (December 2018)
|
DOM class for FBX geometry of type "Mesh". More...
Inherits Assimp::FBX::Geometry.
Public Member Functions | |
| unsigned int | FaceForVertexIndex (unsigned int in_index) const |
| Determine the face to which a particular output vertex index belongs. More... | |
| const std::vector< aiVector3D > & | GetBinormals () const |
| Get a list of all vertex bi-normals or an empty array if no bi-normals are specified. More... | |
| const std::vector< unsigned int > & | GetFaceIndexCounts () const |
| Return list of faces - each entry denotes a face and specifies how many vertices it has. More... | |
| const MatIndexArray & | GetMaterialIndices () const |
| Get per-face-vertex material assignments. More... | |
| const std::vector< aiVector3D > & | GetNormals () const |
| Get a list of all vertex normals or an empty array if no normals are specified. More... | |
| const std::vector< aiVector3D > & | GetTangents () const |
| Get a list of all vertex tangents or an empty array if no tangents are specified. More... | |
| std::string | GetTextureCoordChannelName (unsigned int index) const |
| Get a UV coordinate slot, returns an empty array if the requested slot does not exist. More... | |
| const std::vector< aiVector2D > & | GetTextureCoords (unsigned int index) const |
| Get a UV coordinate slot, returns an empty array if the requested slot does not exist. More... | |
| const std::vector< aiColor4D > & | GetVertexColors (unsigned int index) const |
| Get a vertex color coordinate slot, returns an empty array if the requested slot does not exist. More... | |
| const std::vector< aiVector3D > & | GetVertices () const |
| Get a list of all vertex points, non-unique. More... | |
| MeshGeometry (uint64_t id, const Element &element, const std::string &name, const Document &doc) | |
| The class constructor. More... | |
| const unsigned int * | ToOutputVertexIndex (unsigned int in_index, unsigned int &count) const |
| Convert from a fbx file vertex index (for example from a #Cluster weight) or NULL if the vertex index is not valid. More... | |
| virtual | ~MeshGeometry () |
| The class destructor. More... | |
Public Member Functions inherited from Assimp::FBX::Geometry | |
| const Skin * | DeformerSkin () const |
| Get the Skin attached to this geometry or NULL. More... | |
| Geometry (uint64_t id, const Element &element, const std::string &name, const Document &doc) | |
| const std::vector< const BlendShape * > & | GetBlendShapes () const |
| Get the BlendShape attached to this geometry or NULL. More... | |
| virtual | ~Geometry () |
Public Member Functions inherited from Assimp::FBX::Object | |
| uint64_t | ID () const |
| const std::string & | Name () const |
| Object (uint64_t id, const Element &element, const std::string &name) | |
| const Element & | SourceElement () const |
| virtual | ~Object () |
Additional Inherited Members | |
Protected Attributes inherited from Assimp::FBX::Object | |
| const Element & | element |
| const uint64_t | id |
| const std::string | name |
DOM class for FBX geometry of type "Mesh".
| Assimp::FBX::MeshGeometry::MeshGeometry | ( | uint64_t | id, |
| const Element & | element, | ||
| const std::string & | name, | ||
| const Document & | doc | ||
| ) |
The class constructor.
|
virtual |
The class destructor.
| unsigned int Assimp::FBX::MeshGeometry::FaceForVertexIndex | ( | unsigned int | in_index | ) | const |
Determine the face to which a particular output vertex index belongs.
This mapping is always unique.
| const std::vector< aiVector3D > & Assimp::FBX::MeshGeometry::GetBinormals | ( | ) | const |
Get a list of all vertex bi-normals or an empty array if no bi-normals are specified.
| const std::vector< unsigned int > & Assimp::FBX::MeshGeometry::GetFaceIndexCounts | ( | ) | const |
Return list of faces - each entry denotes a face and specifies how many vertices it has.
Vertices are taken from the vertex data arrays in sequential order.
| const MatIndexArray & Assimp::FBX::MeshGeometry::GetMaterialIndices | ( | ) | const |
Get per-face-vertex material assignments.
| const std::vector< aiVector3D > & Assimp::FBX::MeshGeometry::GetNormals | ( | ) | const |
Get a list of all vertex normals or an empty array if no normals are specified.
| const std::vector< aiVector3D > & Assimp::FBX::MeshGeometry::GetTangents | ( | ) | const |
Get a list of all vertex tangents or an empty array if no tangents are specified.
| std::string Assimp::FBX::MeshGeometry::GetTextureCoordChannelName | ( | unsigned int | index | ) | const |
Get a UV coordinate slot, returns an empty array if the requested slot does not exist.
| const std::vector< aiVector2D > & Assimp::FBX::MeshGeometry::GetTextureCoords | ( | unsigned int | index | ) | const |
Get a UV coordinate slot, returns an empty array if the requested slot does not exist.
| const std::vector< aiColor4D > & Assimp::FBX::MeshGeometry::GetVertexColors | ( | unsigned int | index | ) | const |
Get a vertex color coordinate slot, returns an empty array if the requested slot does not exist.
| const std::vector< aiVector3D > & Assimp::FBX::MeshGeometry::GetVertices | ( | ) | const |
Get a list of all vertex points, non-unique.
| const unsigned int * Assimp::FBX::MeshGeometry::ToOutputVertexIndex | ( | unsigned int | in_index, |
| unsigned int & | count | ||
| ) | const |
Convert from a fbx file vertex index (for example from a #Cluster weight) or NULL if the vertex index is not valid.