18#ifndef __albaGizmoInterface_H__
19#define __albaGizmoInterface_H__
26#include "albaServiceClient.h"
27#include "albaAbsLogicManager.h"
193 friend class albaGizmoInterfaceTest;
Implementation of the message object for the Subject/Observer design pattern.
albaGUI is a panel with function to easily create GUI.
Base class for operations and views gizmos.
albaString GetName()
Get the gizmo name.
double GetRenderWindowHeightPercentage()
void SendTransformMatrix(albaMatrix *matrix, int eventId, long arg)
void SetModalityToGlobal()
Modality to be used when gizmo reference frame is different from input vme abs pose.
void SetRenderWindowHeightPercentage(double percentage)
Set the size of the gizmo when autoscale is enabled.
void SetModalityToLocal()
(default) Modality to be used when gizmo reference frame is the input vme abs pose: using this modali...
albaVME * m_InputVME
The input vme.
virtual albaGUI * GetGui()
Return gui owned by the gizmo.
double m_RenderWindowHeightPercentage
gizmoHeight / RenderWindowHeight in autoscale mode
albaVME * m_RefSysVME
Vme to be used as reference system.
albaObserver * GetListener()
bool m_Autoscale
Gizmo autoscale.
MODALITY
Set the gizmo working modality.
virtual void Show(bool show)
Show the gizmo (not implemented)
void SetName(albaString name)
Set the gizmo name.
virtual ~albaGizmoInterface()
int m_Modality
The gizmo interaction mode.
virtual void SetAbsPose(albaMatrix *absPose)
Set the gizmo abs pose (not implemented)
void SetListener(albaObserver *listener)
Set the event receiver object.
virtual void OnEventGizmoComponents(albaEventBase *alba_event)
Gizmo components events handling.
void SetMediator(albaObserver *mediator)
Set the orchestrator object: albaGizmo's are used togetheter in more complex objects like albaGizmoRo...
void SetAlwaysVisible(bool alwaysVisible)
Put the gizmo on the superimposed layer ie make it always visible (default to false)
albaObserver * m_Listener
Register the event receiver object.
albaObserver * m_Mediator
bool GetAutoscale()
Get if gizmo autoscaling is enabled.
void SetAutoscale(bool autoscale)
Enable/Disable gizmo autoscaling (default is false ie no autoscaling): if autoscale is enabled the gi...
albaObserver * GetMediator()
Return the meditor object.
int GetModality()
Return the working modality.
virtual albaMatrix * GetAbsPose()
Get the gizmo abs pose.
virtual void OnEventGizmoGui(albaEventBase *alba_event)
Gizmo components events handling.
virtual void OnEvent(albaEventBase *alba_event)
Events handling (not implemented)
bool m_AlwaysVisible
Gimzo always visible ie on the superimposed layer.
virtual void SetInput(albaVME *vme)
Set input vme for the gizmo: gizmo are tools used to manipulate VMEs and this variable holds a refere...
albaMatrix - Time stamped 4x4 Matrix.
Interface implementing the Observer of the Subject/Observer design pattern.
albaString - performs common string operations on c-strings.