MeVisLabToolboxReference
SoView2DMagnifyController Class Reference

controls the settings of a second SoView2D to provide a magnify window More...

#include <SoView2DMagnifyController.h>

Inheritance diagram for SoView2DMagnifyController:
SoView2DExtension

List of all members.

Public Member Functions

 SoView2DMagnifyController ()
 Constructor.
virtual bool evalEvent (SoView2D *view2d, View2DSliceList *list, View2DEvent *event, View2DEventPhase phase)
 Handling of events occurring in the viewer.
virtual void draw (View2DSliceList *list, View2DSlice *slice, int z)
 Virtual method called by the SoView2D node when an image is rendered.

Static Public Member Functions

static void initClass ()
 Initializes this class (called on dll initialization).

Public Attributes

SoSFVec2f windowOffsetInPixels
SoSFVec2f windowStartPosition
SoSFVec2f windowCurrentPosition
SoSFVec2f translationScale
SoSFFloat magnify
SoSFMLImage inImage
SoSFBool inplace
SoSFVec2f inplaceWindowSize
SoSFInt32 startSlice
SoSFVec2f sliceOrigin
SoSFFloat pixelPerMm
SoSFVec3f worldStartPosition
SoSFTrigger showWindow
SoSFTrigger closeWindow
SoSFVec2f lowerLeft
SoSFVec2f upperRight

Protected Member Functions

virtual ~SoView2DMagnifyController ()
 Protected destructor.
void windowCurrentPositionChanged ()
 Called when field windowCurrentPosition changed.
void updateInplace (View2DSliceList *list, View2DEvent *ec)

Static Protected Member Functions

static void windowCurrentPositionChangedCB (void *data, SoSensor *sens)
 forward CB when field windowCurrentPosition changed

Detailed Description

controls the settings of a second SoView2D to provide a magnify window

Definition at line 40 of file SoView2DMagnifyController.h.


Constructor & Destructor Documentation

SoView2DMagnifyController::SoView2DMagnifyController ( )

Constructor.

virtual SoView2DMagnifyController::~SoView2DMagnifyController ( ) [protected, virtual]

Protected destructor.


Member Function Documentation

virtual void SoView2DMagnifyController::draw ( View2DSliceList list,
View2DSlice slice,
int  z 
) [virtual]

Virtual method called by the SoView2D node when an image is rendered.

Reimplemented from SoView2DExtension.

virtual bool SoView2DMagnifyController::evalEvent ( SoView2D view2d,
View2DSliceList list,
View2DEvent event,
View2DEventPhase  phase 
) [virtual]

Handling of events occurring in the viewer.

Reimplemented from SoView2DExtension.

static void SoView2DMagnifyController::initClass ( ) [static]

Initializes this class (called on dll initialization).

Reimplemented from SoView2DExtension.

void SoView2DMagnifyController::updateInplace ( View2DSliceList list,
View2DEvent ec 
) [protected]
void SoView2DMagnifyController::windowCurrentPositionChanged ( ) [protected]

Called when field windowCurrentPosition changed.

static void SoView2DMagnifyController::windowCurrentPositionChangedCB ( void *  data,
SoSensor *  sens 
) [static, protected]

forward CB when field windowCurrentPosition changed


Member Data Documentation

Definition at line 62 of file SoView2DMagnifyController.h.

Definition at line 80 of file SoView2DMagnifyController.h.


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