19 #ifndef vtkWin32VideoSource_h
20 #define vtkWin32VideoSource_h
22 #include "vtkIOVideoModule.h"
25 VTK_ABI_NAMESPACE_BEGIN
26 class vtkWin32VideoSourceInternal;
77 void SetPreview(
int p);
78 vtkBooleanMacro(Preview,
int);
79 vtkGetMacro(Preview,
int);
85 void VideoFormatDialog();
90 void VideoSourceDialog();
108 void LocalInternalGrab(
void*);
109 void OnParentWndDestroy();
116 char WndClassName[16];
123 void UnpackRasterLine(
char* outptr,
char* inptr,
int start,
int count)
override;
125 void DoVFWFormatSetup();
126 void DoVFWFormatCheck();
133 VTK_ABI_NAMESPACE_END
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).