Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

vtkWin32VideoSource Class Reference

Video-for-Windows video digitizer. More...

#include <vtkWin32VideoSource.h>

Inheritance diagram for vtkWin32VideoSource:

Inheritance graph
[legend]
Collaboration diagram for vtkWin32VideoSource:

Collaboration graph
[legend]
List of all members.

Public Methods

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
void Initialize ()
void ReleaseSystemResources ()
void Grab (int n)
void Grab ()
void Play ()
void Stop ()
void SetFrameSize (int x, int y, int z)
void SetFrameRate (float rate)
void SetOutputFormat (int format)
void VideoFormatDialog ()
void VideoSourceDialog ()
void InternalGrab (LPVIDEOHDR VideoHdrPtr)

Static Public Methods

vtkWin32VideoSource * New ()
int IsTypeOf (const char *type)
vtkWin32VideoSource * SafeDownCast (vtkObject *o)

Protected Methods

 vtkWin32VideoSource ()
 ~vtkWin32VideoSource ()
 vtkWin32VideoSource (const vtkWin32VideoSource &)
void operator= (const vtkWin32VideoSource &)
void CheckBuffer ()
void UnpackRasterLine (char *outptr, char *inptr, int start, int count)
void DoVFWFormatSetup ()
void DoVFWFormatCheck ()

Protected Attributes

char WndClassName [16]
HWND CapWnd
HWND ParentWnd
CAPSTATUS CapStatus
CAPDRIVERCAPS CapDriverCaps
CAPTUREPARMS CaptureParms
LPBITMAPINFO BitMapPtr
int BitMapSize
int FatalVFWError

Detailed Description

Video-for-Windows video digitizer.

Date:
2000/12/10 20:08:28
Revision:
1.7
Thanks:
Thanks to David G. Gobbi who developed this class.
vtkWin32VideoSource grabs frames or streaming video from a Video for Windows compatible device on the Win32 platform.

See also:
vtkVideoSource vtkMILVideoSource

Definition at line 61 of file vtkWin32VideoSource.h.


Constructor & Destructor Documentation

vtkWin32VideoSource::vtkWin32VideoSource   [protected]
 

vtkWin32VideoSource::~vtkWin32VideoSource   [protected]
 

vtkWin32VideoSource::vtkWin32VideoSource const vtkWin32VideoSource &    [inline, protected]
 

Definition at line 95 of file vtkWin32VideoSource.h.


Member Function Documentation

vtkWin32VideoSource* vtkWin32VideoSource::New   [static]
 

Instantiate object with no start, end, or progress methods.

Reimplemented from vtkVideoSource.

virtual const char* vtkWin32VideoSource::GetClassName   [virtual]
 

Return the class name as a string. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkVideoSource.

int vtkWin32VideoSource::IsTypeOf const char *    type [static]
 

Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkVideoSource.

virtual int vtkWin32VideoSource::IsA const char *    type [virtual]
 

Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkVideoSource.

vtkWin32VideoSource* vtkWin32VideoSource::SafeDownCast vtkObject   o [static]
 

Will cast the supplied object to vtkObject* is this is a safe operation (i.e., a safe downcast); otherwise NULL is returned. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkVideoSource.

void vtkWin32VideoSource::PrintSelf ostream &    os,
vtkIndent    indent
[virtual]
 

Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Reimplemented from vtkVideoSource.

void vtkWin32VideoSource::Initialize   [virtual]
 

See vtkVideoSource

Reimplemented from vtkVideoSource.

void vtkWin32VideoSource::ReleaseSystemResources   [virtual]
 

Release the video driver. This is called automatically when the vtkVideoSource is destroyed.

Reimplemented from vtkVideoSource.

void vtkWin32VideoSource::Grab int    n [virtual]
 

Grab a single frame or multiple frames.

Reimplemented from vtkVideoSource.

void vtkWin32VideoSource::Grab   [inline]
 

Reimplemented from vtkVideoSource.

Definition at line 73 of file vtkWin32VideoSource.h.

void vtkWin32VideoSource::Play   [virtual]
 

Go into continuous grab mode. The video source will be automatically Modified() every time a new frame arrives.

Reimplemented from vtkVideoSource.

void vtkWin32VideoSource::Stop   [virtual]
 

End continuous grab mode.

Reimplemented from vtkVideoSource.

void vtkWin32VideoSource::SetFrameSize int    x,
int    y,
int    z
[virtual]
 

Reimplemented from vtkVideoSource.

void vtkWin32VideoSource::SetFrameRate float    rate [virtual]
 

Set the frame rate for 'Play' mode. The default is 30 frames/s for most video digitizers.

Reimplemented from vtkVideoSource.

void vtkWin32VideoSource::SetOutputFormat int    format [virtual]
 

Set the output format. This must be appropriate for device, usually only VTK_LUMINANCE, VTK_RGB, and VTK_RGBA are supported.

Reimplemented from vtkVideoSource.

void vtkWin32VideoSource::VideoFormatDialog  
 

bring up a modal dialog box for video format selection

void vtkWin32VideoSource::VideoSourceDialog  
 

bring up a modal dialog box for video input selection

void vtkWin32VideoSource::InternalGrab LPVIDEOHDR    VideoHdrPtr
 

For internal use only

void vtkWin32VideoSource::operator= const vtkWin32VideoSource &    [inline, protected]
 

Definition at line 96 of file vtkWin32VideoSource.h.

void vtkWin32VideoSource::CheckBuffer   [protected]
 

void vtkWin32VideoSource::UnpackRasterLine char *    outptr,
char *    inptr,
int    start,
int    count
[protected, virtual]
 

Reimplemented from vtkVideoSource.

void vtkWin32VideoSource::DoVFWFormatSetup   [protected]
 

void vtkWin32VideoSource::DoVFWFormatCheck   [protected]
 


Member Data Documentation

char vtkWin32VideoSource::WndClassName[16] [protected]
 

Definition at line 98 of file vtkWin32VideoSource.h.

HWND vtkWin32VideoSource::CapWnd [protected]
 

Definition at line 99 of file vtkWin32VideoSource.h.

HWND vtkWin32VideoSource::ParentWnd [protected]
 

Definition at line 100 of file vtkWin32VideoSource.h.

CAPSTATUS vtkWin32VideoSource::CapStatus [protected]
 

Definition at line 101 of file vtkWin32VideoSource.h.

CAPDRIVERCAPS vtkWin32VideoSource::CapDriverCaps [protected]
 

Definition at line 102 of file vtkWin32VideoSource.h.

CAPTUREPARMS vtkWin32VideoSource::CaptureParms [protected]
 

Definition at line 103 of file vtkWin32VideoSource.h.

LPBITMAPINFO vtkWin32VideoSource::BitMapPtr [protected]
 

Definition at line 104 of file vtkWin32VideoSource.h.

int vtkWin32VideoSource::BitMapSize [protected]
 

Definition at line 105 of file vtkWin32VideoSource.h.

int vtkWin32VideoSource::FatalVFWError [protected]
 

Definition at line 107 of file vtkWin32VideoSource.h.


The documentation for this class was generated from the following file:
Generated on Wed Nov 21 13:03:21 2001 for VTK by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001