Assimp  v4.1. (December 2018)
CX3DImporter_NodeElement_Group Class Reference

Class that define grouping node. More...

Inherits CX3DImporter_NodeElement.

Public Member Functions

 CX3DImporter_NodeElement_Group (CX3DImporter_NodeElement *pParent, const bool pStatic=false)
 
- Public Member Functions inherited from CX3DImporter_NodeElement
virtual ~CX3DImporter_NodeElement ()
 The destructor, virtual. More...
 

Public Attributes

int32_t Choice
 Number of the child which will be kept. More...
 
bool Static
 As you know node elements can use already defined node elements when attribute "USE" is defined. More...
 
aiMatrix4x4 Transformation
 Transformation matrix. More...
 
bool UseChoice
 Flag: if true then use number from Choice to choose what the child will be kept. More...
 
- Public Attributes inherited from CX3DImporter_NodeElement
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_NodeElementParent
 Parent element. If nullptr then this node is root. More...
 
const EType Type
 

Additional Inherited Members

- Public Types inherited from CX3DImporter_NodeElement
enum  EType {
  ENET_Group , ENET_MetaBoolean , ENET_MetaDouble , ENET_MetaFloat ,
  ENET_MetaInteger , ENET_MetaSet , ENET_MetaString , ENET_Arc2D ,
  ENET_ArcClose2D , ENET_Circle2D , ENET_Disk2D , ENET_Polyline2D ,
  ENET_Polypoint2D , ENET_Rectangle2D , ENET_TriangleSet2D , ENET_Box ,
  ENET_Cone , ENET_Cylinder , ENET_Sphere , ENET_ElevationGrid ,
  ENET_Extrusion , ENET_Coordinate , ENET_Normal , ENET_TextureCoordinate ,
  ENET_IndexedFaceSet , ENET_IndexedLineSet , ENET_IndexedTriangleSet , ENET_IndexedTriangleFanSet ,
  ENET_IndexedTriangleStripSet , ENET_LineSet , ENET_PointSet , ENET_TriangleSet ,
  ENET_TriangleFanSet , ENET_TriangleStripSet , ENET_Color , ENET_ColorRGBA ,
  ENET_Shape , ENET_Appearance , ENET_Material , ENET_ImageTexture ,
  ENET_TextureTransform , ENET_DirectionalLight , ENET_PointLight , ENET_SpotLight ,
  ENET_Invalid
}
 Define what data type contain node element. More...
 
- Protected Member Functions inherited from CX3DImporter_NodeElement
 CX3DImporter_NodeElement (const EType pType, CX3DImporter_NodeElement *pParent)
 In constructor inheritor must set element type. More...
 

Detailed Description

Class that define grouping node.

Define transformation matrix for children. Also can select which child will be kept and others are removed.

Constructor & Destructor Documentation

◆ CX3DImporter_NodeElement_Group()

CX3DImporter_NodeElement_Group::CX3DImporter_NodeElement_Group ( CX3DImporter_NodeElement pParent,
const bool  pStatic = false 
)
inline

Member Data Documentation

◆ Choice

int32_t CX3DImporter_NodeElement_Group::Choice

Number of the child which will be kept.

◆ Static

bool CX3DImporter_NodeElement_Group::Static

As you know node elements can use already defined node elements when attribute "USE" is defined.

Standard search when looking for an element in the whole scene graph, existing at this moment. If a node is marked as static, the children(or lower) can not search for elements in the nodes upper then static.

◆ Transformation

aiMatrix4x4 CX3DImporter_NodeElement_Group::Transformation

Transformation matrix.

◆ UseChoice

bool CX3DImporter_NodeElement_Group::UseChoice

Flag: if true then use number from Choice to choose what the child will be kept.


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