18#ifndef __albaGizmoROI_H__
19#define __albaGizmoROI_H__
154 double m_Center[6][3];
163 friend class albaGizmoROITest ;
Implementation of the message object for the Subject/Observer design pattern.
Bounding box gizmo for highlighting a region of interest.
Base class for operations and views gizmos.
albaGizmoBoundingBox * m_OutlineGizmo
The gizmo bounding box.
virtual void UpdateGizmosLength()
Update the gizmos length.
int m_ActiveGizmoComponent
Register the active gizmo component at MOUSE_DOWN.
void Reset()
Reset the gizmo.
void UpdateOutlineBounds()
Update gizmo outline bounds based on handles position.
void Show(bool show)
Show the gizmo.
void Highlight(int component)
Highlight the given component and set highlight to false for the others.
double m_MinimumHandleSize
virtual void SetInput(albaVME *vme)
Set input vme for the gizmo.
albaGizmoROI(albaVME *input, albaObserver *listener=NULL, int constraintModality=albaGizmoHandle::BOUNDS, albaVME *parent=NULL, bool showShadingPlane=false)
void SetBounds(double bounds[6])
Set/Get the gizmo bounds.
void GetBounds(double bounds[6])
void UpdateHandlePositions()
After one handle movement recenter other handles.
void OnEventGizmoComponents(albaEventBase *alba_event)
Process events from gizmo components.
void SetMinimumHandleSize(double value)
void ShowROI(bool show)
Show gizmo cube.
virtual void OnEvent(albaEventBase *alba_event)
Events handling.
void HighlightOff()
Set highlight to false for all gizmo components.
bool m_EnableMinimumDistanceBetweenGizmo
void EnableMinimumDistanceBetweenGizmo(bool value)
void SetConstrainRefSys(albaMatrix *constrain)
Set the constrain ref sys.
void ShowHandles(bool show)
Show gizmo handles.
void EnableMinimumHandleSize(bool value)
Minimum handles size.
bool m_EnableMinimumHandleSize
void ShowShadingPlane(bool show)
Show shading planes.
void Highlight(int component, bool highlight)
Highlight one component of the gizmo and turn off the highlight others; setting highlight to false it...
albaMatrix - Time stamped 4x4 Matrix.
Interface implementing the Observer of the Subject/Observer design pattern.