#define SOVIEW2D_API
File to resolve system dependencies in View2D library.
void updateValues() override
Update fields to local variables, may be reimplemented if you want to update additional local vars.
SoSFColor focusColor
Color that should be used for drawing if the view has the focus.
SoSFFloat focusBorderWidth
The width of the border that should be used for drawing if the view has the focus.
SoSFFloat borderWidth
The width of the border in pixels.
void drawBorder(View2DSlice *dslice, const float *rgbaColor, float width)
render the border on slice with given color, alpha and line width
float _rgbFocusColor[4]
Color of the object for viewers with focus, update on each field change by _nodeSensor.
void draw(View2DSliceList *dsl, View2DSlice *dslice, int slice) override
Draws a border on the given slice.
SoSFBool evaluateFocus
Flag indicating if the focus should be evaluated.
SoView2DExtension()
Constructor.
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