60 DEFNodes *exported_nodes = NULL,
61 PrototypeVector *prototypes = NULL,
62 const string & system_id =
"<stream input>"
76 DEFNodes *exported_nodes = NULL,
77 PrototypeVector *prototypes = NULL );
96 DEFNodes *exported_nodes = NULL,
97 PrototypeVector *prototypes = NULL,
98 bool change_base_path_during_parsing =
true);
113 DEFNodes *exported_nodes = NULL,
114 PrototypeVector *prototypes = NULL,
115 const string & system_id =
"<stream input>"
130 DEFNodes *exported_nodes = NULL,
131 PrototypeVector *prototypes = NULL );
151 DEFNodes *exported_nodes = NULL,
152 PrototypeVector *prototypes = NULL,
153 bool change_base_path_during_parsing =
true );
159 const string &container_field =
"" );
171 X3DGeometryNode *geom,
172 const string &name =
"",
173 bool use_binary_format =
false );
179 const string& container_field,
180 const string & prefix,
181 std::set< Node * > &visited_nodes,
182 unsigned int output_type = 0 );
Contains the DEFNodes class.
Header file for Group, X3D scene-graph node.
Base header file that handles all configuration related settings.
Used by VRMLParser and X3D to implement a PROTO declaration.
H3DAPI_API void writeNodeAsVRML(ostream &os, Node *node)
Write the scene graph part of the node given in X3D/VRML format to the given ostream.
Definition: X3D.cpp:479
H3DAPI_API AutoRef< Node > createX3DNodeFromURL(const string &urn, DEFNodes *dn=NULL, DEFNodes *exported_nodes=NULL, PrototypeVector *prototypes=NULL, bool change_base_path_during_parsing=true)
Create a H3D Node given X3D data as a URL.
Definition: X3D.cpp:291
H3DAPI_API void writeGeometryAsSTL(ostream &os, X3DGeometryNode *geom, const string &name="", bool use_binary_format=false)
Write the triangles rendered by the geometry node as STL to the given ostream.
Definition: X3D.cpp:809
H3DAPI_API Group * createX3DFromStream(istream &in, DEFNodes *dn=NULL, DEFNodes *exported_nodes=NULL, PrototypeVector *prototypes=NULL, const string &system_id="<stream input>")
Create H3D nodes given X3D data as a istream.
Definition: X3D.cpp:242
H3DAPI_API Group * createX3DFromURL(const string &urn, DEFNodes *dn=NULL, DEFNodes *exported_nodes=NULL, PrototypeVector *prototypes=NULL, bool change_base_path_during_parsing=true)
Create H3D nodes given X3D data as a URL.
Definition: X3D.cpp:74
H3DAPI_API void writeNodeAsX3D(ostream &os, Node *node, const string &container_field="")
Write the scene graph part of the node given in X3D/XML format to the given ostream.
Definition: X3D.cpp:471
H3DAPI_API AutoRef< Node > createX3DNodeFromString(const string &str, DEFNodes *dn=NULL, DEFNodes *exported_nodes=NULL, PrototypeVector *prototypes=NULL)
Create a H3D Node given X3D data as a string.
Definition: X3D.cpp:264
H3DAPI_API void writeNodeAsX3DHelp(ostream &os, Node *node, const string &container_field, const string &prefix, std::set< Node * > &visited_nodes, unsigned int output_type=0)
Help function for writeNodeAsX3D and writeNodeAsVRML output_type = 0 means xml output,...
Definition: X3D.cpp:493
H3DAPI_API AutoRef< Node > createX3DNodeFromStream(istream &in, DEFNodes *dn=NULL, DEFNodes *exported_nodes=NULL, PrototypeVector *prototypes=NULL, const string &system_id="<stream input>")
Create a H3D Node given X3D data as a istream.
Definition: X3D.cpp:446
H3DAPI_API Group * createX3DFromString(const string &str, DEFNodes *dn=NULL, DEFNodes *exported_nodes=NULL, PrototypeVector *prototypes=NULL)
Create H3D nodes given X3D data as a string.
Definition: X3D.cpp:51
H3D API namespace.
Definition: Anchor.h:38