ALBA
Public Member Functions | Protected Member Functions | Protected Attributes | Friends | List of all members
albaGizmoBoundingBox Class Reference

#include <albaGizmoBoundingBox.h>

Inheritance diagram for albaGizmoBoundingBox:
Inheritance graph
[legend]
Collaboration diagram for albaGizmoBoundingBox:
Collaboration graph
[legend]

Public Member Functions

 albaGizmoBoundingBox (albaVME *input, albaObserver *listener=NULL, albaVME *parent=NULL)
 
virtual ~albaGizmoBoundingBox ()
 
void SetInput (albaVME *vme)
 
albaVMEGetInput ()
 
void SetListener (albaObserver *Listener)
 
virtual void OnEvent (albaEventBase *alba_event)
 
void Highlight (bool highlight)
 
void Show (bool show)
 
void SetBounds (double xmin, double xmax, double ymin, double ymax, double zmin, double zmax)
 
void SetBounds (double bounds[6])
 
double * GetBounds ()
 
void GetBounds (double bounds[6])
 
void SetAbsPose (albaMatrix *absPose)
 
albaMatrixGetAbsPose ()
 
void SetPose (albaMatrix *pose)
 
albaMatrixGetPose ()
 
- Public Member Functions inherited from albaObserver
 albaObserver ()
 
virtual ~albaObserver ()
 
virtual void OnEvent (albaEventBase *e)=0
 

Protected Member Functions

void SetColor (double col[3])
 
void SetColor (double colR, double colG, double colB)
 

Protected Attributes

albaObserverm_Listener
 
albaVMEm_InputVme
 
vtkOutlineSource * m_BoxOutline
 
albaVMEGizmo * m_BoxGizmo
 

Friends

class albaGizmoBoundingBoxTest
 
class albaGizmoROITest
 

Detailed Description

Bounding box gizmo for highlighting a region of interest.

See also
albaGizmoROI

Definition at line 53 of file albaGizmoBoundingBox.h.

Constructor & Destructor Documentation

◆ albaGizmoBoundingBox()

albaGizmoBoundingBox::albaGizmoBoundingBox ( albaVME input,
albaObserver listener = NULL,
albaVME parent = NULL 
)

◆ ~albaGizmoBoundingBox()

virtual albaGizmoBoundingBox::~albaGizmoBoundingBox ( )
virtual

Member Function Documentation

◆ SetInput()

void albaGizmoBoundingBox::SetInput ( albaVME vme)

Set the gizmo generating vme; the gizmo will be centered on this vme.

◆ GetInput()

albaVME * albaGizmoBoundingBox::GetInput ( )
inline

Definition at line 61 of file albaGizmoBoundingBox.h.

◆ SetListener()

void albaGizmoBoundingBox::SetListener ( albaObserver Listener)
inline

Set the event receiver object.

Definition at line 68 of file albaGizmoBoundingBox.h.

◆ OnEvent()

virtual void albaGizmoBoundingBox::OnEvent ( albaEventBase alba_event)
virtual

Events handling.

Implements albaObserver.

◆ Highlight()

void albaGizmoBoundingBox::Highlight ( bool  highlight)

Highlight the gizmo.

◆ Show()

void albaGizmoBoundingBox::Show ( bool  show)

Show the gizmo.

◆ SetBounds() [1/2]

void albaGizmoBoundingBox::SetBounds ( double  xmin,
double  xmax,
double  ymin,
double  ymax,
double  zmin,
double  zmax 
)

Set/Get the gizmo bounds.

◆ SetBounds() [2/2]

void albaGizmoBoundingBox::SetBounds ( double  bounds[6])

◆ GetBounds() [1/2]

double * albaGizmoBoundingBox::GetBounds ( )

◆ GetBounds() [2/2]

void albaGizmoBoundingBox::GetBounds ( double  bounds[6])

◆ SetAbsPose()

void albaGizmoBoundingBox::SetAbsPose ( albaMatrix absPose)

Set the gizmo abs pose.

◆ GetAbsPose()

albaMatrix * albaGizmoBoundingBox::GetAbsPose ( )

◆ SetPose()

void albaGizmoBoundingBox::SetPose ( albaMatrix pose)

Set the gizmo local pose.

◆ GetPose()

albaMatrix * albaGizmoBoundingBox::GetPose ( )

◆ SetColor() [1/2]

void albaGizmoBoundingBox::SetColor ( double  col[3])
protected

Set gizmo color.

◆ SetColor() [2/2]

void albaGizmoBoundingBox::SetColor ( double  colR,
double  colG,
double  colB 
)
protected

Set gizmo color.

Friends And Related Function Documentation

◆ albaGizmoBoundingBoxTest

friend class albaGizmoBoundingBoxTest
friend

test friends

Definition at line 113 of file albaGizmoBoundingBox.h.

◆ albaGizmoROITest

friend class albaGizmoROITest
friend

Definition at line 114 of file albaGizmoBoundingBox.h.

Member Data Documentation

◆ m_Listener

albaObserver* albaGizmoBoundingBox::m_Listener
protected

Register the event receiver object.

Definition at line 104 of file albaGizmoBoundingBox.h.

◆ m_InputVme

albaVME* albaGizmoBoundingBox::m_InputVme
protected

Register input vme.

Definition at line 106 of file albaGizmoBoundingBox.h.

◆ m_BoxOutline

vtkOutlineSource* albaGizmoBoundingBox::m_BoxOutline
protected

Definition at line 108 of file albaGizmoBoundingBox.h.

◆ m_BoxGizmo

albaVMEGizmo* albaGizmoBoundingBox::m_BoxGizmo
protected

Definition at line 110 of file albaGizmoBoundingBox.h.


The documentation for this class was generated from the following file: