#include <SoView2DSlicer.h>

Public Member Functions | |
| SoView2DSlicer () | |
| Constructor. | |
| void | updateValues () |
| setup code | |
| 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 | |
| SoSFFloat | sensitivity |
| sensitivity used for sliding | |
| SoSFBool | permitInteractionOutsideImage |
| Field for toggling the interaction out of the image on/off. | |
Protected Attributes | |
| int | _oldY |
| previous y coordinate of mouse | |
| int | _sumY |
| current sum of y movement since last slice change | |
| unsigned | _prevWheelCode |
| previous wheel rotation orientation & sign code | |
| int | _sumWheel |
| current sum of 1/8 degrees of wheel rotation | |
Definition at line 20 of file SoView2DSlicer.h.
| SoView2DSlicer::SoView2DSlicer | ( | ) |
Constructor.
| bool SoView2DSlicer::evalEvent | ( | SoView2D * | view2d, | |
| View2DSliceList * | slicelist, | |||
| View2DEvent * | ec, | |||
| View2DEventPhase | phase | |||
| ) | [virtual] |
| static void SoView2DSlicer::initClass | ( | ) | [static] |
| void SoView2DSlicer::updateValues | ( | ) | [virtual] |
int SoView2DSlicer::_oldY [protected] |
unsigned SoView2DSlicer::_prevWheelCode [protected] |
int SoView2DSlicer::_sumWheel [protected] |
int SoView2DSlicer::_sumY [protected] |
Field for toggling the interaction out of the image on/off.
Definition at line 35 of file SoView2DSlicer.h.
| SoSFFloat SoView2DSlicer::sensitivity |
1.5.8