19#ifndef vtkWin32VideoSource_h 
   20#define vtkWin32VideoSource_h 
   22#include "vtkIOVideoModule.h"  
   25VTK_ABI_NAMESPACE_BEGIN
 
   26class vtkWin32VideoSourceInternal;
 
   78  vtkBooleanMacro(Preview, 
int);
 
   79  vtkGetMacro(Preview, 
int);
 
  116  char WndClassName[16];
 
a simple class to control print indentation
 
Superclass of video input devices for VTK.
 
Video-for-Windows video digitizer.
 
vtkWin32VideoSourceInternal * Internal
 
void ReleaseSystemResources() override
Free the driver (this is called automatically inside the destructor).
 
static vtkWin32VideoSource * New()
 
void SetFrameRate(float rate) override
Request a particular frame rate (default 30 frames per second).
 
~vtkWin32VideoSource() override
 
void SetFrameSize(int dim[3]) override
Request a particular frame size (set the third value to 1).
 
void VideoSourceDialog()
Bring up a modal dialog box for video input selection.
 
void Play() override
Standard VCR functionality: Play recorded video.
 
void Stop() override
Standard VCR functionality: Stop recording or playing.
 
void SetPreview(int p)
Turn on/off the preview (overlay) window.
 
void VideoFormatDialog()
Bring up a modal dialog box for video format selection.
 
void SetOutputFormat(int format) override
Request a particular output format (default: VTK_RGB).
 
void OnParentWndDestroy()
For internal use only.
 
void Initialize() override
Initialize the driver (this is called automatically when the first grab is done).
 
void UnpackRasterLine(char *outptr, char *inptr, int start, int count) override
These methods can be overridden in subclasses.
 
void Grab() override
Grab a single video frame.
 
void SetFrameSize(int x, int y, int z) override
Request a particular frame size (set the third value to 1).
 
void LocalInternalGrab(void *)
For internal use only.
 
void Record() override
Standard VCR functionality: Record incoming video.
 
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.