MeVisLabToolboxReference
SoView2DDeformationGridView Class Reference

Include system dependency stuff of this library. More...

#include <SoView2DDeformationGridView.h>

Inheritance diagram for SoView2DDeformationGridView:
SoView2DExtension

List of all members.

Public Member Functions

 SoView2DDeformationGridView (void)
 Creates a detail viewer for voxels.
virtual void draw (View2DSliceList *dsl, View2DSlice *dslice, int slice)
 Virtual method called by the SoView2D node.

Static Public Member Functions

static void initClass (void)
 Initialization function of this class.

Public Attributes

Parameter fields.
SoSFUInt32 stepWidth
 Step width between shown vectors.
SoSFColor gridColor
 The grid color.
SoSFColor gridPointColor
 The grid color.
SoSFBool drawGridPoints
 Optional drawing of the center points.
SoSFUInt32 gridPointSegments
 The number of grid point segments.
SoSFFloat gridPointSize
 The scale of the grid points.
SoSFBool gridPointAbsoluteSize
 Draw absolute grid point size?

Detailed Description

Include system dependency stuff of this library.

Include base class from which we typically derive our new extension. SoView2DExtension for detailed voxel viewing.

Definition at line 43 of file SoView2DDeformationGridView.h.


Constructor & Destructor Documentation

SoView2DDeformationGridView::SoView2DDeformationGridView ( void  )

Creates a detail viewer for voxels.


Member Function Documentation

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

Virtual method called by the SoView2D node.

It is called for each slices drawn in each viewer. dsl is the View2DSliceList, the list containing all information of all slices handled by the viewer. dslice is the slice currently drawn and slice the the number of the currently drawn slice.

Reimplemented from SoView2DExtension.

static void SoView2DDeformationGridView::initClass ( void  ) [static]

Initialization function of this class.

It implements the registration of this class in the runtime type system of open Inventor and other user stuff e.g. activation of other Inventor classes (events, actions, elements) needed in this class.

Reimplemented from SoView2DExtension.


Member Data Documentation

Optional drawing of the center points.

Definition at line 84 of file SoView2DDeformationGridView.h.

The grid color.

Definition at line 78 of file SoView2DDeformationGridView.h.

Draw absolute grid point size?

Definition at line 93 of file SoView2DDeformationGridView.h.

The grid color.

Definition at line 81 of file SoView2DDeformationGridView.h.

The number of grid point segments.

Definition at line 87 of file SoView2DDeformationGridView.h.

The scale of the grid points.

Definition at line 90 of file SoView2DDeformationGridView.h.

Step width between shown vectors.

Definition at line 75 of file SoView2DDeformationGridView.h.


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