MeVisLabToolboxReference
SoView2DVectorFieldView Class Reference

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

#include <SoView2DVectorFieldView.h>

Inheritance diagram for SoView2DVectorFieldView:
SoView2DExtension

List of all members.

Public Member Functions

 SoView2DVectorFieldView (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.
SoSFColor vectorColor
 The vector color.
SoSFColor midpointColor
 The point color;.
SoSFFloat midpointSize
 Size of the midpoints as a factor of the voxel size.
SoSFUInt32 midpointSegments
 Number of point segments.
SoSFBool midpointAbsoluteSize
 Indicate that we want absolute width values instead of relative widths.
SoSFFloat vectorWidth
 Width of the vectors, as a factor of the voxel size.
SoSFFloat vectorLength
 Vector length.
SoSFFloat vectorMinLength
 Threshold on minimum vector length (to speed up rendering)
SoSFBool vectorAbsoluteSize
 Again, indicate we want absolute widths.
SoSFUInt32 stepWidth
 Step width between shown vectors.
SoSFBool drawArrowTips
 Indicate we want to draw some arrow tips.
SoSFColor arrowTipColor
 The color of the arrow tips.
SoSFFloat arrowTipWidth
 The width of the arrow tips.
SoSFFloat arrowTipHeight
 The height of the arrow tips.
SoSFBool normalizeVectors
 Normalize, that is, scale all vectors to the same length.
SoSFBool useComps2And3
 If enabled then component 2 and 3 are used as x and y component, default is false.

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 44 of file SoView2DVectorFieldView.h.


Constructor & Destructor Documentation

SoView2DVectorFieldView::SoView2DVectorFieldView ( void  )

Creates a detail viewer for voxels.


Member Function Documentation

virtual void SoView2DVectorFieldView::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 SoView2DVectorFieldView::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

The color of the arrow tips.

Definition at line 110 of file SoView2DVectorFieldView.h.

The height of the arrow tips.

Definition at line 116 of file SoView2DVectorFieldView.h.

The width of the arrow tips.

Definition at line 113 of file SoView2DVectorFieldView.h.

Indicate we want to draw some arrow tips.

Definition at line 107 of file SoView2DVectorFieldView.h.

Indicate that we want absolute width values instead of relative widths.

Definition at line 88 of file SoView2DVectorFieldView.h.

The point color;.

Definition at line 79 of file SoView2DVectorFieldView.h.

Number of point segments.

Definition at line 85 of file SoView2DVectorFieldView.h.

Size of the midpoints as a factor of the voxel size.

Definition at line 82 of file SoView2DVectorFieldView.h.

Normalize, that is, scale all vectors to the same length.

Definition at line 119 of file SoView2DVectorFieldView.h.

Step width between shown vectors.

Definition at line 104 of file SoView2DVectorFieldView.h.

If enabled then component 2 and 3 are used as x and y component, default is false.

Definition at line 122 of file SoView2DVectorFieldView.h.

Again, indicate we want absolute widths.

Definition at line 101 of file SoView2DVectorFieldView.h.

The vector color.

Definition at line 76 of file SoView2DVectorFieldView.h.

Vector length.

Definition at line 95 of file SoView2DVectorFieldView.h.

Threshold on minimum vector length (to speed up rendering)

Definition at line 98 of file SoView2DVectorFieldView.h.

Width of the vectors, as a factor of the voxel size.

This is NOT the vector length;

Definition at line 92 of file SoView2DVectorFieldView.h.


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