Go to the documentation of this file.
31 #ifndef vtkWin32VideoSource_h
32 #define vtkWin32VideoSource_h
34 #include "vtkIOVideoModule.h"
37 class vtkWin32VideoSourceInternal;
90 vtkBooleanMacro(Preview,
int);
91 vtkGetMacro(Preview,
int);
128 char WndClassName[16];
136 int start,
int count)
override;
void SetPreview(int p)
Turn on/off the preview (overlay) window.
void SetFrameSize(int dim[3]) override
void Play() override
Standard VCR functionality: Play recorded video.
void OnParentWndDestroy()
void SetOutputFormat(int format) override
Request a particular output format (default: VTK_RGB).
void ReleaseSystemResources() override
Free the driver (this is called automatically inside the destructor).
a simple class to control print indentation
static vtkWin32VideoSource * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void Stop() override
Standard VCR functionality: Stop recording or playing.
vtkWin32VideoSourceInternal * Internal
void SetFrameRate(float rate) override
Request a particular frame rate (default 30 frames per second).
void UnpackRasterLine(char *outptr, char *inptr, int start, int count) override
void Grab() override
Grab a single video frame.
virtual void SetFrameSize(int x, int y, int z)
Set the full-frame size.
Video-for-Windows video digitizer.
void SetFrameSize(int x, int y, int z) 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 Initialize() override
Initialize the driver (this is called automatically when the first grab is done).
void LocalInternalGrab(void *)
For internal use only.
void VideoFormatDialog()
Bring up a modal dialog box for video format selection.
Superclass of video input devices for VTK.
void Record() override
Standard VCR functionality: Record incoming video.