20#include <Inventor/fields/SoSFFloat.h>
21#include <Inventor/fields/SoSFInt32.h>
#define SOVIEW2D_API
File to resolve system dependencies in View2D library.
SoView2D extension that draws a border around a selected range of slices.
SoSFInt32 startSlice
Start index of slices to highlight.
SoSFInt32 numSlices
Number of slices to highlight.
SoSFFloat alphaFactor
Alpha value (in [0..1])
SoSFFloat lineWidth
Line width.
void updateValues() override
Update fields to local variables.
void draw(View2DSliceList *dsl, View2DSlice *dslice, int slice) override
draws a border on the given slice
SoView2DBorderHighlight()
SoView2D extension that draws a border with variable width and highlighting of focused viewport.
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.