|
| albaTypeMacro (albaInteractor2DAngle, albaInteractorPER) |
|
void | SetMeasureType (int t) |
|
void | SetMeasureTypeToAngleBetweenLines () |
|
void | SetMeasureTypeToAngleBetweenPoints () |
|
void | RemoveMeter () |
|
void | UndoMeasure () |
|
bool | IsDisableUndoAndOkCancel () |
|
void | SetManualAngle (double manualAngle) |
|
double | GetLastAngle () |
|
bool | GetRegisterMeasure () |
|
void | SetLabel (albaString label) |
|
albaString | GetLabel () |
|
int | SizeMeasureVector () |
|
void | ShowOnlyLastMeasure (bool show) |
|
void | ShowAllMeasures (bool show) |
|
albaRWIBase * | GetCurrentRwi () |
|
void | SetColor (double r, double g, double b) |
|
| albaTypeMacro (albaInteractorPER, albaInteractor) |
|
virtual void | EnableSelect (bool enable) |
|
virtual void | FlyToMode () |
|
bool | IsInteracting (albaDevice *device, int button=-1) |
|
virtual int | StartInteraction (albaDevice *device, int button) |
|
virtual int | StopInteraction (albaDevice *device, int button) |
|
virtual void | OnEvent (albaEventBase *event) |
|
void | OnVmeSelected (albaVME *vme) |
|
void | SetMode (int mode) |
|
int | GetMode () |
|
void | SetModeToSingleButton () |
|
void | SetModeToMultiButton () |
|
albaInteractor * | GetCameraMouseInteractor () |
|
albaInteractor * | GetCameraInteractor () |
|
| 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) |
|
|
| albaInteractor2DAngle () |
|
virtual | ~albaInteractor2DAngle () |
|
virtual void | OnLeftButtonDown (albaEventInteraction *e) |
|
virtual void | OnLeftButtonUp (albaEventInteraction *e) |
|
virtual void | OnMiddleButtonDown (albaEventInteraction *e) |
|
virtual void | OnMiddleButtonUp (albaEventInteraction *e) |
|
virtual void | OnRightButtonDown (albaEventInteraction *e) |
|
virtual void | OnRightButtonUp (albaEventInteraction *e) |
|
virtual void | OnButtonDown (albaEventInteraction *e) |
|
virtual void | OnMove (albaEventInteraction *e) |
|
virtual void | OnButtonUp (albaEventInteraction *e) |
|
virtual void | OnChar (albaEventInteraction *e) |
|
void | DrawMeasureTool (double x, double y) |
|
void | CalculateMeasure () |
|
| albaInteractorPER () |
|
virtual | ~albaInteractorPER () |
|
virtual int | OnStartInteraction (albaEventInteraction *e) |
|
virtual int | OnStopInteraction (albaEventInteraction *e) |
|
virtual void | OnButtonDown (albaEventInteraction *e) |
|
virtual void | OnButtonUp (albaEventInteraction *e) |
|
virtual void | OnLeftButtonDown (albaEventInteraction *e) |
|
virtual void | OnLeftButtonUp (albaEventInteraction *e) |
|
virtual void | OnMiddleButtonDown (albaEventInteraction *e) |
|
virtual void | OnMiddleButtonUp (albaEventInteraction *e) |
|
virtual void | OnRightButtonDown (albaEventInteraction *e) |
|
virtual void | OnRightButtonUp (albaEventInteraction *e) |
|
virtual void | OnMove (albaEventInteraction *e) |
|
virtual void | OnChar (albaEventInteraction *e) |
|
virtual void | FlyTo (albaEventInteraction *e, int numstep=20, double zoom=1) |
|
void | InsertDevice (albaDevice *device, int button) |
|
void | RemoveDevice (albaDevice *device) |
|
void | SetCurrentBehavior (albaDevice *device, albaInteractor *inter) |
|
albaInteractor * | GetCurrentBehavior (albaDevice *device) |
|
void | SetPickedVME (albaDevice *device, albaVME *vme) |
|
albaVME * | GetPickedVME (albaDevice *device) |
|
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) |
|
Class implementing an interactor for creating 2D measure tool.
This interactor build a line from picked points on VME and draw a 2D line on the renderwindow. If to the interactor is activated the flag to probe the scalar values of the VME then it generate also the histogram of the probed points on VME. This interactor works in renderwindow with ParallelProjectionOn.
@comments
- Modified to work on multiple render windows while maintaining measure persistence at button up
Definition at line 49 of file albaInteractor2DAngle.h.