17#ifndef __albaAttachCamera_H__
18#define __albaAttachCamera_H__
26#include "albaServiceClient.h"
27#include "albaAbsLogicManager.h"
albaAttachCamera is tool to attach the camera present in albaRWI to the selected VME.
albaGUI * GetGui()
Returns the albaAttachCamera's GUI.
void OnEvent(albaEventBase *alba_event)
process the events sent by subjects
vtkMatrix4x4 * m_CurrentMatrix
Matrix given to the Camera to be moved together with m_AttachedVme.
void SetAttachedMatrix(vtkMatrix4x4 *attachedMatrix)
Sets AttachedMatrix.
void SetListener(albaObserver *Listener)
albaVME * m_AttachedVme
VME on which the camera is attached when the attach-camera option is 'On'.
int GetEnableAttachCamera()
void EnableAttachCamera()
Enable/Disable attach camera to vme.
void SetEnableAttachCamera(int enable)
void SetVme(albaVME *node)
Set the vme to follow with camera.
vtkMatrix4x4 * GetAttachedMatrix() const
Returns AttachedMatrix.
int m_EnableAttachCamera
Flag to turn On/Off the camera attaching on a particular VME.
vtkMatrix4x4 * m_AttachedMatrix
Matrix given to the Camera to be moved together with m_AttachedVme.
void UpdateCameraMatrix()
Update the camera according to the absolute position of the attached VME.
albaAttachCamera(wxWindow *parent, albaRWI *rwi, albaObserver *Listener=NULL)
Attach camera is disabled by default: use EnableAttachCamera() to enable attaching.
albaObserver * m_Listener
void DisableAttachCamera()
void SetStartingMatrix(vtkMatrix4x4 *matrix)
Set an initial transform matrix before attaching camera.
albaObserver * GetListener()
void CreateGui()
Create GUI for AttachCamera module.
Implementation of the message object for the Subject/Observer design pattern.
albaGUI is a panel with function to easily create GUI.
Interface implementing the Observer of the Subject/Observer design pattern.