Assimp  v4.1. (December 2018)
Assimp::PLY::Property Class Reference

Helper class for a property in a PLY file. More...

Public Member Functions

 Property ()
 Default constructor. More...
 

Static Public Member Functions

static EDataType ParseDataType (std::vector< char > &buffer)
 Parse a data type from a string. More...
 
static bool ParseProperty (std::vector< char > &buffer, Property *pOut)
 Parse a property from a string. More...
 
static ESemantic ParseSemantic (std::vector< char > &buffer)
 Parse a semantic from a string. More...
 

Public Attributes

bool bIsList
 Specifies whether the data type is a list where the first element specifies the size of the list. More...
 
EDataType eFirstType
 
EDataType eType
 Data type of the property. More...
 
ESemantic Semantic
 Semantical meaning of the property. More...
 
std::string szName
 Of the semantic of the property could not be parsed: Contains the semantic specified in the file. More...
 

Detailed Description

Helper class for a property in a PLY file.

This can e.g. be a part of the vertex declaration

Constructor & Destructor Documentation

◆ Property()

Property::Property ( )
inline

Default constructor.

Member Function Documentation

◆ ParseDataType()

PLY::EDataType PLY::Property::ParseDataType ( std::vector< char > &  buffer)
static

Parse a data type from a string.

◆ ParseProperty()

bool PLY::Property::ParseProperty ( std::vector< char > &  buffer,
PLY::Property pOut 
)
static

Parse a property from a string.

The end of the string is either '
', '' or '\0'. Return value is false if the input string is NOT a valid property (E.g. does not start with the "property" keyword)

◆ ParseSemantic()

PLY::ESemantic PLY::Property::ParseSemantic ( std::vector< char > &  buffer)
static

Parse a semantic from a string.

Member Data Documentation

◆ bIsList

bool Assimp::PLY::Property::bIsList

Specifies whether the data type is a list where the first element specifies the size of the list.

◆ eFirstType

EDataType Assimp::PLY::Property::eFirstType

◆ eType

EDataType Assimp::PLY::Property::eType

Data type of the property.

◆ Semantic

ESemantic Assimp::PLY::Property::Semantic

Semantical meaning of the property.

◆ szName

std::string Assimp::PLY::Property::szName

Of the semantic of the property could not be parsed: Contains the semantic specified in the file.


The documentation for this class was generated from the following files: