H3D API
2.4.1
|
SFGeometryNode is dependent on the displayList field of its encapsulated X3DGeometryNode node, i.e. More...
#include <H3D/X3DShapeNode.h>
Public Member Functions | |
SFGeometryNode () | |
Constructor. | |
virtual | ~SFGeometryNode () |
Destructor. More... | |
virtual void | onAdd (Node *n) |
This function will be called when the value of RefCountField changes. More... | |
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. | |
SFGeometryNode is dependent on the displayList field of its encapsulated X3DGeometryNode node, i.e.
an event from that field will trigger an event from the SFGeometryNode as well. Also we ovverride onAdd and onRemove in order to uphold a route between the encapsulated X3DGeometryNode's bound field to the bound field of the X3DShapeNode the field resides in.
|
inlinevirtual |
Destructor.
Sets the value to NULL in order to get the correct onAdd and onRemove functions to be called.
Reimplemented in H3D::DeformableShape::SFGeometryNode.
|
inlinevirtual |
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 in H3D::DeformableShape::SFGeometryNode.
References H3D::H3DBoundedObject::bound.
Referenced by H3D::DeformableShape::SFGeometryNode::onAdd().
|
inlinevirtual |
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 old value. |
References H3D::H3DBoundedObject::bound.