#include <SoView2DVectorFieldView.h>

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. | |
Include base class from which we typically derive our new extension. SoView2DExtension for detailed voxel viewing.
Definition at line 44 of file SoView2DVectorFieldView.h.
| SoView2DVectorFieldView::SoView2DVectorFieldView | ( | void | ) |
Creates a detail viewer for voxels.
| 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.
| SoSFColor SoView2DVectorFieldView::arrowTipColor |
| SoSFFloat SoView2DVectorFieldView::arrowTipHeight |
| SoSFFloat SoView2DVectorFieldView::arrowTipWidth |
Indicate that we want absolute width values instead of relative widths.
Definition at line 88 of file SoView2DVectorFieldView.h.
| SoSFColor SoView2DVectorFieldView::midpointColor |
| SoSFUInt32 SoView2DVectorFieldView::midpointSegments |
| SoSFFloat SoView2DVectorFieldView::midpointSize |
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.
| SoSFUInt32 SoView2DVectorFieldView::stepWidth |
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.
| SoSFColor SoView2DVectorFieldView::vectorColor |
| SoSFFloat SoView2DVectorFieldView::vectorLength |
| SoSFFloat SoView2DVectorFieldView::vectorMinLength |
Threshold on minimum vector length (to speed up rendering).
Definition at line 98 of file SoView2DVectorFieldView.h.
| SoSFFloat SoView2DVectorFieldView::vectorWidth |
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.
1.5.8