|
| albaTypeMacro (albaInteractorDICOMImporter, albaInteractorCameraMove) |
|
virtual int | StartInteraction (albaDeviceButtonsPadMouse *mouse) |
|
virtual void | OnMouseMove () |
|
virtual void | OnLeftButtonDown (albaEventInteraction *e) |
|
virtual void | SetRendererAndView (vtkRenderer *ren, albaView *view) |
|
void | SetRWI (albaRWI *rwi) |
|
void | CalculateSideDragged (double *pos) |
|
virtual void | OnEvent (albaEventBase *event) |
|
virtual void | OnLeftButtonUp () |
|
void | GetPlaneBounds (double *bounds) |
|
void | SetSliceBounds (double *bounds) |
|
void | PlaneVisibilityOn () |
|
void | PlaneVisibilityOff () |
|
| albaTypeMacro (albaInteractorCameraMove, albaInteractor) |
|
virtual int | StartInteraction (albaDeviceButtonsPadMouse *mouse) |
|
virtual void | OnEvent (albaEventBase *event) |
|
virtual void | OnMouseMove () |
|
virtual void | OnLeftButtonDown (albaEventInteraction *e) |
|
virtual void | OnLeftButtonUp () |
|
virtual void | OnMiddleButtonDown (albaEventInteraction *e) |
|
virtual void | OnMiddleButtonUp () |
|
virtual void | OnRightButtonDown (albaEventInteraction *e) |
|
virtual void | OnRightButtonUp () |
|
virtual void | Rotate () |
|
virtual void | Spin () |
|
virtual void | Pan () |
|
virtual void | Dolly () |
|
virtual void | StartRotate () |
|
virtual void | EndRotate () |
|
virtual void | StartZoom () |
|
virtual void | EndZoom () |
|
virtual void | StartPan () |
|
virtual void | EndPan () |
|
virtual void | StartSpin () |
|
virtual void | EndSpin () |
|
virtual void | StartDolly () |
|
virtual void | EndDolly () |
|
virtual void | StartState (int newstate) |
|
virtual void | StopState () |
|
void | ResetClippingRange () |
|
virtual void | AutoResetClippingRangeOn () |
|
virtual void | AutoResetClippingRangeOff () |
|
| albaInteractor () |
|
virtual | ~albaInteractor () |
|
| ALBA_ID_DEC (INTERACTION_STARTED) |
|
| ALBA_ID_DEC (INTERACTION_STOPPED) |
|
| ALBA_ID_DEC (BUTTON_DOWN) |
|
| ALBA_ID_DEC (BUTTON_UP) |
|
| albaAbstractTypeMacro (albaInteractor, albaAgent) |
|
virtual void | SetRendererAndView (vtkRenderer *ren, albaView *view) |
|
vtkRenderer * | GetRenderer () |
|
albaView * | GetView () |
|
albaDevice * | GetDevice () |
|
virtual void | SetDevice (albaDevice *) |
|
virtual void | SetVME (albaVME *vme) |
|
void | SetProp (vtkProp3D *prop) |
|
void | SetIgnoreTriggerEvents (bool flag) |
|
int | GetIgnoreTriggerEvents (bool flag) |
|
void | IgnoreTriggerEventsOn () |
|
void | IgnoreTriggerEventsOff () |
|
void | SetStartInteractionEvent (albaID event) |
|
albaID | GetStartInteractionEvent () |
|
void | SetStopInteractionEvent (albaID event) |
|
albaID | GetStopInteractionEvent () |
|
void | SetStartButton (int btn) |
|
int | GetStartButton () |
|
void | SetModifiers (int mod) |
|
int | GetModifiers () |
|
int | GetCurrentButton () |
|
unsigned long | GetCurrentModifier () |
|
virtual int | StartInteraction (albaDevice *device) |
|
virtual int | StopInteraction (albaDevice *device) |
|
virtual bool | IsInteracting () |
|
virtual bool | IsInteracting (albaDevice *device) |
|
void | SetButtonMode (int mode) |
|
int | GetButtonMode () |
|
void | SetButtonModeToSingleButton () |
|
void | SetButtonModeToMultiButton () |
|
virtual void | OnEvent (albaEventBase *event) |
|
void | TestModeOn () |
|
void | TestModeOff () |
|
bool | GetTestMode () |
|
| albaAbstractTypeMacro (albaAgent, albaReferenceCounted) |
|
| ALBA_ID_DEC (AGENT_INITIALIZE) |
|
void | AddObserver (albaObserver *listener, albaID channel=MCH_UP) |
|
void | RemoveObserver (albaObserver *listener) |
|
void | RemoveAllObservers () |
|
virtual void | OnEvent (albaEventBase *event) |
|
bool | HasObservers (albaID channel) |
|
void | GetObservers (albaID channel, std::vector< albaObserver * > &olist) |
|
int | Initialize () |
|
void | Shutdown () |
|
int | IsInitialized () |
|
virtual void | SetName (const char *name) |
|
const char * | GetName () |
|
| albaReferenceCounted () |
|
virtual | ~albaReferenceCounted () |
|
| albaAbstractTypeMacro (albaReferenceCounted, albaObject) |
|
virtual void | Delete () |
|
void | Register (void *obj) |
|
virtual void | UnRegister (void *obj) |
|
int | GetReferenceCount () |
|
void | SetReferenceCount (int) |
|
| albaObject () |
|
virtual | ~albaObject () |
|
virtual void | Delete () |
|
virtual const char * | GetTypeName () const |
|
virtual bool | IsA (const char *type_name) const |
|
virtual bool | IsA (const albaTypeID &type_id) const |
|
virtual albaObject * | NewObjectInstance () const =0 |
|
virtual const albaTypeID & | GetTypeId () const |
|
virtual void | Print (std::ostream &os, const int indent=0) const |
|
| albaObject (const albaObject &c) |
|
| albaObserver () |
|
virtual | ~albaObserver () |
|
virtual void | OnEvent (albaEventBase *e)=0 |
|
| albaEventBroadcaster (void *owner=NULL) |
|
virtual | ~albaEventBroadcaster () |
|
| albaEventBroadcaster (const albaEventBroadcaster &c) |
|
void | AddObserver (albaObserver *obj) |
|
void | AddObserver (albaObserver &obj) |
|
albaObserverCallback * | AddObserverCallback (void(*f)(void *sender, albaID eid, void *clientdata, void *calldata)) |
|
bool | RemoveObserver (albaObserver *obj) |
|
void | RemoveAllObservers () |
|
bool | IsObserver (albaObserver *obj) |
|
bool | HasObservers () |
|
void | GetObservers (std::vector< albaObserver * > &olist) |
|
void | InvokeEvent (albaEventBase &e) |
|
void | InvokeEvent (albaEventBase *e) |
|
void | InvokeEvent (void *sender, albaID id=ID_NO_EVENT, void *data=NULL) |
|
void | SetChannel (albaID ch) |
|
albaID | GetChannel () |
|
virtual void | SetListener (albaObserver *o) |
|
| albaEventSender () |
|
virtual void | SetListener (albaObserver *o) |
|
virtual albaObserver * | GetListener () |
|
virtual bool | HasListener () |
|
virtual void | InvokeEvent (albaEventBase &e) |
|
virtual void | InvokeEvent (albaEventBase *e) |
|
virtual void | InvokeEvent (void *sender, albaID id=ID_NO_EVENT, void *data=NULL) |
|
|
| albaInteractorDICOMImporter () |
|
virtual | ~albaInteractorDICOMImporter () |
|
void | SetPlaneFromSliceSize () |
|
| albaInteractorCameraMove () |
|
virtual | ~albaInteractorCameraMove () |
|
virtual void | OnButtonDown (albaEventInteraction *e) |
|
virtual void | OnButtonUp (albaEventInteraction *e) |
|
virtual void | OnMouseWheel (albaEventInteraction *e) |
|
virtual int | OnStartInteraction (albaEventInteraction *e) |
|
virtual int | OnStopInteraction (albaEventInteraction *e) |
|
virtual void | OnButtonDown (albaEventInteraction *e) |
|
virtual void | OnButtonUp (albaEventInteraction *e) |
|
void | ComputeDisplayToWorld (double x, double y, double z, double worldPt[4]) |
|
void | ComputeWorldToDisplay (double x, double y, double z, double displayPt[3]) |
|
| albaAgent () |
|
virtual | ~albaAgent () |
|
virtual int | InternalInitialize () |
|
virtual void | InternalShutdown () |
|
void | InvokeEvent (albaEventBase &event, albaID channel=-1) |
|
void | InvokeEvent (albaEventBase *event, albaID channel=-1) |
|
void | InvokeEvent (void *sender, int id, albaID channel=MCH_UP, void *data=NULL) |
|
Implements mouse move of the camera in the scene and notify the listener with world coordinates on left mouse pick , left mouse move and left mouse up.
This class implements a mouse move of the renderer camera in the scene. The interaction modality is a mouse manipulation, where movements of the mouse are mapped into movements of the camera.
On left button down: Send pick position in world coordinates to the listener On mouse move: Send cursor position in world coordinates to the listener On left button up: Send cursor position in world coordinates to the listener
Picked World Coordinates position is sent as single vtkPoint to the listener
in the following way:
vtkALBASmartPointer<vtkPoints> position_point; position_point->SetNumberOfPoints(1); position_point->SetPoint(0,wp[0],wp[1],wp[2]);
albaEventMacro(albaEvent(this, event_id, position_point.GetPointer()));
- See also
- albaOpImporterDicomOffis where this class is used in the Dicom importer wizard dialog
Definition at line 60 of file albaInteractorDICOMImporter.h.