IGSTK
Main Page
Namespaces
Classes
Files
File List
File Members
Source
igstkTransformBase.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Image Guided Surgery Software Toolkit
4
Module: $RCSfile: igstkTransformBase.h,v $
5
Language: C++
6
Date: $Date: 2009-06-15 21:02:07 $
7
Version: $Revision: 1.2 $
8
9
Copyright (c) ISC Insight Software Consortium. All rights reserved.
10
See IGSTKCopyright.txt or http://www.igstk.org/copyright.htm for details.
11
12
This software is distributed WITHOUT ANY WARRANTY; without even
13
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
14
PURPOSE. See the above copyright notices for more information.
15
16
=========================================================================*/
17
18
#ifndef __igstkTransformBase_h
19
#define __igstkTransformBase_h
20
21
22
#include "
igstkTimeStamp.h
"
23
#include "
igstkMacros.h
"
24
25
namespace
igstk
26
{
27
40
class
TransformBase
41
{
42
public
:
43
44
typedef
double
ErrorType
;
45
typedef
TimeStamp::TimePeriodType
TimePeriodType
;
46
48
TransformBase
();
49
TransformBase
(
const
TransformBase
& t );
50
virtual
~TransformBase
();
51
52
56
igstkGetMacro
( Error,
ErrorType
);
57
58
66
TimePeriodType
GetStartTime
()
const
;
67
68
76
TimePeriodType
GetExpirationTime
()
const
;
77
78
87
bool
IsValidAtTime
(
TimePeriodType
timeToTestInMilliseconds )
const
;
88
94
bool
IsValidNow
()
const
;
95
96
98
virtual
void
Print
(std::ostream& os, itk::Indent indent)
const
=0;
99
100
protected
:
101
102
TimeStamp
m_TimeStamp
;
103
ErrorType
m_Error
;
104
105
};
106
107
std::ostream&
operator<<
( std::ostream& os,
const
igstk::TransformBase
& o );
108
}
109
110
#endif
Generated on Thu Mar 20 2014 13:04:04 for IGSTK by
1.8.1.2