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);
125 vtkGetMacro(VideoFormat,
int);
138 vtkGetMacro(VideoInput,
int);
150 vtkGetMacro(ContrastLevel,
float);
152 vtkGetMacro(BrightnessLevel,
float);
154 vtkGetMacro(HueLevel,
float);
156 vtkGetMacro(SaturationLevel,
float);
175 vtkSetStringMacro(MILSystemType);
176 vtkGetStringMacro(MILSystemType);
195 vtkSetMacro(MILSystemNumber,
int);
196 vtkGetMacro(MILSystemNumber,
int);
203 vtkSetStringMacro(MILDigitizerDCF);
204 vtkGetStringMacro(MILDigitizerDCF);
211 vtkSetMacro(MILDigitizerNumber,
int);
212 vtkGetMacro(MILDigitizerNumber,
int);
220 vtkBooleanMacro(MILErrorMessages,
int);
221 vtkGetMacro(MILErrorMessages,
int);
228 vtkSetMacro(MILAppID,
long);
229 vtkGetMacro(MILAppID,
long);
230 vtkSetMacro(MILSysID,
long);
231 vtkGetMacro(MILSysID,
long);
232 vtkGetMacro(MILDigID,
long);
233 vtkGetMacro(MILBufID,
long);
a simple class to control print indentation
Matrox Imaging Library frame grabbers.
int MILSysInternallyAllocated
virtual void SetHueLevel(float hue)
void SetMILSystemTypeToCorona()
virtual float GetWhiteLevel()
void SetMILSystemTypeToOrion()
virtual void SetVideoInput(int input)
Set/Get the video input.
void SetFrameSize(int x, int y, int z) override
Request a particular frame size (set the third value to 1).
void * OldHookFunction
For internal use only.
void SetMILSystemTypeToMeteorIICL()
virtual void SetWhiteLevel(float value)
void SetMILSystemTypeToCronos()
virtual void AllocateMILBuffer()
void InternalGrab() override
The internal function which actually does the grab.
void SetMILSystemTypeToGenesisPlus()
int MILAppInternallyAllocated
void SetOutputFormat(int format) override
Request a particular output format (default: VTK_RGB).
virtual void SetBrightnessLevel(float brightness)
double CreateTimeStampForFrame(unsigned long frame)
Method for updating the virtual clock that accurately times the arrival of each frame,...
virtual float GetBlackLevel()
virtual char * MILInterpreterForSystem(const char *system)
void SetMILSystemTypeToMeteor()
void SetMILSystemTypeToMeteorII1394()
void Record() override
Standard VCR functionality: Record incoming video.
void SetVideoFormatToNonStandard()
void SetVideoInputToDigital()
void SetVideoInputToComposite()
void SetMILSystemTypeToCoronaII()
virtual void SetSaturationLevel(float saturation)
virtual void SetContrastLevel(float contrast)
Set/Get the video levels for composite/SVideo: the valid ranges are: Contrast [0.0,...
void SetMILSystemTypeToGenesis()
void SetVideoInputToMono()
~vtkMILVideoSource() override
void SetMILSystemTypeToMeteorII()
void SetMILSystemTypeToPulsar()
void Stop() override
Standard VCR functionality: Stop recording or playing.
unsigned long LastFrameCount
virtual void SetBlackLevel(float value)
Set/Get the video levels for monochrome/RGB: valid values are between 0.0 and 255....
virtual void SetMILErrorMessages(int yesno)
Set whether to display MIL error messages (default on)
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
void SetMILSystemTypeToOdyssey()
void Initialize() override
Initialize the driver (this is called automatically when the first grab is done).
virtual void SetVideoChannel(int channel)
Set/Get the video channel.
void SetVideoFormatToNTSC()
void SetVideoFormatToRS170()
virtual void SetVideoFormat(int format)
Set/Get the video format.
void Play() override
Standard VCR functionality: Play recorded video.
void SetVideoFormatToSECAM()
void SetVideoFormatToCCIR()
virtual void AllocateMILDigitizer()
void ReleaseSystemResources() override
Free the driver (this is called automatically inside the destructor).
double EstimatedFramePeriod
void SetVideoFormatToPAL()
void SetVideoInputToRGB()
void Grab() override
Grab a single video frame.
void SetMILSystemTypeToMeteorIIDig()
static vtkMILVideoSource * New()
Superclass of video input devices for VTK.
#define VTK_MIL_NONSTANDARD
#define VTK_MIL_GENESIS_PLUS
#define VTK_MIL_METEOR_II_DIG
#define VTK_MIL_CORONA_II
#define VTK_MIL_METEOR_II_CL
#define VTK_MIL_COMPOSITE
#define VTK_MIL_METEOR_II_1394
#define VTK_MIL_METEOR_II