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 110 virtual void SetVideoChannel(
int channel);
111 vtkGetMacro(VideoChannel,
int);
118 virtual void SetVideoFormat(
int format);
126 vtkGetMacro(VideoFormat,
int);
133 virtual void SetVideoInput(
int input);
139 vtkGetMacro(VideoInput,
int);
150 virtual void SetContrastLevel(
float contrast);
151 vtkGetMacro(ContrastLevel,
float);
152 virtual void SetBrightnessLevel(
float brightness);
153 vtkGetMacro(BrightnessLevel,
float);
154 virtual void SetHueLevel(
float hue);
155 vtkGetMacro(HueLevel,
float);
156 virtual void SetSaturationLevel(
float saturation);
157 vtkGetMacro(SaturationLevel,
float);
165 virtual void SetBlackLevel(
float value);
167 return this->BlackLevel; };
168 virtual void SetWhiteLevel(
float value);
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);
222 virtual void SetMILErrorMessages(
int yesno);
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);
266 virtual void AllocateMILDigitizer();
267 virtual void AllocateMILBuffer();
269 virtual char *MILInterpreterForSystem(
const char *system);
313 double CreateTimeStampForFrame(
unsigned long frame);
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.
#define VTK_MIL_METEOR_II_DIG
void SetMILSystemTypeToMeteorIIDig()
Set the system which you want use.
void * OldUserDataPtr
For internal use only.
double EstimatedFramePeriod
virtual void Initialize()
Initialize the hardware.
void SetVideoFormatToNTSC()
Set/Get the video format.
void SetMILSystemTypeToMeteorIICL()
Set the system which you want use.
#define VTK_MIL_METEOR_II_CL
void SetVideoInputToComposite()
Set/Get the video input.
Matrox Imaging Library frame grabbers.
void SetMILSystemTypeToCronos()
Set the system which you want use.
void SetMILSystemTypeToGenesis()
Set the system which you want use.
void SetVideoInputToMono()
Set/Get the video input.
Superclass of video input devices for VTK.
void SetMILSystemTypeToMeteorII()
Set the system which you want use.
#define VTK_MIL_COMPOSITE
void SetMILSystemTypeToCorona()
Set the system which you want use.
int FrameCounter
For internal use only.
void SetMILSystemTypeToCoronaII()
Set the system which you want use.
void SetVideoInputToDigital()
Set/Get the video input.
void SetVideoInputToRGB()
Set/Get the video input.
virtual void ReleaseSystemResources()
Release the video driver.
#define VTK_MIL_NONSTANDARD
a simple class to control print indentation
virtual void Record()
Record incoming video at the specified FrameRate.
void SetVideoFormatToCCIR()
Set/Get the video format.
virtual float GetWhiteLevel()
Set/Get the video levels for monochrome/RGB: valid values are between 0.0 and 255.0.
void SetMILSystemTypeToMeteorII1394()
Set the system which you want use.
#define VTK_MIL_GENESIS_PLUS
#define VTK_MIL_METEOR_II
virtual void SetOutputFormat(int format)
Set the output format.
static vtkVideoSource * New()
int ForceGrab
For internal use only.
void SetVideoInputToYC()
Set/Get the video input.
void SetMILSystemTypeToMeteor()
Set the system which you want use.
#define VTK_MIL_CORONA_II
virtual float GetBlackLevel()
Set/Get the video levels for monochrome/RGB: valid values are between 0.0 and 255.0.
void SetMILSystemTypeToOdyssey()
Set the system which you want use.
virtual void SetFrameSize(int x, int y, int z)
Set the full-frame size.
unsigned long LastFrameCount
int MILSysInternallyAllocated
virtual void Play()
Play through the 'tape' sequentially at the specified frame rate.
virtual void Grab()
Grab a single video frame.
void SetVideoFormatToRS170()
Set/Get the video format.
void SetVideoFormatToSECAM()
Set/Get the video format.
void * OldHookFunction
For internal use only.
#define VTK_MIL_METEOR_II_1394
void SetMILSystemTypeToOrion()
Set the system which you want use.
void SetVideoFormatToPAL()
Set/Get the video format.
void SetMILSystemTypeToPulsar()
Set the system which you want use.
void SetMILSystemTypeToGenesisPlus()
Set the system which you want use.
void SetVideoFormatToNonStandard()
Set/Get the video format.
virtual void InternalGrab()
The internal function which actually does the grab.
int MILAppInternallyAllocated