MeVisLabToolboxReference
SoView2DVoxelValue Class Reference

reads the voxel value at the mouse position on a SoView2D More...

#include <SoView2DVoxelValue.h>

Inheritance diagram for SoView2DVoxelValue:
SoView2DInteractionExtension SoView2DExtension

List of all members.

Public Member Functions

 SoView2DVoxelValue ()
 Constructor.
bool evalEvent (SoView2D *view2d, View2DSliceList *slicelist, View2DEvent *ec, View2DEventPhase phase)
 reimplemented from SoView2DExtension

Static Public Member Functions

static void initClass ()
 inventor runtime type system

Public Attributes

SoSFVec3f voxelPosition
 the current voxel position
SoSFVec3f worldPosition
 the current world position
SoSFVec3f integerPosition
 the current voxel position rounded to integer
SoSFFloat storedValue
 the real value that is stored in the image
SoSFFloat outputValue
 the medical adjusted image value
SoSFInt32 maxPrecision
SoSFString storedValueString
SoSFString outputValueString

Protected Member Functions

void updateVoxelPosition (const SbVec3f &voxelPos, SoView2D *view2d, View2DSliceList *slicelist)
 update voxelPosition
virtual void pointerPosition (const SoPointerPosition &pos)
 interface inherited from SoInteractionProvider
virtual void startPressAt (const SoPointerPosition &pos)
 interface forwarded from SoPointingAction:
virtual void dragMoveTo (const SoPointerPosition &pos)

Detailed Description

reads the voxel value at the mouse position on a SoView2D

Definition at line 26 of file SoView2DVoxelValue.h.


Constructor & Destructor Documentation

SoView2DVoxelValue::SoView2DVoxelValue ( )

Constructor.


Member Function Documentation

virtual void SoView2DVoxelValue::dragMoveTo ( const SoPointerPosition &  pos) [protected, virtual]

Reimplemented from SoView2DInteractionExtension.

bool SoView2DVoxelValue::evalEvent ( SoView2D view2d,
View2DSliceList slicelist,
View2DEvent ec,
View2DEventPhase  phase 
) [virtual]

reimplemented from SoView2DExtension

Reimplemented from SoView2DExtension.

static void SoView2DVoxelValue::initClass ( ) [static]

inventor runtime type system

Reimplemented from SoView2DInteractionExtension.

virtual void SoView2DVoxelValue::pointerPosition ( const SoPointerPosition &  pos) [protected, virtual]

interface inherited from SoInteractionProvider

virtual void SoView2DVoxelValue::startPressAt ( const SoPointerPosition &  pos) [protected, virtual]

interface forwarded from SoPointingAction:

Reimplemented from SoView2DInteractionExtension.

void SoView2DVoxelValue::updateVoxelPosition ( const SbVec3f &  voxelPos,
SoView2D view2d,
View2DSliceList slicelist 
) [protected]

update voxelPosition


Member Data Documentation

the current voxel position rounded to integer

Definition at line 37 of file SoView2DVoxelValue.h.

Definition at line 45 of file SoView2DVoxelValue.h.

the medical adjusted image value

Definition at line 42 of file SoView2DVoxelValue.h.

Definition at line 47 of file SoView2DVoxelValue.h.

the real value that is stored in the image

Definition at line 40 of file SoView2DVoxelValue.h.

Definition at line 46 of file SoView2DVoxelValue.h.

the current voxel position

Definition at line 33 of file SoView2DVoxelValue.h.

the current world position

Definition at line 35 of file SoView2DVoxelValue.h.


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