
From a set of seeds stream ribbons are rendered from vector data provided by a VectorVolume node. The ribbon colours are specified from vector magnitude through specified colour function.
Every field is routed to an update field and will upon change trigger an update of stream ribbons.
X3D Interface | ||||
| Name | Type | Default value | Description | |
![]() | vectorVolume | SFVectorVolume | null | The volume to visualize with this set of stream ribbons |
![]() | scalarVolume | SFScalarVolume | (ScalarExtractorField) | This volume controls the color of the tubes. If not specified the vector magnitude is used. |
![]() | source | MFVec3f | [] | Seeds for stream ribbons in the local coordinate system |
![]() | step | SFFloat | 0.01 | Integration step for the ribbon generation |
![]() | twoSided | SFBool | TRUE | If true the ribbons will be generated in two direction from the seed |
![]() | maxLength | SFFloat | 1.0 | The maximum length of the generated ribbons |
![]() | threshold | SFFloat | 0.0 | If the vector magnitude is lower than this value the ribbon is terminated. |
![]() | colorFunction | SFColorFunction | (0.0--1.0) | Color of the ribbons controlled by the vector magnitude |
![]() | width | SFFloat | 0.01 | Width of the ribbon. A ribbon getting too wide (because of divergence) will be split into two |
Public Member Functions | |
| void | initialize () |
| void | traverseSG (H3D::TraverseInfo &ti) |
Public Attributes | |
| auto_ptr< SFVectorDataNode > | vectorVolume |
| auto_ptr< SFScalarDataNode > | scalarVolume |
| auto_ptr< H3D::MFVec3f > | source |
| auto_ptr< SFColorFunction > | colorFunction |
| auto_ptr< H3D::SFFloat > | step |
| auto_ptr< H3D::SFBool > | twoSided |
| auto_ptr< H3D::SFFloat > | maxLength |
| auto_ptr< H3D::SFFloat > | threshold |
| auto_ptr< H3D::SFFloat > | width |
| auto_ptr< H3D::SFBool > | useEuler |
Static Public Attributes | |
| static H3D::H3DNodeDatabase | database |
Protected Member Functions | |
| void | createRibbons () |
| H3D::H3DFloat | addRibbon (H3D::Vec3f p1, H3D::Vec3f p2, H3D::H3DFloat max_length, H3D::H3DFloat step, std::vector< H3D::Vec3f > &point, std::vector< H3D::Vec3f > &normal, std::vector< H3D::RGB > &rgb, std::vector< int > &index) |
Protected Attributes | |
| auto_ptr< Update > | update |
Friends | |
| struct | Update |
Classes | |
| struct | Update |
1.5.6