34 #ifndef vtkWin32VideoSource_h
35 #define vtkWin32VideoSource_h
37 #include "vtkIOVideoModule.h"
40 class vtkWin32VideoSourceInternal;
92 void SetPreview(
int p);
94 vtkGetMacro(Preview,
int);
100 void VideoFormatDialog();
105 void VideoSourceDialog();
123 void LocalInternalGrab(
void*);
124 void OnParentWndDestroy();
131 char WndClassName[16];
139 int start,
int count);
141 void DoVFWFormatSetup();
142 void DoVFWFormatCheck();
virtual void Stop()
Stop recording or playing.
Video-for-Windows video digitizer.
virtual void Initialize()
Initialize the hardware.
Superclass of video input devices for VTK.
virtual void ReleaseSystemResources()
Release the video driver.
a simple class to control print indentation
virtual void Record()
Record incoming video at the specified FrameRate.
virtual void UnpackRasterLine(char *outPtr, char *rowPtr, int start, int count)
These methods can be overridden in subclasses.
virtual void SetOutputFormat(int format)
Set the output format.
static vtkVideoSource * New()
virtual void SetFrameSize(int dim[3])
Request a particular frame size (set the third value to 1).
virtual void SetFrameSize(int x, int y, int z)
Set the full-frame size.
vtkWin32VideoSourceInternal * Internal
virtual void Play()
Play through the 'tape' sequentially at the specified frame rate.
virtual void Grab()
Grab a single video frame.
virtual void SetFrameRate(float rate)
Request a particular frame rate (default 30 frames per second).
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.