Assimp
v3.1.1 (June 2014)
|
Shape with set of vertices. More...
Inherits CX3DImporter_NodeElement_Geometry3D.
Public Member Functions | |
CX3DImporter_NodeElement_Set (const EType pType, CX3DImporter_NodeElement *pParent) | |
Constructor. More... | |
![]() | |
CX3DImporter_NodeElement_Geometry3D (const EType pType, CX3DImporter_NodeElement *pParent) | |
Constructor. More... | |
![]() | |
virtual | ~CX3DImporter_NodeElement () |
The destructor, virtual. More... | |
Public Attributes | |
bool | CCW |
The ccw field defines the ordering of the vertex coordinates of the geometry with respect to user-given or automatically generated normal vectors used in the lighting model equations. More... | |
bool | ColorPerVertex |
If true then colors are defined for every vertex, else for every face(line). More... | |
std::vector< int32_t > | CoordIndex |
Field to specify the polygonal faces by indexing into the <Coordinate>. More... | |
std::vector< int32_t > | NormalIndex |
Field to specify the polygonal faces by indexing into the <Normal>. More... | |
bool | NormalPerVertex |
If true then normals are defined for every vertex, else for every face(line). More... | |
std::vector< int32_t > | TexCoordIndex |
Field to specify the polygonal faces by indexing into the <TextureCoordinate>. More... | |
std::vector< int32_t > | VertexCount |
Field describes how many vertices are to be used in each polyline(polygon) from the <Coordinate> field. More... | |
![]() | |
size_t | NumIndices |
Number of indices in one face. More... | |
bool | Solid |
Flag: if true then render must use back-face culling, else render must draw both sides of object. More... | |
std::list< aiVector3D > | Vertices |
Vertices list. More... | |
![]() | |
std::list< CX3DImporter_NodeElement * > | Child |
Child elements. More... | |
std::string | ID |
ID of the element. Can be empty. In X3D synonym for "ID" attribute. More... | |
CX3DImporter_NodeElement * | Parent |
Parent element. If nullptr then this node is root. More... | |
const EType | Type |
Shape with set of vertices.
|
inline |
Constructor.
[in] | pParent | - pointer to parent node. |
[in] | pType | - type of geometry object. |
CX3DImporter_NodeElement_Set::CCW |
The ccw field defines the ordering of the vertex coordinates of the geometry with respect to user-given or automatically generated normal vectors used in the lighting model equations.
If ccw is TRUE, the normals shall follow the right hand rule; the orientation of each normal with respect to the vertices (taken in order) shall be such that the vertices appear to be oriented in a counterclockwise order when the vertices are viewed (in the local coordinate system of the Shape) from the opposite direction as the normal. If ccw is FALSE, the normals shall be oriented in the opposite direction. If normals are not generated but are supplied using a Normal node, and the orientation of the normals does not match the setting of the ccw field, results are undefined.
bool CX3DImporter_NodeElement_Set::ColorPerVertex |
If true then colors are defined for every vertex, else for every face(line).
std::vector<int32_t> CX3DImporter_NodeElement_Set::CoordIndex |
Field to specify the polygonal faces by indexing into the <Coordinate>.
std::vector<int32_t> CX3DImporter_NodeElement_Set::NormalIndex |
Field to specify the polygonal faces by indexing into the <Normal>.
bool CX3DImporter_NodeElement_Set::NormalPerVertex |
If true then normals are defined for every vertex, else for every face(line).
std::vector<int32_t> CX3DImporter_NodeElement_Set::TexCoordIndex |
Field to specify the polygonal faces by indexing into the <TextureCoordinate>.
std::vector<int32_t> CX3DImporter_NodeElement_Set::VertexCount |
Field describes how many vertices are to be used in each polyline(polygon) from the <Coordinate> field.