#include <SoView2DBorder.h>

Public Member Functions | |
| SoView2DBorder () | |
| void | draw (View2DSliceList *dsl, View2DSlice *dslice, int slice) |
| Draws a border on the given slice. | |
| virtual void | updateValues () |
| Update fields to local variables, may be reimplemented if you want to update additional local vars. | |
Static Public Member Functions | |
| static void | initClass () |
| Initializes this class. | |
Public Attributes | |
| SoSFFloat | borderWidth |
| The width of the border in pixels. | |
| SoSFBool | evaluateFocus |
| Flag indicating if the focus should be evaluated. | |
| 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. | |
Protected Member Functions | |
| void | drawBorder (View2DSlice *dslice, const float *rgbaColor, float width) |
| render the border on slice with given color, alpha and line width | |
Protected Attributes | |
| float | _rgbFocusColor [4] |
| Color of the object for viewers with focus, update on each field change by _nodeSensor. | |
Definition at line 24 of file SoView2DBorder.h.
| SoView2DBorder::SoView2DBorder | ( | ) |
| void SoView2DBorder::draw | ( | View2DSliceList * | dsl, | |
| View2DSlice * | dslice, | |||
| int | slice | |||
| ) | [virtual] |
Draws a border on the given slice.
Reimplemented from SoView2DExtension.
Reimplemented in SoView2DBorderHighlight.
| void SoView2DBorder::drawBorder | ( | View2DSlice * | dslice, | |
| const float * | rgbaColor, | |||
| float | width | |||
| ) | [protected] |
render the border on slice with given color, alpha and line width
| static void SoView2DBorder::initClass | ( | ) | [static] |
Initializes this class.
Reimplemented from SoView2DExtension.
Reimplemented in SoView2DBorderHighlight.
| virtual void SoView2DBorder::updateValues | ( | ) | [virtual] |
Update fields to local variables, may be reimplemented if you want to update additional local vars.
Reimplemented from SoView2DExtension.
Reimplemented in SoView2DBorderHighlight.
float SoView2DBorder::_rgbFocusColor[4] [protected] |
Color of the object for viewers with focus, update on each field change by _nodeSensor.
Definition at line 58 of file SoView2DBorder.h.
| SoSFFloat SoView2DBorder::borderWidth |
| SoSFBool SoView2DBorder::evaluateFocus |
| SoSFFloat SoView2DBorder::focusBorderWidth |
The width of the border that should be used for drawing if the view has the focus.
Definition at line 39 of file SoView2DBorder.h.
| SoSFColor SoView2DBorder::focusColor |
Color that should be used for drawing if the view has the focus.
Definition at line 36 of file SoView2DBorder.h.
1.5.8