20#include "albaConfigure.h"
177 virtual void Print(std::ostream& os,
const int tabs);
Hold a reference to a T instance.
albaMatrix - Time stamped 4x4 Matrix.
class representing reference system
albaTransformBase * GetTransform()
return a transform representing this RefSys, this could be either the internally stored transform (CU...
vtkRenderer * GetRenderer()
return Renderer stored in this ref_sys
void SetTypeToLocal(albaVME *vme=NULL)
Set the reference system to the VME's abs matrix.
void DeepCopy(const albaRefSys *source)
DeepCopy the source matrix into the target.
void Initialize()
internally used to set default values
albaMatrix * GetMatrix()
return the matrix of this ref_sys (
albaAutoPointer< albaTransformBase > m_Transform
the ref sys matrix
int GetType()
Get the type of reference system, which can be CUSTOM, GLOBAL, LOCAL,PARENT or VIEW.
virtual void Print(std::ostream &os, const int tabs)
Debug printing of internal data.
void SetTransform(albaTransformBase *transform)
Used to set the transform used for for the CUSTOM ref sys type.
albaVME * GetVME()
return the reference to the VME stored inside the RefSys
@ LOCAL
the local ref sys of the VME
void SetTypeToView(vtkRenderer *renderer=NULL)
Set the reference system to VIEW.
void SetTypeToGlobal()
Set the reference system to identity.
void SetMatrix(albaMatrix *matrix)
Set the matrix relative to the ref_sys: albaTransform is created on the fly and stored in the Transfo...
void SetTypeToParent(albaVME *vme)
Set the reference system to the parent Abs matrix of a VME.
void SetTypeToCustom(albaMatrix *matrix)
void SetMatrix(vtkMatrix4x4 *matrix)
Set the matrix relative to the ref_sys: albaTransform is created on the fly and stored in the Transfo...
vtkRenderer * m_Renderer
ref sys renderer
albaRefSys(vtkMatrix4x4 *matrix)
albaAutoPointer< albaTransform > m_Identity
void SetVME(albaVME *vme)
Set the reference to the VME.
void SetType(int type)
Set the type of reference system, which can be CUSTOM, GLOBAL, LOCAL, PARENT or VIEW.
void SetTypeToCustom(vtkMatrix4x4 *matrix)
Set the reference system to CUSTOM.
albaAutoPointer< albaVME > m_VME
reference to VME
void SetTypeToCustom(albaTransformBase *transform=NULL)
Set the reference system to CUSTOM.
int m_Type
type of ref sys (CUSTOM, GLOBAL, LOCAL, PARENT, VIEW)
void Reset()
Reset the class to default value.
albaRefSys(vtkRenderer *ren)
void SetRenderer(vtkRenderer *renderer)
Set the internal Renderer variable.