Assimp
v3.1.1 (June 2014)
|
Uniform rectangular grid of varying height. More...
Inherits CX3DImporter_NodeElement_Geometry3D.
Public Member Functions | |
CX3DImporter_NodeElement_ElevationGrid (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 | ColorPerVertex |
If true then colors are defined for every vertex, else for every face(line). More... | |
std::vector< int32_t > | CoordIdx |
Coordinates list by faces. In X3D format: "-1" - delimiter for faces. More... | |
float | CreaseAngle |
If the angle between the geometric normals of two adjacent faces is less than the crease angle, normals shall be calculated so that the faces are shaded smoothly across the edge; otherwise, normals shall be calculated so that a lighting discontinuity across the edge is produced. More... | |
bool | NormalPerVertex |
If true then normals are defined for every vertex, else for every face(line). 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 |
Uniform rectangular grid of varying height.
|
inline |
Constructor.
[in] | pParent | - pointer to parent node. |
[in] | pType | - type of geometry object. |
bool CX3DImporter_NodeElement_ElevationGrid::ColorPerVertex |
If true then colors are defined for every vertex, else for every face(line).
std::vector<int32_t> CX3DImporter_NodeElement_ElevationGrid::CoordIdx |
Coordinates list by faces. In X3D format: "-1" - delimiter for faces.
CX3DImporter_NodeElement_ElevationGrid::CreaseAngle |
If the angle between the geometric normals of two adjacent faces is less than the crease angle, normals shall be calculated so that the faces are shaded smoothly across the edge; otherwise, normals shall be calculated so that a lighting discontinuity across the edge is produced.
bool CX3DImporter_NodeElement_ElevationGrid::NormalPerVertex |
If true then normals are defined for every vertex, else for every face(line).