|
Assimp
v4.1. (December 2018)
|
Helper class for an element in a PLY file. More...
Public Member Functions | |
| Element () AI_NO_EXCEPT | |
| Default constructor. More... | |
Static Public Member Functions | |
| static bool | ParseElement (IOStreamBuffer< char > &streamBuffer, std::vector< char > &buffer, Element *pOut) |
| Parse an element from a string. More... | |
| static EElementSemantic | ParseSemantic (std::vector< char > &buffer) |
| Parse a semantic from a string. More... | |
Public Attributes | |
| std::vector< Property > | alProperties |
| List of properties assigned to the element std::vector to support operator[]. More... | |
| EElementSemantic | eSemantic |
| Semantic of the element. More... | |
| unsigned int | NumOccur |
| How many times will the element occur? More... | |
| std::string | szName |
| Of the semantic of the element could not be parsed: Contains the semantic specified in the file. More... | |
Helper class for an element in a PLY file.
This can e.g. be the vertex declaration. Elements contain a well-defined number of properties.
|
inline |
Default constructor.
|
static |
Parse an element from a string.
The function will parse all properties contained in the element, too.
|
static |
Parse a semantic from a string.
| std::vector<Property> Assimp::PLY::Element::alProperties |
List of properties assigned to the element std::vector to support operator[].
| EElementSemantic Assimp::PLY::Element::eSemantic |
Semantic of the element.
| unsigned int Assimp::PLY::Element::NumOccur |
How many times will the element occur?
| std::string Assimp::PLY::Element::szName |
Of the semantic of the element could not be parsed: Contains the semantic specified in the file.