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

Public Member Functions | |
| HLDepthBufferShape (X3DGeometryNode *_geometry, H3DSurfaceNode *_surface, const Matrix4f &_transform, HLenum _touchable_face=HL_FRONT_AND_BACK, bool _use_haptic_camera=true, bool _use_adaptive_viewport=true) | |
| Constructor. | |
| virtual void | hlRender (HLHapticsDevice *hd) |
| This function performs all the HLAPI calls that are needed to render the shape. | |
Public Attributes | |
| HLenum | touchable_face |
| Which sides of the faces are touchable. | |
| bool | use_haptic_camera |
| Enable HL_HAPTIC_CAMERA_VIEW or not. | |
| bool | use_adaptive_viewport |
| Enable HL_ADAPTIVE_VIEWPORT 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_DEPTH_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. |
1.4.5