|
version 0.5.1 released /11/03
-
You can access to the parents by
getParentList and the children by getChildrenList .
-
Type becomes SFType , Component SFComponent , SceneGraph SFSceneGraph ,
MType becomes MFType , MComponent MFComponent , MSceneGraph MFSceneGraph ,
Vertex becomes SFVertex , Edge becomes SFEdge , Face SFFace ,
MVertex becomes MFVertex , MEdge becomes MFEdge , MFace MFFace .
-
TemplateMesh has now a child called TemplateVertexSet which stores SFTemplateVertex . That enables
vertex sharing.
-
The names of the files follow the rule: if the class belongs to the ns namespace, then
the file name is ns_class. The include files of the processors have changed and follow this rule.
-
GVManager disappears and its content is moved to the GraphTraversal . GlobalVariables
become StateVariables to avoid ambiguity with variables global to the application.
-
defineNew*Function becomes define*Function .
-
GL::X3DNode::render() becomes GL::X3DGeometryNode::draw() .
-
SFMatrix34f::IDENTITY becomes SFMatrix34f::identity .
SFVec3f::NULLVECTOR becomes SFVec3f::null .
SFPoint3f::NULLVECTOR becomes SFPoint3f::null .
SFVec2f::NULLVECTOR becomes SFVec2f::null .
SFColor::NULLCOLOR becomes SFColor::null .
-
Template singleton manager used for instantiating
X3DProcessor and X3DLoader .
For example, for getting an X3D::BBoxUpdater , you type X3DProcessor::getInstanceOf<X3D::BBoxUpdater>();
version 0.5.0 released 27/10/03
-
DefineNewTypeName extended to the scene graph meaning that a type belongs to a component
that belongs to a scene graph.
-
Bbox becomes BBox .
-
Simpler syntax to define a new node. Before you had to record the
CreationFunction , now
only defineNewNode<T>() is needed in the constructor.
-
Thanks to the implicit template parameters you can type
defineNewEnterFunction(&component::function);
-
X3DTTAlgorithm becomes GraphTraversal .
-
Default* classes disappear.
-
New arborescence. New include files :kernel.h, x3dscenegraph.h, glscenegraph.h...
-
SFVec3f VertexData::_point becomes SFPoint3f VertexData::_point
-
Mesh namespace becomes MESH to avoid ambiguity with Mesh class.
-
SFMatrix34f::toFloat syntax changes.
-
In the
X3DAbstractNode class, addParent and removeParent become private, addLink and removeLink become addParentToChild and removeParentFromChild .
-
The
VertexData class doesn't have a list of VertexFData any more, it
stores directly the informations per face.
-
The functions
scale(...) , translation(...) , rotationX() ... returning an SFMatrix34f
are incorpored into SFMatrix34f as static methods. identity34() becomes the public static
member IDENTITY.
|