29 #ifndef __DEFORMABLESHAPE_H__
30 #define __DEFORMABLESHAPE_H__
90 s <<
"Expecting X3DComposedGeometryNode";
106 if( dg_orig_coord ) {
107 dg_orig_coord->
point->setValue( cg_coord->
point->getValue() );
109 if( dg_deformed_coord ) {
110 dg_deformed_coord->
point->setValue( cg_coord->
point->getValue() );
112 if( dg_resting_coord ) {
113 dg_resting_coord->
point->setValue( cg_coord->
point->getValue() );
122 Inst< SFGeometryNode > _geometry = 0,
123 Inst< SFHapticGeometry > _hapticGeometry = 0,
124 Inst< SFNode > _metadata = 0,
125 Inst< SFBound > _bound = 0,
126 Inst< SFVec3f > _bboxCenter = 0,
127 Inst< SFVec3f > _bboxSize = 0,
128 Inst< SFCoordinateNode > _origCoord = 0,
129 Inst< SFCoordinateNode > _restingCoord = 0,
130 Inst< SFCoordinateNode > _deformedCoor = 0,
131 Inst< SFCoordinateDeformer > _deformer = 0 );
Header file for Coordinate, X3D scene-graph node.
#define H3D_FULL_LOCATION
Header file for X3DComposedGeometryNode, X3D scene-graph node.
Header file for X3DShapeNode, X3D scene-graph node.
std::string getTypeName() const
This node defines a set of 3D coordinates to be used in the coord field of vertex-based geometry node...
Definition: Coordinate.h:50
H3DUniquePtr< MFVec3f > point
A vector of Vec3f defining points in 3d-space.
Definition: Coordinate.h:99
Node is the base class for all classes that can be part of the H3D scene-graph.
Definition: Node.h:46
TraverseInfo is a structure that is passed along when traversing the scene graph.
Definition: TraverseInfo.h:57
Template to make sure that the Node that is set in a SFNode is of a specified Node type.
Definition: SFNode.h:97
This is the base node type for all composed 3D geometry in X3D.
Definition: X3DComposedGeometryNode.h:93
H3DUniquePtr< SFCoordinateNode > coord
An X3DCoordinate node with the coordinates to use.
Definition: X3DComposedGeometryNode.h:232
SFGeometryNode is dependent on the displayList field of its encapsulated X3DGeometryNode node,...
Definition: X3DShapeNode.h:76
virtual void onAdd(Node *n)
This function will be called when the value of RefCountField changes.
Definition: X3DShapeNode.h:99
This is the base node type for all Shape nodes.
Definition: X3DShapeNode.h:50
H3D API namespace.
Definition: Anchor.h:38
The H3DNodeDatabase contains a mapping between a name of a Node and the constructor for the Node with...
Definition: H3DNodeDatabase.h:194