VHTK::OrthogonalConstraintsSolver Class Reference
[Expert Nodes]

Inheritance diagram for VHTK::OrthogonalConstraintsSolver:

Inheritance graph
[legend]

List of all members.


Detailed Description

This is a volume haptics solver that takes care of the special case where all primitives produce orthogonal constraints.

This is by default the first solver used by the volume haptics system, so only experts need to care.

X3D Interface

 NameTypeDefault valueDescription
epsilon SFDouble   1e-10   This field specifies the orthogonality tolerance. If negative the solver will assume that all primitives are orthogonal without checking. If all current modes are known to produce orthogonal contraints and forces, then this can speed up things.  

Public Member Functions

 OrthogonalConstraintsSolver (H3D::Inst< H3D::SFNode > _metadata=0, H3D::Inst< H3D::ThreadSafeSField< H3D::SFDouble > > _epsilon=0)
 Constructor.

Public Attributes

auto_ptr
< H3D::ThreadSafeSField
< H3D::SFDouble > > 
epsilon
 This field specifies the orthogonality tolerance relative to the epsilon of the current floating point precision.

Static Public Attributes

static H3D::H3DNodeDatabase database
 Node database.

Protected Member Functions

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


Constructor & Destructor Documentation

VHTK::OrthogonalConstraintsSolver::OrthogonalConstraintsSolver ( H3D::Inst< H3D::SFNode _metadata = 0,
H3D::Inst< H3D::ThreadSafeSField< H3D::SFDouble > >  _epsilon = 0 
)

Constructor.


Member Function Documentation

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

Volume haptics solver.

Implements VHTK::VHTKPrimitivesSolverNode.


Member Data Documentation

This field specifies the orthogonality tolerance relative to the epsilon of the current floating point precision.

If negative the solver will assume that all primitives are orthogonal without checking. If all current modes are known to produce orthogonal contraints and forces, then this can speed up things.

Node database.

Reimplemented from VHTK::VHTKPrimitivesSolverNode.


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