
Public Member Functions | |
| ScalarGradientPenetrationForceMode () | |
| Initializes the internal data. | |
| void | getPrimitives (primitives_t &r, const state &s) |
| System function. | |
| void | initialize () |
| Initializes node functionality. | |
Public Attributes | |
| auto_ptr< TSSField(H3D::SFFloat) > | threshold |
| The threshold specifying for which gradient magnitude values the surface should be rendered. | |
| auto_ptr< TSSField(H3D::SFFloat) > | stiffness |
| The stiffness of the rendered surface. | |
Static Public Attributes | |
| static H3D::H3DNodeDatabase | database |
| X3D interface function. | |
This mode was suggested by Lawrence et. al. in "Shock and Vortex Visualization Using a Combined Visual/Haptic Interface", TVCG, 2000, as a means of generating haptic feedback from CFD data to examine shockwave structures.
Warning: this haptic mode is a dynamic force function, which means that it has its own memory. Thus, any changes of the data (translation, rotation, animation, etc) between two estimations of the force feedback will invalidate this memory and make the feedback wrong.
X3D Interface | ||||
| Name | Type | Default value | Description | |
![]() | threshold | SFFloat | 0.01 | The threshold specifying for which gradient magnitude values the surface should be rendered. |
![]() | stiffness | SFFloat | 100 | The stiffness of the rendered surface. |
| Derived from VHTKScalarModeNode | ||||
![]() | scalarVolume | SFScalarVolume | null | |
| Derived from VHTKHapticModeNode | ||||
![]() | enabled | SFBool | TRUE | Specifies if this haptic mode should be active or not |
| VHTK::ScalarGradientPenetrationForceMode::ScalarGradientPenetrationForceMode | ( | ) |
Initializes the internal data.
| void VHTK::ScalarGradientPenetrationForceMode::getPrimitives | ( | primitives_t & | r, | |
| const state & | s | |||
| ) | [virtual] |
| void VHTK::ScalarGradientPenetrationForceMode::initialize | ( | ) | [virtual] |
| auto_ptr<TSSField( H3D::SFFloat ) > VHTK::ScalarGradientPenetrationForceMode::stiffness |
The stiffness of the rendered surface.
| auto_ptr<TSSField( H3D::SFFloat ) > VHTK::ScalarGradientPenetrationForceMode::threshold |
The threshold specifying for which gradient magnitude values the surface should be rendered.
1.5.8