29#include <Inventor/fields/SoFields.h>
#define SOVIEW2D_API
File to resolve system dependencies in View2D library.
SoView2DExtension Base class for all View2DExtensions used for drawing and event handling on the View...
SoView2DExtension for displaying a vector field.
SoSFFloat midpointSize
Size of the midpoints as a factor of the voxel size.
SoSFUInt32 midpointSegments
Number of point segments.
SoSFBool vectorAbsoluteSize
Again, indicate we want absolute widths.
SoSFColor arrowTipColor
The color of the arrow tips.
SoSFFloat vectorMinLength
Threshold on minimum vector length (to speed up rendering)
SoSFFloat vectorLength
Vector length.
static void initClass(void)
Initialization function of this class.
SoSFFloat arrowTipHeight
The height of the arrow tips.
SoView2DVectorFieldView(void)
Creates a detail viewer for voxels.
SoSFBool midpointAbsoluteSize
Indicate that we want absolute width values instead of relative widths.
SoSFColor midpointColor
The point color;.
SoSFBool normalizeVectors
Normalize, that is, scale all vectors to the same length.
SoSFFloat arrowTipWidth
The width of the arrow tips.
SoSFUInt32 stepWidth
Step width between shown vectors.
void draw(View2DSliceList *dsl, View2DSlice *dslice, int slice) override
Virtual method called by the SoView2D node.
SoSFFloat vectorWidth
Width of the vectors, as a factor of the voxel size.
SoSFBool useComps2And3
If enabled then component 2 and 3 are used as x and y component, default is false.
SoSFColor vectorColor
The vector color.
SoSFBool drawArrowTips
Indicate we want to draw some arrow tips.
a list that holds all View2DSlice objects (lazily created) of a SoView2D
a single slice that is stored in a View2DSliceList, typically created by a View2DSliceList
Target mlrange_cast(Source arg)
Generic version of checked ML casts.