svvitch
digital signage player
CaptureContent Class Reference

キャプチャーコンテントクラス. More...

#include <CaptureContent.h>

Inheritance diagram for CaptureContent:
Collaboration diagram for CaptureContent:

List of all members.

Public Member Functions

 CaptureContent (Renderer &renderer, int splitType)
 コンストラクタ
 ‾CaptureContent ()
 デストラクタ
void saveConfiguration ()
 設定を保存します
void initialize ()
 初期化
bool open (const MediaItemPtr media, const int offset=0)
 ファイルをオープンします
void play ()
 再生
void stop ()
 停止
bool useFastStop ()
 再生終了時にすぐさま停止するかどうか
const bool playing () const
 再生中かどうか
const bool finished ()
 終了したかどうか
void close ()
 クローズします
void process (const DWORD &frame)
 描画以外の処理
void draw (const DWORD &frame)
 描画処理

Private Attributes

Poco::FastMutex _lock
CaptureScenePtr _scene
float _subtract
int _intervalDiff
int _intervalSmall
LPD3DXEFFECT _fx
LPDIRECT3DTEXTURE9 _small1
LPDIRECT3DTEXTURE9 _small2
LPDIRECT3DTEXTURE9 _diff
LPDIRECT3DSURFACE9 _diff2
LPDIRECT3DTEXTURE9 _image
int _detectThreshold
int _diffCount
bool _detected
int _doShutter
int _viewPhoto
bool _finished
bool _playing
PerformanceTimer _playTimer
DWORD _statusFrame
string _status

Detailed Description

キャプチャーコンテントクラス.

CaptureScene からキャプチャー映像を取得し描画する Content クラスです。

Definition at line 24 of file CaptureContent.h.


Constructor & Destructor Documentation

CaptureContent::CaptureContent ( Renderer renderer,
int  splitType 
)

コンストラクタ

Definition at line 13 of file CaptureContent.cpp.

Here is the call graph for this function:


Member Function Documentation

void CaptureContent::close ( ) [virtual]

クローズします

Reimplemented from Content.

Definition at line 132 of file CaptureContent.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

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

描画処理

Reimplemented from Content.

Definition at line 187 of file CaptureContent.cpp.

Here is the call graph for this function:

const bool CaptureContent::finished ( ) [virtual]

終了したかどうか

Reimplemented from Content.

Definition at line 128 of file CaptureContent.cpp.

void CaptureContent::initialize ( ) [virtual]

初期化

Reimplemented from Content.

Definition at line 46 of file CaptureContent.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

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

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

cvcap-config.xmlをXMLConfigurationで読込み、設定値を設定します

subbg.fxを読込み背景差分のシェーダを生成します

必要なレンダーターゲットの生成を行います

Reimplemented from Content.

Definition at line 50 of file CaptureContent.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void CaptureContent::play ( ) [virtual]

再生

Reimplemented from Content.

Definition at line 111 of file CaptureContent.cpp.

Here is the call graph for this function:

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

再生中かどうか

Reimplemented from Content.

Definition at line 124 of file CaptureContent.cpp.

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

描画以外の処理

Reimplemented from Content.

Definition at line 147 of file CaptureContent.cpp.

Here is the call graph for this function:

設定を保存します

cvcap-config.xmlをXMLConfigurationで読込み、現在値を反映して保存します

Definition at line 25 of file CaptureContent.cpp.

Here is the caller graph for this function:

void CaptureContent::stop ( ) [virtual]

停止

Reimplemented from Content.

Definition at line 116 of file CaptureContent.cpp.

Here is the caller graph for this function:

bool CaptureContent::useFastStop ( ) [virtual]

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

Reimplemented from Content.

Definition at line 120 of file CaptureContent.cpp.

CaptureContent::‾CaptureContent ( )

デストラクタ

Definition at line 21 of file CaptureContent.cpp.

Here is the call graph for this function:


Member Data Documentation

bool CaptureContent::_detected [private]

Definition at line 44 of file CaptureContent.h.

Definition at line 41 of file CaptureContent.h.

LPDIRECT3DTEXTURE9 CaptureContent::_diff [private]

Definition at line 38 of file CaptureContent.h.

LPDIRECT3DSURFACE9 CaptureContent::_diff2 [private]

Definition at line 39 of file CaptureContent.h.

Definition at line 42 of file CaptureContent.h.

Definition at line 45 of file CaptureContent.h.

bool CaptureContent::_finished [private]

Definition at line 48 of file CaptureContent.h.

LPD3DXEFFECT CaptureContent::_fx [private]

Definition at line 35 of file CaptureContent.h.

LPDIRECT3DTEXTURE9 CaptureContent::_image [private]

Definition at line 40 of file CaptureContent.h.

Definition at line 32 of file CaptureContent.h.

Definition at line 33 of file CaptureContent.h.

Poco::FastMutex CaptureContent::_lock [private]

Definition at line 27 of file CaptureContent.h.

bool CaptureContent::_playing [private]

Reimplemented from Content.

Definition at line 49 of file CaptureContent.h.

Definition at line 50 of file CaptureContent.h.

Definition at line 29 of file CaptureContent.h.

LPDIRECT3DTEXTURE9 CaptureContent::_small1 [private]

Definition at line 36 of file CaptureContent.h.

LPDIRECT3DTEXTURE9 CaptureContent::_small2 [private]

Definition at line 37 of file CaptureContent.h.

string CaptureContent::_status [private]

Definition at line 53 of file CaptureContent.h.

Definition at line 52 of file CaptureContent.h.

float CaptureContent::_subtract [private]

Definition at line 31 of file CaptureContent.h.

Definition at line 46 of file CaptureContent.h.


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