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

Base class for elements of nodes. More...

Inherited by CX3DImporter_NodeElement_Appearance, CX3DImporter_NodeElement_Color, CX3DImporter_NodeElement_ColorRGBA, CX3DImporter_NodeElement_Coordinate, CX3DImporter_NodeElement_Geometry2D, CX3DImporter_NodeElement_Geometry3D, CX3DImporter_NodeElement_Group, CX3DImporter_NodeElement_ImageTexture, CX3DImporter_NodeElement_Light, CX3DImporter_NodeElement_Material, CX3DImporter_NodeElement_Meta, CX3DImporter_NodeElement_Normal, CX3DImporter_NodeElement_Shape, CX3DImporter_NodeElement_TextureCoordinate, and CX3DImporter_NodeElement_TextureTransform.

Public Types

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...
 

Public Member Functions

virtual ~CX3DImporter_NodeElement ()
 The destructor, virtual. More...
 

Public Attributes

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
 

Protected Member Functions

 CX3DImporter_NodeElement (const EType pType, CX3DImporter_NodeElement *pParent)
 In constructor inheritor must set element type. More...
 

Detailed Description

Base class for elements of nodes.

Member Enumeration Documentation

◆ EType

Define what data type contain node element.

Enumerator
ENET_Group 

Element has type "Group".

ENET_MetaBoolean 

Element has type "Metadata boolean".

ENET_MetaDouble 

Element has type "Metadata double".

ENET_MetaFloat 

Element has type "Metadata float".

ENET_MetaInteger 

Element has type "Metadata integer".

ENET_MetaSet 

Element has type "Metadata set".

ENET_MetaString 

Element has type "Metadata string".

ENET_Arc2D 

Element has type "Arc2D".

ENET_ArcClose2D 

Element has type "ArcClose2D".

ENET_Circle2D 

Element has type "Circle2D".

ENET_Disk2D 

Element has type "Disk2D".

ENET_Polyline2D 

Element has type "Polyline2D".

ENET_Polypoint2D 

Element has type "Polypoint2D".

ENET_Rectangle2D 

Element has type "Rectangle2D".

ENET_TriangleSet2D 

Element has type "TriangleSet2D".

ENET_Box 

Element has type "Box".

ENET_Cone 

Element has type "Cone".

ENET_Cylinder 

Element has type "Cylinder".

ENET_Sphere 

Element has type "Sphere".

ENET_ElevationGrid 

Element has type "ElevationGrid".

ENET_Extrusion 

Element has type "Extrusion".

ENET_Coordinate 

Element has type "Coordinate".

ENET_Normal 

Element has type "Normal".

ENET_TextureCoordinate 

Element has type "TextureCoordinate".

ENET_IndexedFaceSet 

Element has type "IndexedFaceSet".

ENET_IndexedLineSet 

Element has type "IndexedLineSet".

ENET_IndexedTriangleSet 

Element has type "IndexedTriangleSet".

ENET_IndexedTriangleFanSet 

Element has type "IndexedTriangleFanSet".

ENET_IndexedTriangleStripSet 

Element has type "IndexedTriangleStripSet".

ENET_LineSet 

Element has type "LineSet".

ENET_PointSet 

Element has type "PointSet".

ENET_TriangleSet 

Element has type "TriangleSet".

ENET_TriangleFanSet 

Element has type "TriangleFanSet".

ENET_TriangleStripSet 

Element has type "TriangleStripSet".

ENET_Color 

Element has type "Color".

ENET_ColorRGBA 

Element has type "ColorRGBA".

ENET_Shape 

Element has type "Shape".

ENET_Appearance 

Element has type "Appearance".

ENET_Material 

Element has type "Material".

ENET_ImageTexture 

Element has type "ImageTexture".

ENET_TextureTransform 

Element has type "TextureTransform".

ENET_DirectionalLight 

Element has type "DirectionalLight".

ENET_PointLight 

Element has type "PointLight".

ENET_SpotLight 

Element has type "SpotLight".

ENET_Invalid 

Element has invalid type and possible contain invalid data.

Constructor & Destructor Documentation

◆ ~CX3DImporter_NodeElement()

virtual CX3DImporter_NodeElement::~CX3DImporter_NodeElement ( )
inlinevirtual

The destructor, virtual.

◆ CX3DImporter_NodeElement()

CX3DImporter_NodeElement::CX3DImporter_NodeElement ( const EType  pType,
CX3DImporter_NodeElement pParent 
)
inlineprotected

In constructor inheritor must set element type.

Parameters
[in]pType- element type.
[in]pParent- parent element.

Member Data Documentation

◆ Child

std::list<CX3DImporter_NodeElement*> CX3DImporter_NodeElement::Child

Child elements.

◆ ID

std::string CX3DImporter_NodeElement::ID

ID of the element. Can be empty. In X3D synonym for "ID" attribute.

◆ Parent

CX3DImporter_NodeElement* CX3DImporter_NodeElement::Parent

Parent element. If nullptr then this node is root.

◆ Type

const EType CX3DImporter_NodeElement::Type

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