18#ifndef __albaGizmoBoundingBox_H__
19#define __albaGizmoBoundingBox_H__
26#include "albaServiceClient.h"
27#include "albaAbsLogicManager.h"
28#include "albaVMEGizmo.h"
34class albaISACompositor;
36class vtkOutlineSource;
37class vtkCylinderSource;
38class vtkTransformPolyDataFilter;
84 void SetBounds(
double xmin,
double xmax,
double ymin,
double ymax,
double zmin,
double zmax);
102 void SetColor(
double colR,
double colG,
double colB);
113 friend class albaGizmoBoundingBoxTest;
114 friend class albaGizmoROITest;
Implementation of the message object for the Subject/Observer design pattern.
Bounding box gizmo for highlighting a region of interest.
void SetPose(albaMatrix *pose)
Set the gizmo local pose.
virtual void OnEvent(albaEventBase *alba_event)
Events handling.
void SetAbsPose(albaMatrix *absPose)
Set the gizmo abs pose.
void SetColor(double col[3])
Set gizmo color.
albaGizmoBoundingBox(albaVME *input, albaObserver *listener=NULL, albaVME *parent=NULL)
virtual ~albaGizmoBoundingBox()
vtkOutlineSource * m_BoxOutline
void SetBounds(double bounds[6])
void SetInput(albaVME *vme)
Set the gizmo generating vme; the gizmo will be centered on this vme.
void GetBounds(double bounds[6])
void Show(bool show)
Show the gizmo.
albaVMEGizmo * m_BoxGizmo
void SetListener(albaObserver *Listener)
Set the event receiver object.
void Highlight(bool highlight)
Highlight the gizmo.
albaVME * m_InputVme
Register input vme.
albaObserver * m_Listener
Register the event receiver object.
void SetColor(double colR, double colG, double colB)
Set gizmo color.
albaMatrix * GetAbsPose()
void SetBounds(double xmin, double xmax, double ymin, double ymax, double zmin, double zmax)
Set/Get the gizmo bounds.
albaMatrix - Time stamped 4x4 Matrix.
Interface implementing the Observer of the Subject/Observer design pattern.