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

Public Member Functions | |
| H3DCoordinateDeformerNode () | |
| Constructor. | |
| virtual void | deformPoints (const vector< bool > &is_touched, const vector< Vec3f > &touch_point, const vector< Vec3f > &touch_normal, const vector< Vec3f > &touch_force, const vector< Vec3f > &penetration_points, const vector< Vec3f > &orig_points, const vector< Vec3f > &resting_points, const vector< Vec3f > &deformed_points, vector< Vec3f > &new_resting_points, vector< Vec3f > &new_deformed_points)=0 |
| The deformPoints method determines the deformation of coordinates based on the interaction of a haptics device. | |
| virtual string | defaultXMLContainerField () |
| Returns the default xml containerField attribute value. | |
All subclasses are required to implement the deformPoints method to specify how the coordinates should be deformed.
For usages of the node type, see DeformableShape.
|
|
Returns the default xml containerField attribute value. For this node it is "deformer". Reimplemented from H3D::Node. |
|
||||||||||||||||||||||||||||||||||||||||||||
|
The deformPoints method determines the deformation of coordinates based on the interaction of a haptics device. The is_touched, touch_points, touch_normal and touch_force parameters all are vectors of the same size, where the first value in the vector is the value for haptics device 0, the second for haptics device 1, and so on.
Implemented in H3D::CoordinateDeformer. |
1.4.5