#include <SoView2DSliceShiftZoom.h>

Public Types | |
| enum | DragMode { DRAG_TAKE_AND_PUSH, DRAG_APPROACH_AND_DEPART } |
Public Member Functions | |
| SoView2DSliceZoom () | |
| constructor | |
| virtual void | startDrawing (View2DSliceList *slicelist) |
| reimplemented from SoView2DExtension | |
| 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 | min |
| minimum zoom value | |
| SoSFFloat | max |
| maximum zoom value | |
| SoSFFloat | sensitivity |
| sensitivity of zooming | |
| SoSFEnum | dragMode |
| SoSFBool | evalStarted |
| if true _started is evaluated during event handling. | |
Protected Attributes | |
| float | _oldY |
| previous y position | |
| float | _currentx |
| current x slice shift | |
| float | _currenty |
| current y slice shift | |
| float | _newcenterx |
| new x center | |
| float | _newcentery |
| new y center | |
| bool | _gotoOn |
| flag to trigger zoom on repaint | |
| bool | _started |
| set to true if EVENT_START was called | |
Definition at line 60 of file SoView2DSliceShiftZoom.h.
Definition at line 66 of file SoView2DSliceShiftZoom.h.
| SoView2DSliceZoom::SoView2DSliceZoom | ( | ) |
constructor
| bool SoView2DSliceZoom::evalEvent | ( | SoView2D * | view2d, | |
| View2DSliceList * | slicelist, | |||
| View2DEvent * | ec, | |||
| View2DEventPhase | phase | |||
| ) | [virtual] |
| static void SoView2DSliceZoom::initClass | ( | ) | [static] |
| virtual void SoView2DSliceZoom::startDrawing | ( | View2DSliceList * | slicelist | ) | [virtual] |
float SoView2DSliceZoom::_currentx [protected] |
float SoView2DSliceZoom::_currenty [protected] |
bool SoView2DSliceZoom::_gotoOn [protected] |
float SoView2DSliceZoom::_newcenterx [protected] |
float SoView2DSliceZoom::_newcentery [protected] |
float SoView2DSliceZoom::_oldY [protected] |
bool SoView2DSliceZoom::_started [protected] |
| SoSFEnum SoView2DSliceZoom::dragMode |
Definition at line 78 of file SoView2DSliceShiftZoom.h.
| SoSFBool SoView2DSliceZoom::evalStarted |
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 82 of file SoView2DSliceShiftZoom.h.
| SoSFFloat SoView2DSliceZoom::max |
| SoSFFloat SoView2DSliceZoom::min |
| SoSFFloat SoView2DSliceZoom::sensitivity |
1.5.8