SoView2DSliceShift Class Reference

allows to shift the slice by mouse movement inside of a SoView2D More...

#include <SoView2DSliceShiftZoom.h>

Inheritance diagram for SoView2DSliceShift:

SoView2DExtension

List of all members.

Public Member Functions

 SoView2DSliceShift ()
 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

SoSFBool editX
 shift in x
SoSFBool editY
 shift in y
SoSFBool evalStarted
 if true _started is evaluated during event handling.

Protected Attributes

float _oldX
 previous x position
float _oldY
 previous y position
bool _started
 set to true if EVENT_START was called


Detailed Description

allows to shift the slice by mouse movement inside of a SoView2D

Author:
Florian Link

Definition at line 22 of file SoView2DSliceShiftZoom.h.


Constructor & Destructor Documentation

SoView2DSliceShift::SoView2DSliceShift (  ) 

constructor


Member Function Documentation

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

reimplemented from SoView2DExtension

Reimplemented from SoView2DExtension.

static void SoView2DSliceShift::initClass (  )  [static]

inventor runtime type system

Reimplemented from SoView2DExtension.


Member Data Documentation

float SoView2DSliceShift::_oldX [protected]

previous x position

Definition at line 48 of file SoView2DSliceShiftZoom.h.

float SoView2DSliceShift::_oldY [protected]

previous y position

Definition at line 50 of file SoView2DSliceShiftZoom.h.

bool SoView2DSliceShift::_started [protected]

set to true if EVENT_START was called

Definition at line 53 of file SoView2DSliceShiftZoom.h.

shift in x

Definition at line 28 of file SoView2DSliceShiftZoom.h.

shift in y

Definition at line 30 of file SoView2DSliceShiftZoom.h.

if true _started is evaluated during event handling.

to fix a bug where EVENT_START isn't called when dynamically connecting SliceShift within a script

Definition at line 34 of file SoView2DSliceShiftZoom.h.


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

Generated on Sat Sep 3 18:39:33 2011 for MeVisLab Toolbox Reference by  doxygen 1.5.8