VHTK::VHTKPrimitivesSolverNode Class Reference
[Expert Nodes]

Inheritance diagram for VHTK::VHTKPrimitivesSolverNode:

Inheritance graph
[legend]

List of all members.


Detailed Description

This is the base type for a solver that determines the new position for the proxy point from a list of haptic primitives.

The default solvers work perfectly fine for most people, so this node is really for experts only.

X3D Interface

 NameTypeDefault valueDescription
active SFBool   true   Activates the current solver.  

Public Member Functions

string defaultXMLContainerField ()
 VHTKPrimitivesSolverNode (H3D::Inst< H3D::SFNode > _metadata=0, H3D::Inst< H3D::SFBool > _active=0)
 Initializes local members.

Public Attributes

auto_ptr< H3D::SFBoolactive
 Activates the current solver.

Static Public Attributes

static H3D::H3DNodeDatabase database

Protected Member Functions

virtual bool solve (const primitives_t &plist, HAPI::HAPIFloat k, const HAPI::Vec3 &probe, HAPI::Vec3 &proxy) const =0
 Volume haptics solver.

Friends

struct VolumeHapticsEffect


Constructor & Destructor Documentation

VHTK::VHTKPrimitivesSolverNode::VHTKPrimitivesSolverNode ( H3D::Inst< H3D::SFNode _metadata = 0,
H3D::Inst< H3D::SFBool _active = 0 
)

Initializes local members.


Member Function Documentation

virtual bool VHTK::VHTKPrimitivesSolverNode::solve ( const primitives_t plist,
HAPI::HAPIFloat  k,
const HAPI::Vec3 probe,
HAPI::Vec3 proxy 
) const [protected, pure virtual]

Volume haptics solver.

Implemented in VHTK::OrthogonalConstraintsSolver, VHTK::NewtonSolver, and VHTK::NelderMeadSolver.


Member Data Documentation

Activates the current solver.


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