Public Types | Public Member Functions | Protected Member Functions | List of all members
iocv::COcvVideoControllerComp Class Reference

Component for video controlling using OpenCV API. More...

#include <COcvVideoControllerComp.h>

Inheritance diagram for iocv::COcvVideoControllerComp:
iproc::TSyncProcessorCompBase< icam::IBitmapAcquisition > imm::IVideoController ilog::TLoggerCompWrap< Base > iproc::TSyncProcessorWrap< Base > imm::IMediaController imm::IVideoInfo ilog::TLoggerWrap< Base > istd::IChangeable ifile::IFileTypeInfo istd::IPolymorphic ilog::ILoggable istd::ILogger istd::IPolymorphic istd::IPolymorphic istd::IPolymorphic istd::IPolymorphic

Public Types

typedef
iproc::TSyncProcessorCompBase
< icam::IBitmapAcquisition
BaseClass
 
- Public Types inherited from imm::IVideoController
enum  SupportedFeatures
 
- Public Types inherited from imm::IMediaController
enum  ChangeFlags
 
enum  SupportedFeatures
 

Public Member Functions

 COcvVideoControllerComp ()
 
virtual istd::CIndex2d GetBitmapSize (const iprm::IParamsSet *paramsPtr) const
 
virtual int DoProcessing (const iprm::IParamsSet *paramsPtr, const istd::IPolymorphic *inputPtr, istd::IChangeable *outputPtr, ibase::IProgressManager *progressManagerPtr=NULL)
 
virtual QString GetOpenedMediumUrl () const
 
virtual bool OpenMediumUrl (const QString &url, bool autoPlay=true)
 
virtual void CloseMedium ()
 
virtual bool IsPlaying () const
 
virtual bool SetPlaying (bool state=true)
 
virtual double GetMediumLength () const
 
virtual double GetCurrentPosition () const
 
virtual bool SetCurrentPosition (double position)
 
virtual int GetSupportedFeatures () const
 
virtual int GetFramesCount () const
 
virtual double GetFrameIntervall () const
 
virtual istd::CIndex2d GetFrameSize () const
 
virtual double GetPixelAspectRatio () const
 
virtual int GetCurrentFrame () const
 
virtual bool SetCurrentFrame (int frameIndex)
 
virtual bool GetFileExtensions (QStringList &result, int flags=-1, bool doAppend=false) const
 
virtual QString GetTypeDescription (const QString *extensionPtr=NULL) const
 
- Public Member Functions inherited from ilog::ILoggable
virtual void SetLogPtr (IMessageConsumer *logPtr)=0
 
virtual IMessageConsumerGetLogPtr () const =0
 
virtual void SetTracingEnabled (bool trace)=0
 
virtual bool IsTracingEnabled () const =0
 

Protected Member Functions

virtual bool GrabCurrentFrame (iimg::IBitmap &result) const
 
virtual bool SeekToPosition (int frameIndex) const
 
virtual void OnComponentDestroyed ()
 

Detailed Description

Component for video controlling using OpenCV API.

Definition at line 28 of file COcvVideoControllerComp.h.

Member Typedef Documentation

Definition at line 33 of file COcvVideoControllerComp.h.

Constructor & Destructor Documentation

iocv::COcvVideoControllerComp::COcvVideoControllerComp ( )

Member Function Documentation

virtual void iocv::COcvVideoControllerComp::CloseMedium ( )
virtual

Implements imm::IMediaController.

virtual int iocv::COcvVideoControllerComp::DoProcessing ( const iprm::IParamsSet paramsPtr,
const istd::IPolymorphic inputPtr,
istd::IChangeable outputPtr,
ibase::IProgressManager progressManagerPtr = NULL 
)
virtual
virtual istd::CIndex2d iocv::COcvVideoControllerComp::GetBitmapSize ( const iprm::IParamsSet paramsPtr) const
virtual
virtual int iocv::COcvVideoControllerComp::GetCurrentFrame ( ) const
virtual

Implements imm::IVideoController.

virtual double iocv::COcvVideoControllerComp::GetCurrentPosition ( ) const
virtual

Implements imm::IMediaController.

virtual bool iocv::COcvVideoControllerComp::GetFileExtensions ( QStringList &  result,
int  flags = -1,
bool  doAppend = false 
) const
virtual
virtual double iocv::COcvVideoControllerComp::GetFrameIntervall ( ) const
virtual

Implements imm::IVideoController.

virtual int iocv::COcvVideoControllerComp::GetFramesCount ( ) const
virtual

Implements imm::IVideoController.

virtual istd::CIndex2d iocv::COcvVideoControllerComp::GetFrameSize ( ) const
virtual

Implements imm::IVideoController.

virtual double iocv::COcvVideoControllerComp::GetMediumLength ( ) const
virtual

Implements imm::IMediaController.

virtual QString iocv::COcvVideoControllerComp::GetOpenedMediumUrl ( ) const
virtual

Implements imm::IMediaController.

virtual double iocv::COcvVideoControllerComp::GetPixelAspectRatio ( ) const
virtual

Implements imm::IVideoController.

virtual int iocv::COcvVideoControllerComp::GetSupportedFeatures ( ) const
virtual

Implements imm::IMediaController.

virtual QString iocv::COcvVideoControllerComp::GetTypeDescription ( const QString *  extensionPtr = NULL) const
virtual
virtual bool iocv::COcvVideoControllerComp::GrabCurrentFrame ( iimg::IBitmap result) const
protectedvirtual
virtual bool iocv::COcvVideoControllerComp::IsPlaying ( ) const
virtual

Implements imm::IMediaController.

virtual void iocv::COcvVideoControllerComp::OnComponentDestroyed ( )
protectedvirtual
virtual bool iocv::COcvVideoControllerComp::OpenMediumUrl ( const QString &  url,
bool  autoPlay = true 
)
virtual

Implements imm::IMediaController.

virtual bool iocv::COcvVideoControllerComp::SeekToPosition ( int  frameIndex) const
protectedvirtual
virtual bool iocv::COcvVideoControllerComp::SetCurrentFrame ( int  frameIndex)
virtual

Implements imm::IVideoController.

virtual bool iocv::COcvVideoControllerComp::SetCurrentPosition ( double  position)
virtual

Implements imm::IMediaController.

virtual bool iocv::COcvVideoControllerComp::SetPlaying ( bool  state = true)
virtual

Implements imm::IMediaController.


The documentation for this class was generated from the following file:

© 2007-2011 Witold Gantzke and Kirill Lepskiy