Back to index

salome-gui  6.5.0
Classes | Enumerations | Functions
SVTK Namespace Reference

Classes

protocol  SVTK_EXPORT
struct  TIsSameEntry
 This functor check, if the actor have pointed entry. More...
struct  TIsSameIObject
 This functor check, if the actor point to the same SALOME_InteractiveObject. More...
struct  THighlight
 This highlight every input actor. More...
struct  TCollectIfVisible
 This collect visible IO in list. More...
struct  THighlightAction
struct  TIsActorVisibleAction
struct  TErase
struct  TRemoveAction

Enumerations

enum  Event {
  SpaceMouseMoveEvent = vtkCommand::UserEvent + 1000, SpaceMouseButtonEvent, PanLeftEvent, PanRightEvent,
  PanUpEvent, PanDownEvent, ZoomInEvent, ZoomOutEvent,
  RotateLeftEvent, RotateRightEvent, RotateUpEvent, RotateDownEvent,
  PlusSpeedIncrementEvent, MinusSpeedIncrementEvent, SetSpeedIncrementEvent, SetSMDecreaseSpeedEvent,
  SetSMIncreaseSpeedEvent, SetSMDominantCombinedSwitchEvent, StartZoom, StartPan,
  StartRotate, StartGlobalPan, StartFitArea, SetRotateGravity,
  SetRotateSelected, StartPointSelection, BBCenterChanged, RotationPointChanged,
  ChangeRotationPoint, SetFocalPointGravity, SetFocalPointSelected, StartFocalPointSelection,
  FocalPointChanged, OperationFinished, LastEvent
}

Functions

int convertAction (const int accelAction)

Enumeration Type Documentation

Enumerator:
SpaceMouseMoveEvent 
SpaceMouseButtonEvent 
PanLeftEvent 
PanRightEvent 
PanUpEvent 
PanDownEvent 
ZoomInEvent 
ZoomOutEvent 
RotateLeftEvent 
RotateRightEvent 
RotateUpEvent 
RotateDownEvent 
PlusSpeedIncrementEvent 
MinusSpeedIncrementEvent 
SetSpeedIncrementEvent 
SetSMDecreaseSpeedEvent 
SetSMIncreaseSpeedEvent 
SetSMDominantCombinedSwitchEvent 
StartZoom 
StartPan 
StartRotate 
StartGlobalPan 
StartFitArea 
SetRotateGravity 
SetRotateSelected 
StartPointSelection 
BBCenterChanged 
RotationPointChanged 
ChangeRotationPoint 
SetFocalPointGravity 
SetFocalPointSelected 
StartFocalPointSelection 
FocalPointChanged 
OperationFinished 
LastEvent 

Definition at line 34 of file SVTK_Event.h.


Function Documentation

SVTK_EXPORT int SVTK::convertAction ( const int  accelAction)

Definition at line 108 of file SVTK_ViewWindow.cxx.

  {
    switch ( accelAction ) {
    case SUIT_Accel::PanLeft     : return SVTK::PanLeftEvent;
    case SUIT_Accel::PanRight    : return SVTK::PanRightEvent;
    case SUIT_Accel::PanUp       : return SVTK::PanUpEvent;
    case SUIT_Accel::PanDown     : return SVTK::PanDownEvent;
    case SUIT_Accel::ZoomIn      : return SVTK::ZoomInEvent;
    case SUIT_Accel::ZoomOut     : return SVTK::ZoomOutEvent;
    case SUIT_Accel::RotateLeft  : return SVTK::RotateLeftEvent;
    case SUIT_Accel::RotateRight : return SVTK::RotateRightEvent;
    case SUIT_Accel::RotateUp    : return SVTK::RotateUpEvent;
    case SUIT_Accel::RotateDown  : return SVTK::RotateDownEvent;  
    }
    return accelAction;
  }