
X3D Interface | ||||
| Name | Type | Default value | Description | |
![]() | appearance | SFAppearanceNode | null | This appearance node controls the appearance of the geometrical representations of the haptic primitives. |
![]() | force2size | SFTransferFunction | (1:1) | The transfer function that defines the primitive size from the force of the primitive. |
![]() | global | SFBool | true | If set to true the visualization is positioned globally, if not the local transform defines the position and relative orientation of the primitive visualizations. |
| Derived from VHTKHapticShaderNode | ||||
![]() | active | SFBool | true | Specifies if this haptic shader should be active or not. |
Public Types | |
|
typedef H3D::DependentSFNode < H3D::X3DAppearanceNode, H3D::FieldRef < H3D::H3DDisplayListObject, H3D::H3DDisplayListObject::DisplayList,&H3D::H3DDisplayListObject::displayList > , true > | SFAppearanceNode |
Public Member Functions | |
| VisualHapticPrimitives (H3D::Inst< H3D::SFNode > _metadata=0, H3D::Inst< H3D::SFBool > _active=0, H3D::Inst< DisplayList > _displayList=0, H3D::Inst< SFBound > _bound=0, H3D::Inst< H3D::SFVec3f > _bboxCenter=0, H3D::Inst< H3D::SFVec3f > _bboxSize=0, H3D::Inst< SFAppearanceNode > _appearance=0, H3D::Inst< H3D::SFBool > _global=0, H3D::Inst< SFTransferFunction > _force2size=0) | |
| virtual void | traverseSG (H3D::TraverseInfo &ti) |
| virtual void | render () |
Public Attributes | |
| auto_ptr< SFAppearanceNode > | appearance |
| This appearance node controls the appearance of the geometrical representations of the haptic primitives. | |
| auto_ptr< SFTransferFunction > | force2size |
| The transfer function that defines the primitive size from the force of the primitive. | |
| auto_ptr< H3D::SFBool > | global |
| If set to true the visualization is positioned globally, if not the local transform defines the position and relative orientation of the primitive visualizations. | |
Static Public Attributes | |
| static H3D::H3DNodeDatabase | database |
Protected Member Functions | |
| void | updatePrimitives () |
| virtual void | processPrimitives (primitives_t &plist) |
Protected Attributes | |
|
std::vector < H3D::MatrixTransform * > | forces |
|
std::vector < H3D::MatrixTransform * > | planes |
|
std::vector < H3D::MatrixTransform * > | lines |
|
std::vector < H3D::MatrixTransform * > | points |
Classes | |
| struct | SFBound |
This appearance node controls the appearance of the geometrical representations of the haptic primitives.
| auto_ptr< H3D::SFBool > VHTK::VisualHapticPrimitives::global |
If set to true the visualization is positioned globally, if not the local transform defines the position and relative orientation of the primitive visualizations.
1.5.6