17#ifndef __albaGizmoInteractionDebugger_h
18#define __albaGizmoInteractionDebugger_h
44class vtkAppendPolyData;
46class albaVMEPolylineGraph;
Decorate input vme with curvilinear abscissa interface for albaVMEPolylineGraph constrained interacti...
Implementation of the message object for the Subject/Observer design pattern.
albaEvent - Class implementing ALBA application events.
albaGUI is a panel with function to easily create GUI.
Gizmo Helper Object for interaction stuff debug: this class should be expanded and refactored increme...
vtkLineSource * m_LineSource
void SetGizmoLength(double lineLength)
Set the length of the gizmo.
vtkAppendPolyData * m_AppendPolyData
void SetConstraintPolylineGraph(albaVMEPolylineGraph *constraintPolylineGraph)
Set the constraint polyline graph.
void CreateGizmoVTKData()
albaVMEGizmo * m_VmeGizmo
albaCurvilinearAbscissaOnSkeletonHelper * m_CurvilinearAbscissaHelper
void SetCurvilinearAbscissa(vtkIdType branchId, double s)
Set curvilinear abscissa along given constraint skeleton branch.
vtkSphereSource * m_SphereSource
void SetColor(double col[3])
Set the gizmo color.
void LogTransformEvent(albaEvent *e)
void OnEvent(albaEventBase *alba_event)
Events handling method.
vtkPlaneSource * m_PlaneSource
albaInteractorGenericMouse * m_LeftMouseInteractor
virtual ~albaGizmoInteractionDebugger()
albaGUI * GetGui()
Get the gizmo gui.
void Show(bool show)
Show/Hide the gizmos using actor visibility instead of pipe creation/destruction: this is used for fa...
void SetInput(albaVME *vme)
Not used since this gizmo is not moving anything.
vtkIdType GetActiveBranchId()
Get the active branch ie the branch to which gizmo is currently constrained.
@ CONSTRAINT_MODALITY_NUMBERS
albaGizmoInteractionDebugger(albaVME *inputVme, albaObserver *Listener=NULL, const char *name="GizmoPath", bool testMode=false)
inputVME is used just to put the gizmo on the vme tree: this gizmo is not moving anything but itself
albaInteractorCompositorMouse * m_GizmoInteractor
double GetCurvilinearAbscissa()
Get curvilinear abscissa along given constraint skeleton branch.
void Constructor(albaVME *imputVme, albaObserver *listener, const char *name, bool testMode=false)
Base class for operations and views gizmos.
Associates instances of albaInteractorGenericMouse to mouse buttons and ctrl/shift keys combinations.
Constrained interaction with mouse device.
Interface implementing the Observer of the Subject/Observer design pattern.
albaString - performs common string operations on c-strings.