390 static void initClass() ;
391 static void exitClass() ;
406 virtual void setDefaultOnNonWritingFields();
407 virtual void addElementsAllCaches() ;
408 virtual void preRebuild();
411 void startVectorField();
412 void finishVectorField();
414 SoGroup *m_bodyGroupNode, *m_startArrowGroupNode, *m_endArrowGroupNode;
417 const float *m_scalarDataSet;
418 int m_vecIndexToDraw, m_vecIndex;
420 int m_allocVecPoints, m_allocModuleColr, m_allocScalarColr,
421 m_allocModuleTransparencies, m_allocScalarTransparencies,
423 float (*m_vecPoints)[3];
424 float (*m_moduleColr)[3];
425 float (*m_scalarColr)[3];
426 float *m_moduleTransparencies, *m_scalarTransparencies;
431 void drawVectorLine(
int nod_index);
433 void drawVectorLineScalarColr(
int nod_index);
434 void drawVectorLineScalarTranspColr(
int nod_index);
436 void drawVectorLineModuleColr(
int nod_index);
437 void drawVectorLineModuleTranspColr(
int nod_index);
439 void drawVectorLineScalarModuleColr(
int nod_index);
440 void drawVectorLineScalarModuleTranspColr(
int nod_index);
442 void drawVectorElaborated(
int nod_index);
444 void finishQuickVectorField();
445 void finishElaboratedVectorField();
446 void buildVectorFieldBodies();
447 void buildVectorFieldStartArrow();
448 void buildVectorFieldEndArrow();
454 FieldSensorList m_fieldSensorList ;
460 float m_vecLength, m_arrowLength;
462 ArrowColoringType m_bodyColoringType, m_startArrowColoringType, m_endArrowColoringType;
#define FALSE
Possible value of SbBool.
#define SO_KIT_CATALOG_ENTRY_HEADER(partName)
#define SO_KIT_HEADER(className)
<a href="IconLegend.html"><img src="extMV.gif" alt="MeshViz" border="0"></a> Defines a cartesian grid...
<a href="IconLegend.html"><img src="extMV.gif" alt="MeshViz" border="0"></a> Defines a mesh of hexahe...
<a href="IconLegend.html"><img src="extMV.gif" alt="MeshViz" border="0"></a> Defines a volume mesh of...
<a href="IconLegend.html"><img src="extMV.gif" alt="MeshViz" border="0"></a> Defines a parallel carte...
<a href="IconLegend.html"><img src="extMV.gif" alt="MeshViz" border="0"></a> Defines a regular cartes...
<a href="IconLegend.html"><img src="extMV.gif" alt="MeshViz" border="0"></a> Defines a mesh of tetrah...
<a href="IconLegend.html"><img src="extMV.gif" alt="MeshViz" border="0"></a> Base class for all volum...
<a href="IconLegend.html"><img src="extMV.gif" alt="MeshViz" border="0"></a> Representation of vector...
SoSFInt32 density
Vector field density filter.
SoSFEnum bodyRadiusType
Defines type of method to compute the cylinder's radius.
ArrowHeightType
Type of height of an arrow.
SoSFEnum bodyColoringType
coloring method of the body.
BodyLengthType
Type of body lenght.
SoSFEnum bodyShape
Type of shape (no body, line, cylinder) used to draw the body.
SoSFEnum eliminationStatus
If eliminationStatus = TOO_SMALL, the vectors which module is lower than minLength are not drawn.
SoSFEnum startArrowHeightType
Defines the type of method to compute the arrow height.
SoSFFloat startArrowRadiusFactor
The start-arrow's radius is start-arrow's height * startArrowRadiusFactor.
SoSFFloat startArrowHeightFactor
Height (or Height multiplicative factor) of the arrow shape.
SoSFFloat bodyRadiusFactor
Radius (or radius multiplicative factor) of the cylinder.
SoSFEnum endArrowHeightType
Defines the type of method to compute the arrow height.
SoSFEnum startArrowColoringType
Coloring method of the start shape.
SoSFFloat bodyLengthFactor
Length (or length multiplicative factor) of the body shape.
SoSFFloat maxLength
Maximum length of the vector to be drawn.
SoSFEnum endArrowColoringType
Coloring method of the end shape.
BodyRadiusType
Type of body radius.
SoSFEnum bodyLengthType
If bodyLengthType = CONSTANT_LENGTH, each vector has the same body length = bodyLengthFactor .
PoMesh3DVec()
Constructor.
EliminationStatus
Type of vector elimination.
SoSFEnum endArrowShape
Type of shape to be drawn at the end point of the body.
ArrowColoringType
Type of arrow coloring.
ArrowShape
Type of arrow shape.
SoSFEnum startArrowShape
Type of shape to be drawn at the start point of the body.
BodyShape
Type of body shape.
SoSFFloat endArrowHeightFactor
Height (or Height multiplicative factor) of the arrow shape.
virtual void rebuild()
Forces node-kit rebuilding.
SoSFFloat endArrowRadiusFactor
The end-arrow's radius is end-arrow's height * endArrowRadiusFactor.
SoSFFloat minLength
Minimum length of the vector to be drawn.
Maintains a list of pointers to fields.
Base class for all group nodes.
Field containing an enumerated value.
Field containing a floating-point value.
Field containing a int32_t integer.