MeVisLabToolboxReference
SoView2DEnlargeOnClick Class Reference

allows changing the current slice of the SoView2D with mouse movement and mousewheel More...

#include <SoView2DEnlargeOnClick.h>

Inheritance diagram for SoView2DEnlargeOnClick:
SoView2DExtension

List of all members.

Public Member Functions

 SoView2DEnlargeOnClick ()
 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 actOnDoubleClick
 act on a double click event only
SoSFTrigger clicked
 trigger that is touched when the click (or doubleclick, when actOnDoubleClick is enabled) happens
SoSFString viewName
 the name of the view that was clicked on (when working on a SoOrthoView2D, the name will be one of "AXIAL", "SAGGITAL", "CORONAL" (output-only field)

Detailed Description

allows changing the current slice of the SoView2D with mouse movement and mousewheel

Definition at line 21 of file SoView2DEnlargeOnClick.h.


Constructor & Destructor Documentation

SoView2DEnlargeOnClick::SoView2DEnlargeOnClick ( )

Constructor.


Member Function Documentation

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

reimplemented from SoView2DExtension

Reimplemented from SoView2DExtension.

static void SoView2DEnlargeOnClick::initClass ( ) [static]

inventor runtime type system

Reimplemented from SoView2DExtension.


Member Data Documentation

act on a double click event only

Definition at line 27 of file SoView2DEnlargeOnClick.h.

trigger that is touched when the click (or doubleclick, when actOnDoubleClick is enabled) happens

Definition at line 30 of file SoView2DEnlargeOnClick.h.

the name of the view that was clicked on (when working on a SoOrthoView2D, the name will be one of "AXIAL", "SAGGITAL", "CORONAL" (output-only field)

Definition at line 34 of file SoView2DEnlargeOnClick.h.


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