31 #ifndef vtkWin32VideoSource_h 32 #define vtkWin32VideoSource_h 34 #include "vtkIOVideoModule.h" 37 class vtkWin32VideoSourceInternal;
89 void SetPreview(
int p);
90 vtkBooleanMacro(Preview,
int);
91 vtkGetMacro(Preview,
int);
97 void VideoFormatDialog();
102 void VideoSourceDialog();
120 void LocalInternalGrab(
void*);
121 void OnParentWndDestroy();
128 char WndClassName[16];
136 int start,
int count)
override;
138 void DoVFWFormatSetup();
139 void DoVFWFormatCheck();
virtual void Stop()
Stop recording or playing.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
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 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).
void SetFrameSize(int dim[3]) override
Request a particular frame size (set the third value to 1).