MeVisLabToolboxReference
SoView2DBorderHighlight Class Reference

SoView2D extension that draws a border around a selected range of slices. More...

#include <SoView2DBorderHighlight.h>

Inheritance diagram for SoView2DBorderHighlight:
SoView2DBorder SoView2DExtension

List of all members.

Public Member Functions

 SoView2DBorderHighlight ()
void draw (View2DSliceList *dsl, View2DSlice *dslice, int slice)
 draws a border on the given slice
virtual void updateValues ()
 Update fields to local variables.

Static Public Member Functions

static void initClass ()
 Initializes this class.

Public Attributes

SoSFFloat alphaFactor
 Alpha value (in [0..1])
SoSFFloat lineWidth
 Line width.
SoSFInt32 startSlice
 Start index of slices to highlight.
SoSFInt32 numSlices
 Number of slices to highlight.

Detailed Description

SoView2D extension that draws a border around a selected range of slices.

Definition at line 26 of file SoView2DBorderHighlight.h.


Constructor & Destructor Documentation

SoView2DBorderHighlight::SoView2DBorderHighlight ( )

Member Function Documentation

void SoView2DBorderHighlight::draw ( View2DSliceList dsl,
View2DSlice dslice,
int  slice 
) [virtual]

draws a border on the given slice

Reimplemented from SoView2DBorder.

static void SoView2DBorderHighlight::initClass ( ) [static]

Initializes this class.

Reimplemented from SoView2DBorder.

virtual void SoView2DBorderHighlight::updateValues ( ) [virtual]

Update fields to local variables.

Reimplemented from SoView2DBorder.


Member Data Documentation

Alpha value (in [0..1])

Definition at line 42 of file SoView2DBorderHighlight.h.

Line width.

Definition at line 45 of file SoView2DBorderHighlight.h.

Number of slices to highlight.

Definition at line 51 of file SoView2DBorderHighlight.h.

Start index of slices to highlight.

Definition at line 48 of file SoView2DBorderHighlight.h.


The documentation for this class was generated from the following file: