VHTK::VisualHapticPrimitives Class Reference
[Visualization NodesVolume Haptics Nodes]

Inheritance diagram for VHTK::VisualHapticPrimitives:

Inheritance graph
[legend]

List of all members.


Detailed Description

Visual haptic primitives is a haptic shader that visualizes the current primitives by showing their type, orientation and strength.

X3D Interface

 NameTypeDefault valueDescription
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< SFAppearanceNodeappearance
 This appearance node controls the appearance of the geometrical representations of the haptic primitives.
auto_ptr< SFTransferFunctionforce2size
 The transfer function that defines the primitive size from the force of the primitive.
auto_ptr< H3D::SFBoolglobal
 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


Member Data Documentation

This appearance node controls the appearance of the geometrical representations of the haptic primitives.

The transfer function that defines the primitive size from the force of the primitive.

If set to true the visualization is positioned globally, if not the local transform defines the position and relative orientation of the primitive visualizations.


Generated on Thu Mar 5 08:46:58 2009 for Volume Haptics Toolkit by  doxygen 1.5.6