#include <SoView2DPosition.h>

Public Member Functions | |
| SoView2DPosition () | |
| Constructor. | |
| void | draw (View2DSliceList *dsl, View2DSlice *dslice, int slice) |
| reimplemented from SoView2DExtension | |
| bool | evalEvent (SoView2D *view2d, View2DSliceList *slicelist, View2DEvent *ec, View2DEventPhase phase) |
| reimplemented from SoView2DExtension | |
| bool | ignoreEvent (View2DEvent *ec) |
| Overwrite ignoreEvent -> ignore the "ignoreHandledEvents"-Field. | |
Static Public Member Functions | |
| static void | initClass () |
| inventor runtime type system | |
Public Attributes | |
| SoSFVec3f | worldPosition |
| selected world position | |
| SoSFEnum | drawingModel |
| model that shall be used for the position indicator (crosshairs, circle...) | |
| SoSFInt32 | drawingModelSize |
| size of the position indicator model | |
| SoSFInt32 | crossHairSpacing |
| spacing in center of the crosshair position indicator | |
| SoSFBool | drawEditingRect |
| flag to draw mini rect in cursor center | |
| SoSFBool | colorAxes |
| flag to draw axes in color | |
| SoSFColor | coronalColor |
| color for coronal view | |
| SoSFColor | axialColor |
| color for axial view | |
| SoSFColor | sagittalColor |
| color for sagittal view | |
| SoSFBool | colorBorder |
| flag to draw colored borders | |
| SoSFFloat | colorBorderWidth |
| width of the color border | |
| SoSFFloat | lineWidth |
| line width of the rendered position indicators. | |
| SoSFFloat | blendOnto |
| blend factor for the slice the position is located on | |
| SoSFFloat | blendOutside |
| blend factor for the slice the position is not located on | |
| SoSFBool | updateOnPress |
| update worldPosition on press event | |
| SoSFBool | updateOnMotion |
| update worldPosition on motion event | |
| SoSFBool | updateOnRelease |
| update worldPosition on release event | |
| SoSFBool | cooperative |
| enable cooperative editing | |
| SoSFVec3f | firstSliceWorldPosition |
| world position on first slice (useful, if numOfSlices in the corresponding viewer is > 1) | |
Protected Member Functions | |
| void | getAxisColor (char orientation, float *color) |
| get color of orientation | |
Protected Attributes | |
| SbVec3f | _oldWorldPos |
| previous world position | |
| bool | _isDragging |
| flag if position is being dragged | |
Definition at line 31 of file SoView2DPosition.h.
| SoView2DPosition::SoView2DPosition | ( | ) |
Constructor.
| void SoView2DPosition::draw | ( | View2DSliceList * | dsl, | |
| View2DSlice * | dslice, | |||
| int | slice | |||
| ) | [virtual] |
| bool SoView2DPosition::evalEvent | ( | SoView2D * | view2d, | |
| View2DSliceList * | slicelist, | |||
| View2DEvent * | ec, | |||
| View2DEventPhase | phase | |||
| ) | [virtual] |
| void SoView2DPosition::getAxisColor | ( | char | orientation, | |
| float * | color | |||
| ) | [protected] |
get color of orientation
| bool SoView2DPosition::ignoreEvent | ( | View2DEvent * | ec | ) | [virtual] |
Overwrite ignoreEvent -> ignore the "ignoreHandledEvents"-Field.
Reimplemented from SoView2DExtension.
| static void SoView2DPosition::initClass | ( | ) | [static] |
bool SoView2DPosition::_isDragging [protected] |
SbVec3f SoView2DPosition::_oldWorldPos [protected] |
| SoSFColor SoView2DPosition::axialColor |
| SoSFFloat SoView2DPosition::blendOnto |
blend factor for the slice the position is located on
Definition at line 65 of file SoView2DPosition.h.
| SoSFFloat SoView2DPosition::blendOutside |
blend factor for the slice the position is not located on
Definition at line 67 of file SoView2DPosition.h.
| SoSFBool SoView2DPosition::colorAxes |
| SoSFBool SoView2DPosition::colorBorder |
| SoSFFloat SoView2DPosition::colorBorderWidth |
| SoSFBool SoView2DPosition::cooperative |
| SoSFColor SoView2DPosition::coronalColor |
| SoSFInt32 SoView2DPosition::crossHairSpacing |
spacing in center of the crosshair position indicator
Definition at line 44 of file SoView2DPosition.h.
| SoSFBool SoView2DPosition::drawEditingRect |
| SoSFEnum SoView2DPosition::drawingModel |
model that shall be used for the position indicator (crosshairs, circle...)
Definition at line 40 of file SoView2DPosition.h.
| SoSFInt32 SoView2DPosition::drawingModelSize |
world position on first slice (useful, if numOfSlices in the corresponding viewer is > 1)
Definition at line 78 of file SoView2DPosition.h.
| SoSFFloat SoView2DPosition::lineWidth |
| SoSFColor SoView2DPosition::sagittalColor |
| SoSFBool SoView2DPosition::updateOnMotion |
| SoSFBool SoView2DPosition::updateOnPress |
| SoSFBool SoView2DPosition::updateOnRelease |
| SoSFVec3f SoView2DPosition::worldPosition |
1.5.8