Go to the documentation of this file.
32 #ifndef vtkMILVideoSource_h
33 #define vtkMILVideoSource_h
35 #include "vtkIOVideoModule.h"
39 #define VTK_MIL_DEFAULT 0
40 #define VTK_MIL_METEOR "M_SYSTEM_METEOR"
41 #define VTK_MIL_METEOR_II "M_SYSTEM_METEOR_II"
42 #define VTK_MIL_METEOR_II_DIG "M_SYSTEM_METEOR_II_DIG"
43 #define VTK_MIL_METEOR_II_CL "M_SYSTEM_METEOR_II_CL"
44 #define VTK_MIL_METEOR_II_1394 "M_SYSTEM_METEOR_II_1394"
45 #define VTK_MIL_CORONA "M_SYSTEM_CORONA"
46 #define VTK_MIL_CORONA_II "M_SYSTEM_CORONA_II"
47 #define VTK_MIL_PULSAR "M_SYSTEM_PULSAR"
48 #define VTK_MIL_GENESIS "M_SYSTEM_GENESIS"
49 #define VTK_MIL_GENESIS_PLUS "M_SYSTEM_GENESIS_PLUS"
50 #define VTK_MIL_ORION "M_SYSTEM_ORION"
51 #define VTK_MIL_CRONOS "M_SYSTEM_CRONOS"
52 #define VTK_MIL_ODYSSEY "M_SYSTEM_ODYSSEY"
55 #define VTK_MIL_MONO 0
56 #define VTK_MIL_COMPOSITE 1
59 #define VTK_MIL_DIGITAL 4
62 #define VTK_MIL_RS170 0
63 #define VTK_MIL_NTSC 1
64 #define VTK_MIL_CCIR 2
66 #define VTK_MIL_SECAM 4
67 #define VTK_MIL_NONSTANDARD 5
111 vtkGetMacro(VideoChannel,
int);
126 vtkGetMacro(VideoFormat,
int);
139 vtkGetMacro(VideoInput,
int);
151 vtkGetMacro(ContrastLevel,
float);
153 vtkGetMacro(BrightnessLevel,
float);
155 vtkGetMacro(HueLevel,
float);
157 vtkGetMacro(SaturationLevel,
float);
167 return this->BlackLevel; };
170 return this->WhiteLevel; };
178 vtkSetStringMacro(MILSystemType);
179 vtkGetStringMacro(MILSystemType);
198 vtkSetMacro(MILSystemNumber,
int);
199 vtkGetMacro(MILSystemNumber,
int);
206 vtkSetStringMacro(MILDigitizerDCF);
207 vtkGetStringMacro(MILDigitizerDCF);
214 vtkSetMacro(MILDigitizerNumber,
int);
215 vtkGetMacro(MILDigitizerNumber,
int);
223 vtkBooleanMacro(MILErrorMessages,
int);
224 vtkGetMacro(MILErrorMessages,
int);
231 vtkSetMacro(MILAppID,
long);
232 vtkGetMacro(MILAppID,
long);
233 vtkSetMacro(MILSysID,
long);
234 vtkGetMacro(MILSysID,
long);
235 vtkGetMacro(MILDigID,
long);
236 vtkGetMacro(MILBufID,
long);
virtual char * MILInterpreterForSystem(const char *system)
double EstimatedFramePeriod
virtual void SetVideoFormat(int format)
Set/Get the video format.
void SetVideoFormatToNTSC()
void Grab() override
Grab a single video frame.
void SetOutputFormat(int format) override
Request a particular output format (default: VTK_RGB).
void SetMILSystemTypeToGenesisPlus()
void SetVideoInputToComposite()
void SetMILSystemTypeToPulsar()
void SetMILSystemTypeToMeteorIIDig()
void SetMILSystemTypeToCronos()
virtual void SetSaturationLevel(float saturation)
#define VTK_MIL_METEOR_II
void SetFrameSize(int x, int y, int z) override
Request a particular frame size (set the third value to 1).
void SetMILSystemTypeToMeteorIICL()
#define VTK_MIL_METEOR_II_1394
void ReleaseSystemResources() override
Free the driver (this is called automatically inside the destructor).
void SetMILSystemTypeToGenesis()
void Play() override
Standard VCR functionality: Play recorded video.
virtual void SetVideoInput(int input)
Set/Get the video input.
virtual void AllocateMILDigitizer()
#define VTK_MIL_COMPOSITE
#define VTK_MIL_METEOR_II_CL
void SetVideoInputToRGB()
virtual void SetMILErrorMessages(int yesno)
Set whether to display MIL error messages (default on)
void InternalGrab() override
The internal function which actually does the grab.
virtual void AllocateMILBuffer()
void SetMILSystemTypeToCorona()
virtual void SetWhiteLevel(float value)
virtual void SetHueLevel(float hue)
void SetVideoInputToMono()
virtual void SetBrightnessLevel(float brightness)
void SetVideoInputToDigital()
void SetMILSystemTypeToMeteorII1394()
Matrox Imaging Library frame grabbers.
#define VTK_MIL_GENESIS_PLUS
void SetMILSystemTypeToMeteorII()
virtual float GetBlackLevel()
virtual void SetVideoChannel(int channel)
Set/Get the video channel.
void Initialize() override
Initialize the driver (this is called automatically when the first grab is done).
a simple class to control print indentation
int MILSysInternallyAllocated
void SetMILSystemTypeToCoronaII()
#define VTK_MIL_NONSTANDARD
void SetVideoFormatToRS170()
void SetMILSystemTypeToOdyssey()
static vtkMILVideoSource * New()
unsigned long LastFrameCount
void * OldHookFunction
For internal use only.
void SetVideoFormatToCCIR()
virtual void SetBlackLevel(float value)
Set/Get the video levels for monochrome/RGB: valid values are between 0.0 and 255....
virtual float GetWhiteLevel()
void SetMILSystemTypeToOrion()
void SetVideoFormatToPAL()
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
void Record() override
Standard VCR functionality: Record incoming video.
#define VTK_MIL_METEOR_II_DIG
void SetVideoFormatToNonStandard()
void SetMILSystemTypeToMeteor()
int MILAppInternallyAllocated
void SetVideoFormatToSECAM()
virtual void SetContrastLevel(float contrast)
Set/Get the video levels for composite/SVideo: the valid ranges are: Contrast [0.0,...
#define VTK_MIL_CORONA_II
double CreateTimeStampForFrame(unsigned long frame)
Method for updating the virtual clock that accurately times the arrival of each frame,...
Superclass of video input devices for VTK.
void Stop() override
Standard VCR functionality: Stop recording or playing.