
This is by default the first solver used by the volume haptics system, so only experts need to care.
X3D Interface | ||||
| Name | Type | Default value | Description | |
![]() | 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. | |
| VHTK::OrthogonalConstraintsSolver::OrthogonalConstraintsSolver | ( | H3D::Inst< H3D::SFNode > | _metadata = 0, |
|
| H3D::Inst< H3D::ThreadSafeSField< H3D::SFDouble > > | _epsilon = 0 | |||
| ) |
Constructor.
| bool VHTK::OrthogonalConstraintsSolver::solve | ( | const primitives_t & | plist, | |
| HAPI::HAPIFloat | k, | |||
| const HAPI::Vec3 & | probe, | |||
| HAPI::Vec3 & | proxy | |||
| ) | const [protected, virtual] |
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.
1.5.6