24#ifndef _PO_BASESTREAMLINE_
25#define _PO_BASESTREAMLINE_
27#include <MeshViz/3Ddata/PoMesh.h>
179 static void initClass() ;
180 static void exitClass() ;
182 void integrateStreamLine(
const PbCell *start_cell,
const SbVec3f &start_point,
const SbVec3f &pcoord, PiStreamPath &stream_path,
183 float &length,
float &time,
184 const PoCellFilter* cell_filter,
const float *values_filter);
185 void integrateStreamLine(
const SbVec3f &start_point, PiStreamPath &stream_path,
186 float &length,
float &time);
193 virtual void setDefaultOnNonWritingFields() ;
195 virtual void addElementsAllCaches() ;
196 virtual void preRebuild();
198 virtual void saveNorm(PiStreamPath &stream_path,
const PbCell *cell,
SbVec3f &coord,
SbVec3f &pcoords);
199 virtual void saveSpeed(PiStreamPath &stream_path,
SbVec3f &speed);
200 virtual void saveTime(PiStreamPath &stream_path,
float time);
204 FieldSensorList m_fieldSensorList ;
<a href="IconLegend.html"><img src="extMV.gif" alt="MeshViz" border="0"></a> Defines an abstract cell...
<a href="IconLegend.html"><img src="extMV.gif" alt="MeshViz" border="0"></a> Base class of all stream...
PoBaseStreamLine()
Constructor.
SoSFEnum integrationDirection
Direction of integration.
SoSFFloat integrationStepLengthFactor
It is a factor of the size of a cell.
SoMFColor colors
List of colors used by some derived class to color each streamline.
IntegrationDirection
Type of integration direction.
@ BACKWARD
Integration is done as the inverse of the direction of the vectors.
@ FORWARD
Integration is done as the direction of the vectors.
SoSFInt32 integrationMaxStepNumber
Computing the streamline is done while the number of integration step is less than integrationMaxStep...
SoMFVec3f startPoints
Start points of the streamlines.
SoSFFloat minSpeed
The streamline ends when it goes through a point where the velocity is less than minSpeed.
SoSFFloat maxLength
The curvilinear distance between the start-point and the last point of a streamline must be less than...
SoSFFloat maxLifetime
The difference between the time of the start-point and the time of the last point of a streamline mus...
<a href="IconLegend.html"><img src="extMV.gif" alt="MeshViz" border="0"></a> Interface class defining...
<a href="IconLegend.html"><img src="extMV.gif" alt="MeshViz" border="0"></a> Base class for all mesh ...
Maintains a list of pointers to fields.
Multiple-value field containing any number of RGB colors stored as three floats.
Multiple-value field containing any number of three-dimensional vectors.
Field containing an enumerated value.
Field containing a floating-point value.
Field containing a int32_t integer.