18 #ifndef __igstkFrame_h
19 #define __igstkFrame_h
21 #include "itkVector.h"
22 #include "itkVersor.h"
26 #include "itkStdStreamLogOutput.h"
71 Frame(
unsigned int width,
unsigned int height,
unsigned int channels);
116 void Print(std::ostream& os, itk::Indent indent)
const;
120 void PrintHeader(std::ostream& os, itk::Indent indent)
const;
123 itk::Indent itkNotUsed(indent))
const;
126 virtual void PrintSelf( std::ostream& os, itk::Indent indent )
const;
130 void SetFrameDimensions(
unsigned int,
unsigned int,
unsigned int);
131 void SetImagePtr(
void*,
TimePeriodType millisecondsToExpiration);
133 std::vector< unsigned char >* m_Image;
136 unsigned int m_Width;
137 unsigned int m_Height;
138 unsigned int m_NumberOfChannels;
virtual void PrintSelf(std::ostream &os, itk::Indent indent) const
Print the object information in a stream.
TimeStamp provides periods of validity for data.
#define igstkGetMacro(name, type)
Get built-in type.
bool IsValidAtTime(TimePeriodType timeToTestInMilliseconds) const
Returns the validity status of the frame at the time passed as argument.
void SetTimeToExpiration(TimePeriodType millisecondsToExpiration)
std::ostream & operator<<(std::ostream &os, const igstk::AffineTransform &o)
void Print(std::ostream &os, itk::Indent indent) const
Method for printing the member variables of this class to an ostream.
Frame()
Constructor and destructor.
defines standard system-wide macros, constants, and other common parameters in the IGSTK Library...
void PrintTrailer(std::ostream &itkNotUsed(os), itk::Indent itkNotUsed(indent)) const
TimePeriodType GetExpirationTime() const
Returns the time at which the validity of this information expires.
#define igstkLoggerMacro()
Macro that defines all the standard elements related to the Logger.
Abstract superclass for concrete IGSTK VideoImager classes.
bool IsValidNow() const
Returns the validity status of the frame when it is called.
TimeStamp::TimePeriodType TimePeriodType
#define igstkSetMacro(name, type)
Set built-in type.
void PrintHeader(std::ostream &os, itk::Indent indent) const
Frame from an external input device.
TimePeriodType GetStartTime() const
Returns the time at which the validity of this information starts.