18 #ifndef itkVideoStream_h
19 #define itkVideoStream_h
40 template<
typename TFrameType>
72 itkStaticConstMacro(
FrameDimension,
unsigned int, FrameType::ImageDimension);
75 return FrameType::ImageDimension;
313 #ifndef ITK_MANUAL_INSTANTIATION
314 #include "itkVideoStream.hxx"
const PointType & GetFrameOrigin(SizeValueType frameNumber) const
const SpacingMapType & GetSpacingCache() const
std::map< SizeValueType, PointType > PointMapType
void Print(std::ostream &os, Indent indent=0) const
SpacingMapType m_SpacingCache
const SpatialRegionType & GetFrameRequestedSpatialRegion(SizeValueType frameNumber) const
const SpatialRegionMapType & GetBufferedSpatialRegionCache() const
WeakPointer< const Self > ConstWeakPointer
void InitializeEmptyFrames()
Superclass::BufferType BufferType
void SetBufferedSpatialRegionCache(SpatialRegionMapType map)
FrameType::PixelType PixelType
FrameType::RegionType SpatialRegionType
void SetMinimumBufferSize(SizeValueType minimumNumberOfFrames)
void SetOriginCache(PointMapType map)
std::map< SizeValueType, SpacingType > SpacingMapType
void SetAllRequestedSpatialRegions(SpatialRegionType region)
ObjectType * GetPointer() const
void SetFrameSpacing(SizeValueType frameNumber, SpacingType spacing)
Implements a weak reference to an object.
FrameType::PointType PointType
DirectionMapType m_DirectionCache
unsigned long SizeValueType
const DirectionType & GetFrameDirection(SizeValueType frameNumber) const
static const unsigned int FrameDimension
void operator=(const Self &)
void SetLargestPossibleSpatialRegionCache(SpatialRegionMapType map)
SmartPointer< const Self > ConstPointer
void SetDirectionCache(DirectionMapType map)
void SetFrameOrigin(SizeValueType frameNumber, PointType origin)
PointMapType m_OriginCache
const DirectionMapType & GetDirectionCache() const
const BufferType * GetFrameBuffer() const
FrameType::ConstPointer FrameConstPointer
SpatialRegionMapType m_RequestedSpatialRegionCache
SpatialRegionMapType m_LargestPossibleSpatialRegionCache
FrameType::Pointer FramePointer
void SetSpacingCache(SpacingMapType map)
void SetFrameBuffer(BufferType *buffer)
const SpatialRegionMapType & GetRequestedSpatialRegionCache() const
void SetFrame(SizeValueType frameNumber, FramePointer frame)
FrameType::DirectionType DirectionType
A DataObject that holds a buffered portion of a video.
void SetFrameRequestedSpatialRegion(SizeValueType frameNumber, SpatialRegionType region)
const SpatialRegionMapType & GetLargestPossibleSpatialRegionCache() const
FrameType::SizeType SizeType
const SpatialRegionType & GetFrameLargestPossibleSpatialRegion(SizeValueType frameNumber) const
RingBuffer< DataObject > BufferType
virtual void PrintSelf(std::ostream &os, Indent indent) const override
void SetAllFramesSpacing(SpacingType spacing)
virtual void Graft(const DataObject *data) override
const PointMapType & GetOriginCache() const
void SetFrameBufferedSpatialRegion(SizeValueType frameNumber, SpatialRegionType region)
FrameType::IndexType IndexType
void SetRequestedSpatialRegionCache(SpatialRegionMapType map)
void SetFrameDirection(SizeValueType frameNumber, DirectionType direction)
std::map< SizeValueType, SpatialRegionType > SpatialRegionMapType
Control indentation during Print() invocation.
DataObject subclass with knowledge of temporal region.
FramePointer GetFrame(SizeValueType frameNumber)
void SetAllFramesDirection(DirectionType direction)
SpatialRegionMapType m_BufferedSpatialRegionCache
BufferType::Pointer m_DataObjectBuffer
TemporalDataObject Superclass
const SpatialRegionType & GetFrameBufferedSpatialRegion(SizeValueType frameNumber) const
BufferType * GetFrameBuffer()
void SetFrameLargestPossibleSpatialRegion(SizeValueType frameNumber, SpatialRegionType region)
SmartPointer< Self > Pointer
Templated ring buffer for holding anything.
void SetAllLargestPossibleSpatialRegions(SpatialRegionType region)
void SetAllFramesOrigin(PointType origin)
void SetAllBufferedSpatialRegions(SpatialRegionType region)
static unsigned int GetFrameDimension()
Base class for all data objects in ITK.
const SpacingType & GetFrameSpacing(SizeValueType frameNumber) const
FrameType::SpacingType SpacingType
std::map< SizeValueType, DirectionType > DirectionMapType