44 return inter->
seek(reference_time_sec, seekType);
134 if (frame_rate > 0.0)
135 return (
int) seconds_from_start*frame_rate;
146 if (frame_rate > 0.0)
147 return frame_count/frame_rate;
171 if (!
object || (index != 0))
Contains class declaration for ossimVideoImageSource.
virtual void rewind()
For rewinding all active streams to beginning.
Pure virtual base class for all video sources – analogous to ossimImageSource.
double nan()
Method to return ieee floating point double precision NAN.
virtual bool canConnectMyOutputTo(ossim_int32 index, const ossimConnectableObject *object) const
Presently can only connect into an image chain via an ossimVideoImageSource bridge, or to another video source for video chains.
int computeFrameNumber(double seconds_from_start) const
Utility method for computing frame number from frame time.
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...
ossimConnectableObject * getInput(ossim_uint32 index=0)
returns the object at the specified index.
OSSIM Image handler for video frames.
virtual bool canConnectMyInputTo(ossim_int32 index, const ossimConnectableObject *object) const
Connections only to other video sources are allowed.
unsigned int ossim_uint32
virtual const ossimRefPtr< ossimVideoGeometry > getVideoGeometry() const
Access to video geometry object.
virtual ossim_float64 videoFrameRate() const
Nominal frames per second.
virtual ossim_uint32 getNumberOfFrames() const
Total number of frames in video.
virtual ossim_float64 currentFrameTime() const
Time in seconds from start of video of the current active frame, or NAN if no active frame...
double computeFrameTime(ossim_uint32 frame_count) const
Utility method for computing frame time from frame number.
virtual bool nextFrame()
Seeks to start of next frame. Returns TRUE if successful.
virtual const ossimRefPtr< ossimVideoImageHandler > getCurrentFrame() const
Access to current active frame.
#define RTTI_DEF1(cls, name, b1)