H3D API
2.4.1
|
The SFGeometryNode is extended to only accept X3DComposedGeometryNode nodes. More...
#include <H3D/DeformableShape.h>
Public Member Functions | |
~SFGeometryNode () | |
Destructor. More... | |
![]() | |
SFGeometryNode () | |
Constructor. | |
virtual void | onRemove (Node *n) |
This function will be called when the value of RefCountField changes. More... | |
![]() | |
DependentSFNode () | |
Constructor. Default value of value is NULL. | |
virtual | ~DependentSFNode () |
Destructor. | |
Protected Member Functions | |
virtual void | onAdd (Node *n) |
This function will be called when the value of RefCountField changes. More... | |
The SFGeometryNode is extended to only accept X3DComposedGeometryNode nodes.
|
inlinevirtual |
Destructor.
Sets the value to NULL in order to get the correct onAdd and onRemove functions to be called and initialize the different coord fields in the DeformableShape node when changing the geometry.
Reimplemented from H3D::X3DShapeNode::SFGeometryNode.
|
inlineprotectedvirtual |
This function will be called when the value of RefCountField changes.
As soon as the value changes onRemove will be called on the old value and onAdd will be called on the new value.
n | The new value. |
Reimplemented from H3D::X3DShapeNode::SFGeometryNode.
References H3D::X3DComposedGeometryNode::coord, H3D::DeformableShape::deformedCoord, H3DUtil::RefCountedClass::getTypeName(), H3D_FULL_LOCATION, H3D::X3DShapeNode::SFGeometryNode::onAdd(), H3D::DeformableShape::origCoord, H3D::Coordinate::point, and H3D::DeformableShape::restingCoord.