ALBA
albaTransformFrame.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: ALBA (Agile Library for Biomedical Applications)
4 Module: albaTransformFrame
5 Authors: Marco Petrone, Stefano Perticoni
6
7 Copyright (c) BIC
8 All rights reserved. See Copyright.txt or
9
10
11 This software is distributed WITHOUT ANY WARRANTY; without even
12 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
13 PURPOSE. See the above copyright notice for more information.
14
15=========================================================================*/
16
17#ifndef __albaTransformFrame_h
18#define __albaTransformFrame_h
19
20#include "albaTransformBase.h"
21
22class vtkMatrix4x4;
23
37class ALBA_EXPORT albaTransformFrame : public albaTransformBase
38{
39 public:
42
44
45 //virtual void Print(std::ostream& os, const int tabs=0) const;
46
49 void SetInput(albaMatrix *frame);
50 albaTransformBase *GetInput() {return m_Input;}
51
57 albaTransformBase *GetInputFrame() {return m_InputFrame;}
58
64 albaTransformBase *GetTargetFrame() {return m_TargetFrame;}
65
69 virtual unsigned long GetMTime();
70
71protected:
73
77
78private:
79 albaTransformFrame(const albaTransformFrame&); // Not implemented.
80 void operator=(const albaTransformFrame&); // Not implemented.
81};
82
83#endif
albaMatrix - Time stamped 4x4 Matrix.
Definition: albaMatrix.h:44
Superclass for Homogeneous transformations.
albaTransformFrame - class for multi frame homogeneous transformations.
albaTransformBase * m_Input
void SetInputFrame(albaMatrix *frame)
Set/Get the input reference system, i.e.
void SetInput(albaTransformBase *frame)
set the matrix to be transformed
albaTransformBase * GetInputFrame()
void SetInput(albaMatrix *frame)
void InternalUpdate()
Perform any subclass-specific Update.
void SetTargetFrame(albaMatrix *frame)
Set/Get the output reference system, i.e.
void SetTargetFrame(albaTransformBase *frame)
virtual unsigned long GetMTime()
Return current modification time, taking inro consideration also Input, InputFrame and TargetFrame.
albaTransformBase * GetTargetFrame()
albaTransformBase * GetInput()
albaTransformBase * m_InputFrame
void SetInputFrame(albaTransformBase *frame)
albaTypeMacro(albaTransformFrame, albaTransformBase)
albaTransformBase * m_TargetFrame