svvitch
digital signage player
CvContent Class Reference

OpenCV利用コンテントクラス. More...

#include <CvContent.h>

Inheritance diagram for CvContent:
Collaboration diagram for CvContent:

List of all members.

Public Member Functions

 CvContent (Renderer &renderer, int splitType)
virtual ‾CvContent ()
void saveConfiguration ()
void initialize ()
 初期化
bool open (const MediaItemPtr media, const int offset=0)
 ファイルをオープンします
void openDetectMovie ()
void play ()
 再生
void stop ()
 停止
bool useFastStop ()
 再生終了時にすぐさま停止するかどうか
const bool playing () const
 再生中かどうか
const bool finished ()
 終了したかどうか
void close ()
 ファイルをクローズします
void process (const DWORD &frame)
 1フレームに1度だけ処理される
void draw (const DWORD &frame)
 描画

Public Attributes

Poco::ActiveMethod< void, void,
CvContent
activeOpenDetectMovie

Private Attributes

Poco::FastMutex _lock
CaptureScenePtr _scene
float _subtract
int _intervalDiff
int _intervalSmall
int _clipX
int _clipY
int _clipW
int _clipH
LPD3DXEFFECT _fx
LPDIRECT3DTEXTURE9 _small1
LPDIRECT3DTEXTURE9 _small2
LPDIRECT3DTEXTURE9 _diff
LPDIRECT3DSURFACE9 _diff2
LPDIRECT3DTEXTURE9 _photo
int _detectThreshold
int _diffCount
string _normalFile
MediaItemPtr _normalItem
FFMovieContentPtr _normalMovie
vector< string > _detectFiles
MediaItemPtr _detectedItem
FFMovieContentPtr _detectedMovie
int _detectCount
bool _detected
int _doShutter
int _viewPhoto
bool _finished
bool _playing
PerformanceTimer _playTimer
DWORD _statusFrame
string _status

Detailed Description

OpenCV利用コンテントクラス.

OpenCVの実験コンテントです

Definition at line 28 of file CvContent.h.


Constructor & Destructor Documentation

CvContent::CvContent ( Renderer renderer,
int  splitType 
)

Member Function Documentation

void CvContent::close ( ) [virtual]

ファイルをクローズします

Reimplemented from Content.

void CvContent::draw ( const DWORD &  frame) [virtual]

描画

Reimplemented from Content.

const bool CvContent::finished ( ) [virtual]

終了したかどうか

Reimplemented from Content.

void CvContent::initialize ( ) [virtual]

初期化

Reimplemented from Content.

bool CvContent::open ( const MediaItemPtr  media,
const int  offset = 0 
) [virtual]

ファイルをオープンします

Reimplemented from Content.

Here is the caller graph for this function:

void CvContent::play ( ) [virtual]

再生

Reimplemented from Content.

const bool CvContent::playing ( ) const [virtual]

再生中かどうか

Reimplemented from Content.

void CvContent::process ( const DWORD &  frame) [virtual]

1フレームに1度だけ処理される

Reimplemented from Content.

void CvContent::stop ( ) [virtual]

停止

Reimplemented from Content.

bool CvContent::useFastStop ( ) [virtual]

再生終了時にすぐさま停止するかどうか

Reimplemented from Content.

virtual CvContent::‾CvContent ( ) [virtual]

Member Data Documentation

int CvContent::_clipH [private]

Definition at line 42 of file CvContent.h.

int CvContent::_clipW [private]

Definition at line 41 of file CvContent.h.

int CvContent::_clipX [private]

Definition at line 39 of file CvContent.h.

int CvContent::_clipY [private]

Definition at line 40 of file CvContent.h.

int CvContent::_detectCount [private]

Definition at line 60 of file CvContent.h.

bool CvContent::_detected [private]

Definition at line 61 of file CvContent.h.

Definition at line 57 of file CvContent.h.

Definition at line 58 of file CvContent.h.

vector<string> CvContent::_detectFiles [private]

Definition at line 56 of file CvContent.h.

Definition at line 50 of file CvContent.h.

LPDIRECT3DTEXTURE9 CvContent::_diff [private]

Definition at line 47 of file CvContent.h.

LPDIRECT3DSURFACE9 CvContent::_diff2 [private]

Definition at line 48 of file CvContent.h.

int CvContent::_diffCount [private]

Definition at line 51 of file CvContent.h.

int CvContent::_doShutter [private]

Definition at line 62 of file CvContent.h.

bool CvContent::_finished [private]

Definition at line 65 of file CvContent.h.

LPD3DXEFFECT CvContent::_fx [private]

Definition at line 44 of file CvContent.h.

int CvContent::_intervalDiff [private]

Definition at line 36 of file CvContent.h.

Definition at line 37 of file CvContent.h.

Poco::FastMutex CvContent::_lock [private]

Definition at line 31 of file CvContent.h.

string CvContent::_normalFile [private]

Definition at line 53 of file CvContent.h.

Definition at line 54 of file CvContent.h.

Definition at line 55 of file CvContent.h.

LPDIRECT3DTEXTURE9 CvContent::_photo [private]

Definition at line 49 of file CvContent.h.

bool CvContent::_playing [private]

Reimplemented from Content.

Definition at line 66 of file CvContent.h.

Definition at line 67 of file CvContent.h.

Definition at line 33 of file CvContent.h.

LPDIRECT3DTEXTURE9 CvContent::_small1 [private]

Definition at line 45 of file CvContent.h.

LPDIRECT3DTEXTURE9 CvContent::_small2 [private]

Definition at line 46 of file CvContent.h.

string CvContent::_status [private]

Definition at line 70 of file CvContent.h.

DWORD CvContent::_statusFrame [private]

Definition at line 69 of file CvContent.h.

float CvContent::_subtract [private]

Definition at line 35 of file CvContent.h.

int CvContent::_viewPhoto [private]

Definition at line 63 of file CvContent.h.

Poco::ActiveMethod<void, void, CvContent> CvContent::activeOpenDetectMovie

Definition at line 85 of file CvContent.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines