34 const double& frame_time_seconds)
73 bool ossimVideoImageSource::setCurrentEntry(
ossim_uint32 frame_number)
86 ossim_uint32 ossimVideoImageSource::getCurrentEntry()
const 92 if (frame_rate == 0.0)
102 ossim_uint32 ossimVideoImageSource::getNumberOfEntries()
const 108 if (frames_per_sec == 0.0)
180 if (!video_geometry.
valid())
211 decimations.push_back(
ossimDpt(1.0, 1.0));
Contains class declaration for ossimVideoImageSource.
Pure virtual base class for all video sources – analogous to ossimImageSource.
virtual ossim_uint32 getNumberOfLines(ossim_uint32 resLevel=0) const
Changes the frame to the new index (frame count from start of video).
ossim_uint32 height() const
const ossimIpt & frameSize() const
Nominal size of a frame in pixels.
virtual ossim_float64 duration() const
Total length of video in seconds.
virtual bool seek(ossim_float64 reference_time_sec, SeekType seekType)
Seeks to the frame at time specified, according to the seekType (relative to active frame or absolute...
virtual bool canConnectMyInputTo(ossim_int32 index, const ossimConnectableObject *object) const
From ossimConnectableObject base class. Returns true if object is an ossimVideoSource.
virtual void initialize()
Initialize the data buffer.
virtual ossim_uint32 getNumberOfSamples(ossim_uint32 resLevel=0) const
ossimConnectableObject * getInput(ossim_uint32 index=0)
returns the object at the specified index.
virtual void setHeight(ossim_uint32 height)
static ossimImageDataFactory * instance()
ossimRefPtr< ossimImageData > m_tile
ossimIrect m_frameRect
Always (0,0) based.
unsigned int ossim_uint32
ossimVideoImageSource()
Default Constructor.
virtual void setWidth(ossim_uint32 width)
virtual ossimRefPtr< ossimImageGeometry > getImageGeometry(const double &t)=0
Provides an image geometry object for frame at specified time in seconds since start of sequence...
virtual const ossimRefPtr< ossimVideoGeometry > getVideoGeometry() const
Access to video geometry object.
double m_frameTime
seconds from start of video
virtual ossimRefPtr< ossimImageData > create(ossimSource *owner, ossimScalarType scalar, ossim_uint32 bands=1) const
ossim_uint32 width() const
virtual ossimRefPtr< ossimImageGeometry > getImageGeometry()
Returns the image geometry object associated with this tile source or NULL if not defined...
virtual void initialize()
Common initialization code for all construction methods.
virtual void getDecimationFactor(ossim_uint32 resLevel, ossimDpt &result) const
Video frames have no overviews, only full-res.
virtual bool setFrameTime(const double &t)
Sets the time stamp (in seconds from start of video) for the frame of interest.
#define RTTI_DEF1(cls, name, b1)
virtual void getDecimationFactors(std::vector< ossimDpt > &decimations) const
Video frames have no overviews, only full-res.