8 #ifndef META_OCEAN_SCENEDESCRIPTION_SDX_X3D_FACTORY_H
9 #define META_OCEAN_SCENEDESCRIPTION_SDX_X3D_FACTORY_H
19 namespace SceneDescription
33 class OCEAN_SCENEDESCRIPTION_SDX_X3D_EXPORT
Factory
45 typedef std::unordered_map<std::string, CreateNodeFunction>
CreateNodeMap;
This class implements a x3d node factory.
Definition: scenedescription/sdx/x3d/Factory.h:34
std::unordered_map< std::string, CreateNodeFunction > CreateNodeMap
Definition of an unordered map mapping names of node types to functions creating the nodes.
Definition: scenedescription/sdx/x3d/Factory.h:45
static SDXNodeRef createNode(const SDXNode::SDXEnvironment *environment)
Creates a new node with a specific type.
static SDXNodeRef createNode(const std::string &type, const SDXNode::SDXEnvironment *environment)
Creates a new x3d node by the given type name of the node.
This class implements a node environment container.
Definition: SDXNode.h:62
This template class implements a smart object reference which is a specialization of an ObjectRef obj...
Definition: SmartObjectRef.h:90
SmartObjectRef< SDXNode, Node > SDXNodeRef
Definition of a smart object reference for SDX scene description nodes.
Definition: SDXNode.h:30
The namespace covering the entire Ocean framework.
Definition: Accessor.h:15