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

Public Member Functions | |
| HLFeedbackShape (X3DGeometryNode *_geometry, H3DSurfaceNode *_surface, const Matrix4f &_transform, HLint _nr_vertices=-1, HLenum _touchable_face=HL_FRONT_AND_BACK, bool _use_haptic_camera=true) | |
| Constructor. | |
| virtual void | hlRender (HLHapticsDevice *hd) |
| This function performs all the HLAPI calls that are needed to render the shape. | |
Protected Attributes | |
| HLint | nr_vertices |
| A upper bound on the number of triangles that will be rendered. | |
| HLenum | touchable_face |
| Which sides of the faces are touchable. | |
| bool | use_haptic_camera |
| Enable HL_HAPTIC_CAMERA_VIEW or not. | |
This makes it very easy to implement simple haptics rendering of a geometry, since when the render() function is implemented to perform the graphical rendering. The shape is implemented as a HL_SHAPE_FEEDBACK_BUFFER shape in HLAPI.
|
|
This function performs all the HLAPI calls that are needed to render the shape. Uses HL_SHAPE_FEEDBACK_BUFFER to render the object. Implements H3D::HLShape. |
|
|
A upper bound on the number of triangles that will be rendered. Negative values will use the system default value. |
1.4.5