#include <DeformableShape.h>
Inheritance diagram for H3D::DeformableShape:

Public Types | |
| typedef TypedSFNode< Coordinate > | SFCoordinateNode |
| typedef TypedSFNode< H3DCoordinateDeformerNode > | SFCoordinateDeformer |
Public Member Functions | |
| DeformableShape (Inst< SFAppearanceNode > _appearance=0, Inst< SFGeometryNode > _geometry=0, Inst< SFHapticGeometry > _hapticGeometry=0, Inst< SFNode > _metadata=0, Inst< SFBound > _bound=0, Inst< SFVec3f > _bboxCenter=0, Inst< SFVec3f > _bboxSize=0, Inst< SFCoordinateNode > _origCoord=0, Inst< SFCoordinateNode > _restingCoord=0, Inst< SFCoordinateNode > _deformedCoor=0, Inst< SFCoordinateDeformer > _deformer=0) | |
| Constructor. | |
Public Attributes | |
| auto_ptr< SFCoordinateNode > | origCoord |
| The origCoord field contains the coordinates that the X3DComposedGeometryNode had when it was added to the X3DComposedGeometryNode. | |
| auto_ptr< SFCoordinateNode > | restingCoord |
| The restingCoord fields contain the coordinates that the geometry will go back to when there are no contacts to the geometry any longer. | |
| auto_ptr< SFCoordinateNode > | deformedCoord |
| The deformedCoord field contains the coordiates after deformation of current contacts of haptics devices. | |
| auto_ptr< SFCoordinateDeformer > | deformer |
| The deformer field specifies an H3DCoordinateDeformerNode that determines how the coordinates should be deformed on contact. | |
Static Public Attributes | |
| static H3DNodeDatabase | database |
| The H3DNodeDatabase for this node. | |
Classes | |
| class | SFGeometryNode |
| The SFGeometryNode is extended to only accept X3DComposedGeometryNode nodes. More... | |
The deformer field specifies an H3DCoordinateDeformerNode that determines how the coordinates should be deformed on contact. If NULL, no deformation will be done.
The geometry field must contain an X3DComposedGeometryNode, and the coordinates in its coord field are the ones that will be deformed.
The origCoord field contains the coordinates that the X3DComposedGeometryNode had when it was added to the X3DComposedGeometryNode. These are the coordinates that was used before any deformation started.
The deformedCoord field contains the coordiates after deformation of current contacts of haptics devices. These are the coordinates that will be used for graphics rendering.
The restingCoord fields contain the coordinates that the geometry will go back to when there are no contacts to the geometry any longer. If the deformation is non-plastic, this will be the same as origCoord.
|
|
The deformedCoord field contains the coordiates after deformation of current contacts of haptics devices. These are the coordinates that will be used for graphics rendering. Access type: outputOnly |
|
|
The deformer field specifies an H3DCoordinateDeformerNode that determines how the coordinates should be deformed on contact. If NULL, no deformation will be done. |
|
|
The origCoord field contains the coordinates that the X3DComposedGeometryNode had when it was added to the X3DComposedGeometryNode. These are the coordinates that was used before any deformation started. Access type: outputOnly |
|
|
The restingCoord fields contain the coordinates that the geometry will go back to when there are no contacts to the geometry any longer. If the deformation is non-plastic, this will be the same as origCoord. Access type: outputOnly |
1.4.5