VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
vtkMILVideoSource Class Reference

Matrox Imaging Library frame grabbers. More...

#include <vtkMILVideoSource.h>

Inheritance diagram for vtkMILVideoSource:
Inheritance graph
[legend]
Collaboration diagram for vtkMILVideoSource:
Collaboration graph
[legend]

List of all members.

Public Types

typedef vtkVideoSource Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkMILVideoSourceNewInstance () const
void PrintSelf (ostream &os, vtkIndent indent)
void Record ()
void Play ()
void Stop ()
void Grab ()
void SetFrameSize (int x, int y, int z)
void SetOutputFormat (int format)
void Initialize ()
void ReleaseSystemResources ()
virtual void SetVideoChannel (int channel)
virtual int GetVideoChannel ()
virtual void SetVideoFormat (int format)
void SetVideoFormatToNTSC ()
void SetVideoFormatToPAL ()
void SetVideoFormatToSECAM ()
void SetVideoFormatToRS170 ()
void SetVideoFormatToCCIR ()
void SetVideoFormatToNonStandard ()
virtual int GetVideoFormat ()
virtual void SetVideoInput (int input)
void SetVideoInputToMono ()
void SetVideoInputToComposite ()
void SetVideoInputToYC ()
void SetVideoInputToRGB ()
void SetVideoInputToDigital ()
virtual int GetVideoInput ()
virtual void SetContrastLevel (float contrast)
virtual float GetContrastLevel ()
virtual void SetBrightnessLevel (float brightness)
virtual float GetBrightnessLevel ()
virtual void SetHueLevel (float hue)
virtual float GetHueLevel ()
virtual void SetSaturationLevel (float saturation)
virtual float GetSaturationLevel ()
virtual void SetBlackLevel (float value)
virtual float GetBlackLevel ()
virtual void SetWhiteLevel (float value)
virtual float GetWhiteLevel ()
virtual void SetMILSystemType (const char *)
virtual char * GetMILSystemType ()
void SetMILSystemTypeToMeteor ()
void SetMILSystemTypeToMeteorII ()
void SetMILSystemTypeToMeteorIIDig ()
void SetMILSystemTypeToMeteorIICL ()
void SetMILSystemTypeToMeteorII1394 ()
void SetMILSystemTypeToCorona ()
void SetMILSystemTypeToCoronaII ()
void SetMILSystemTypeToPulsar ()
void SetMILSystemTypeToGenesis ()
void SetMILSystemTypeToGenesisPlus ()
void SetMILSystemTypeToOrion ()
void SetMILSystemTypeToCronos ()
void SetMILSystemTypeToOdyssey ()
virtual void SetMILSystemNumber (int)
virtual int GetMILSystemNumber ()
virtual void SetMILDigitizerDCF (const char *)
virtual char * GetMILDigitizerDCF ()
virtual void SetMILDigitizerNumber (int)
virtual int GetMILDigitizerNumber ()
virtual void SetMILErrorMessages (int yesno)
virtual void MILErrorMessagesOn ()
virtual void MILErrorMessagesOff ()
virtual int GetMILErrorMessages ()
virtual void SetMILAppID (long)
virtual long GetMILAppID ()
virtual void SetMILSysID (long)
virtual long GetMILSysID ()
virtual long GetMILDigID ()
virtual long GetMILBufID ()

Static Public Member Functions

static vtkMILVideoSourceNew ()
static int IsTypeOf (const char *type)
static vtkMILVideoSourceSafeDownCast (vtkObjectBase *o)

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkMILVideoSource ()
 ~vtkMILVideoSource ()
virtual void AllocateMILDigitizer ()
virtual void AllocateMILBuffer ()
virtual char * MILInterpreterForSystem (const char *system)
double CreateTimeStampForFrame (unsigned long frame)

Protected Attributes

char * MILInterpreterDLL
int VideoChannel
int VideoInput
int VideoInputForColor
int VideoFormat
float ContrastLevel
float BrightnessLevel
float HueLevel
float SaturationLevel
float BlackLevel
float WhiteLevel
int FrameMaxSize [2]
long MILAppID
long MILSysID
long MILDigID
long MILBufID
char * MILSystemType
int MILSystemNumber
int MILDigitizerNumber
char * MILDigitizerDCF
int MILErrorMessages
int MILAppInternallyAllocated
int MILSysInternallyAllocated
int FatalMILError
double LastTimeStamp
unsigned long LastFrameCount
double EstimatedFramePeriod
double NextFramePeriod
void * OldHookFunction
void * OldUserDataPtr
int FrameCounter
int ForceGrab
void InternalGrab ()

Detailed Description

Matrox Imaging Library frame grabbers.

vtkMILVideoSource provides an interface to Matrox Meteor, MeteorII and Corona video digitizers through the Matrox Imaging Library interface. In order to use this class, you must link VTK with mil.lib, MIL version 5.0 or higher is required.

Warning:
With some capture cards, if this class is leaked and ReleaseSystemResources is not called, you may have to reboot before you can capture again. vtkVideoSource used to keep a global list and delete the video sources if your program leaked, due to exit crashes that was removed.
See also:
vtkWin32VideoSource vtkVideoSource

Definition at line 68 of file vtkMILVideoSource.h.


Member Typedef Documentation

Reimplemented from vtkVideoSource.

Definition at line 72 of file vtkMILVideoSource.h.


Constructor & Destructor Documentation


Member Function Documentation

Create an object with Debug turned off, modified time initialized to zero, and reference counting on.

Reimplemented from vtkVideoSource.

static int vtkMILVideoSource::IsTypeOf ( const char *  name) [static]

Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkVideoSource.

virtual int vtkMILVideoSource::IsA ( const char *  name) [virtual]

Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkVideoSource.

Reimplemented from vtkVideoSource.

virtual vtkObjectBase* vtkMILVideoSource::NewInstanceInternal ( ) const [protected, virtual]

Reimplemented from vtkVideoSource.

Reimplemented from vtkVideoSource.

void vtkMILVideoSource::PrintSelf ( ostream &  os,
vtkIndent  indent 
) [virtual]

Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Reimplemented from vtkVideoSource.

void vtkMILVideoSource::Record ( ) [virtual]

Standard VCR functionality: Record incoming video.

Reimplemented from vtkVideoSource.

void vtkMILVideoSource::Play ( ) [virtual]

Standard VCR functionality: Play recorded video.

Reimplemented from vtkVideoSource.

void vtkMILVideoSource::Stop ( ) [virtual]

Standard VCR functionality: Stop recording or playing.

Reimplemented from vtkVideoSource.

void vtkMILVideoSource::Grab ( ) [virtual]

Grab a single video frame.

Reimplemented from vtkVideoSource.

void vtkMILVideoSource::SetFrameSize ( int  x,
int  y,
int  z 
) [virtual]

Request a particular frame size (set the third value to 1).

Reimplemented from vtkVideoSource.

void vtkMILVideoSource::SetOutputFormat ( int  format) [virtual]

Request a particular output format (default: VTK_RGB).

Reimplemented from vtkVideoSource.

virtual void vtkMILVideoSource::SetVideoChannel ( int  channel) [virtual]

Set/Get the video channel

virtual int vtkMILVideoSource::GetVideoChannel ( ) [virtual]

Set/Get the video channel

virtual void vtkMILVideoSource::SetVideoFormat ( int  format) [virtual]

Set/Get the video format

Set/Get the video format

Definition at line 102 of file vtkMILVideoSource.h.

Set/Get the video format

Definition at line 103 of file vtkMILVideoSource.h.

Set/Get the video format

Definition at line 104 of file vtkMILVideoSource.h.

Set/Get the video format

Definition at line 105 of file vtkMILVideoSource.h.

Set/Get the video format

Definition at line 106 of file vtkMILVideoSource.h.

Set/Get the video format

Definition at line 107 of file vtkMILVideoSource.h.

virtual int vtkMILVideoSource::GetVideoFormat ( ) [virtual]

Set/Get the video format

virtual void vtkMILVideoSource::SetVideoInput ( int  input) [virtual]

Set/Get the video input

Set/Get the video input

Definition at line 115 of file vtkMILVideoSource.h.

Set/Get the video input

Definition at line 116 of file vtkMILVideoSource.h.

Set/Get the video input

Definition at line 117 of file vtkMILVideoSource.h.

Set/Get the video input

Definition at line 118 of file vtkMILVideoSource.h.

Set/Get the video input

Definition at line 119 of file vtkMILVideoSource.h.

virtual int vtkMILVideoSource::GetVideoInput ( ) [virtual]

Set/Get the video input

virtual void vtkMILVideoSource::SetContrastLevel ( float  contrast) [virtual]

Set/Get the video levels for composite/SVideo: the valid ranges are: Contrast [0.0,2.0] Brighness [0.0,255.0] Hue [-0.5,0.5] Saturation [0.0,2.0]

Set/Get the video levels for composite/SVideo: the valid ranges are: Contrast [0.0,2.0] Brighness [0.0,255.0] Hue [-0.5,0.5] Saturation [0.0,2.0]

virtual void vtkMILVideoSource::SetBrightnessLevel ( float  brightness) [virtual]

Set/Get the video levels for composite/SVideo: the valid ranges are: Contrast [0.0,2.0] Brighness [0.0,255.0] Hue [-0.5,0.5] Saturation [0.0,2.0]

Set/Get the video levels for composite/SVideo: the valid ranges are: Contrast [0.0,2.0] Brighness [0.0,255.0] Hue [-0.5,0.5] Saturation [0.0,2.0]

virtual void vtkMILVideoSource::SetHueLevel ( float  hue) [virtual]

Set/Get the video levels for composite/SVideo: the valid ranges are: Contrast [0.0,2.0] Brighness [0.0,255.0] Hue [-0.5,0.5] Saturation [0.0,2.0]

virtual float vtkMILVideoSource::GetHueLevel ( ) [virtual]

Set/Get the video levels for composite/SVideo: the valid ranges are: Contrast [0.0,2.0] Brighness [0.0,255.0] Hue [-0.5,0.5] Saturation [0.0,2.0]

virtual void vtkMILVideoSource::SetSaturationLevel ( float  saturation) [virtual]

Set/Get the video levels for composite/SVideo: the valid ranges are: Contrast [0.0,2.0] Brighness [0.0,255.0] Hue [-0.5,0.5] Saturation [0.0,2.0]

Set/Get the video levels for composite/SVideo: the valid ranges are: Contrast [0.0,2.0] Brighness [0.0,255.0] Hue [-0.5,0.5] Saturation [0.0,2.0]

virtual void vtkMILVideoSource::SetBlackLevel ( float  value) [virtual]

Set/Get the video levels for monochrome/RGB: valid values are between 0.0 and 255.0.

virtual float vtkMILVideoSource::GetBlackLevel ( ) [inline, virtual]

Set/Get the video levels for monochrome/RGB: valid values are between 0.0 and 255.0.

Definition at line 141 of file vtkMILVideoSource.h.

virtual void vtkMILVideoSource::SetWhiteLevel ( float  value) [virtual]

Set/Get the video levels for monochrome/RGB: valid values are between 0.0 and 255.0.

virtual float vtkMILVideoSource::GetWhiteLevel ( ) [inline, virtual]

Set/Get the video levels for monochrome/RGB: valid values are between 0.0 and 255.0.

Definition at line 144 of file vtkMILVideoSource.h.

virtual void vtkMILVideoSource::SetMILSystemType ( const char *  ) [virtual]

Set the system which you want use. If you don't specify a system, then your primary digitizer will be autodetected.

virtual char* vtkMILVideoSource::GetMILSystemType ( ) [virtual]

Set the system which you want use. If you don't specify a system, then your primary digitizer will be autodetected.

Set the system which you want use. If you don't specify a system, then your primary digitizer will be autodetected.

Definition at line 153 of file vtkMILVideoSource.h.

Set the system which you want use. If you don't specify a system, then your primary digitizer will be autodetected.

Definition at line 154 of file vtkMILVideoSource.h.

Set the system which you want use. If you don't specify a system, then your primary digitizer will be autodetected.

Definition at line 155 of file vtkMILVideoSource.h.

Set the system which you want use. If you don't specify a system, then your primary digitizer will be autodetected.

Definition at line 156 of file vtkMILVideoSource.h.

Set the system which you want use. If you don't specify a system, then your primary digitizer will be autodetected.

Definition at line 157 of file vtkMILVideoSource.h.

Set the system which you want use. If you don't specify a system, then your primary digitizer will be autodetected.

Definition at line 158 of file vtkMILVideoSource.h.

Set the system which you want use. If you don't specify a system, then your primary digitizer will be autodetected.

Definition at line 159 of file vtkMILVideoSource.h.

Set the system which you want use. If you don't specify a system, then your primary digitizer will be autodetected.

Definition at line 160 of file vtkMILVideoSource.h.

Set the system which you want use. If you don't specify a system, then your primary digitizer will be autodetected.

Definition at line 161 of file vtkMILVideoSource.h.

Set the system which you want use. If you don't specify a system, then your primary digitizer will be autodetected.

Definition at line 162 of file vtkMILVideoSource.h.

Set the system which you want use. If you don't specify a system, then your primary digitizer will be autodetected.

Definition at line 163 of file vtkMILVideoSource.h.

Set the system which you want use. If you don't specify a system, then your primary digitizer will be autodetected.

Definition at line 164 of file vtkMILVideoSource.h.

Set the system which you want use. If you don't specify a system, then your primary digitizer will be autodetected.

Definition at line 165 of file vtkMILVideoSource.h.

virtual void vtkMILVideoSource::SetMILSystemNumber ( int  ) [virtual]

Set the system number if you have multiple systems of the same type

Set the system number if you have multiple systems of the same type

virtual void vtkMILVideoSource::SetMILDigitizerDCF ( const char *  ) [virtual]

Set the DCF filename for non-standard video formats

virtual char* vtkMILVideoSource::GetMILDigitizerDCF ( ) [virtual]

Set the DCF filename for non-standard video formats

virtual void vtkMILVideoSource::SetMILDigitizerNumber ( int  ) [virtual]

Set the digitizer number for systems with multiple digitizers

Set the digitizer number for systems with multiple digitizers

virtual void vtkMILVideoSource::SetMILErrorMessages ( int  yesno) [virtual]

Set whether to display MIL error messages (default on)

virtual void vtkMILVideoSource::MILErrorMessagesOn ( ) [virtual]

Set whether to display MIL error messages (default on)

virtual void vtkMILVideoSource::MILErrorMessagesOff ( ) [virtual]

Set whether to display MIL error messages (default on)

Set whether to display MIL error messages (default on)

virtual void vtkMILVideoSource::SetMILAppID ( long  ) [virtual]

Allows fine-grained control

virtual long vtkMILVideoSource::GetMILAppID ( ) [virtual]

Allows fine-grained control

virtual void vtkMILVideoSource::SetMILSysID ( long  ) [virtual]

Allows fine-grained control

virtual long vtkMILVideoSource::GetMILSysID ( ) [virtual]

Allows fine-grained control

virtual long vtkMILVideoSource::GetMILDigID ( ) [virtual]

Allows fine-grained control

virtual long vtkMILVideoSource::GetMILBufID ( ) [virtual]

Allows fine-grained control

void vtkMILVideoSource::Initialize ( ) [virtual]

Initialize the driver (this is called automatically when the first grab is done).

Reimplemented from vtkVideoSource.

Free the driver (this is called automatically inside the destructor).

Reimplemented from vtkVideoSource.

void vtkMILVideoSource::InternalGrab ( ) [virtual]

For internal use only

Reimplemented from vtkVideoSource.

virtual void vtkMILVideoSource::AllocateMILDigitizer ( ) [protected, virtual]
virtual void vtkMILVideoSource::AllocateMILBuffer ( ) [protected, virtual]
virtual char* vtkMILVideoSource::MILInterpreterForSystem ( const char *  system) [protected, virtual]
double vtkMILVideoSource::CreateTimeStampForFrame ( unsigned long  frame) [protected]

Method for updating the virtual clock that accurately times the arrival of each frame, more accurately than is possible with the system clock alone because the virtual clock averages out the jitter.


Member Data Documentation

For internal use only

Definition at line 211 of file vtkMILVideoSource.h.

For internal use only

Definition at line 212 of file vtkMILVideoSource.h.

For internal use only

Definition at line 213 of file vtkMILVideoSource.h.

For internal use only

Definition at line 214 of file vtkMILVideoSource.h.

Definition at line 226 of file vtkMILVideoSource.h.

Definition at line 228 of file vtkMILVideoSource.h.

Definition at line 229 of file vtkMILVideoSource.h.

Definition at line 230 of file vtkMILVideoSource.h.

Definition at line 231 of file vtkMILVideoSource.h.

Definition at line 233 of file vtkMILVideoSource.h.

Definition at line 234 of file vtkMILVideoSource.h.

Definition at line 235 of file vtkMILVideoSource.h.

Definition at line 236 of file vtkMILVideoSource.h.

Definition at line 238 of file vtkMILVideoSource.h.

Definition at line 239 of file vtkMILVideoSource.h.

Definition at line 241 of file vtkMILVideoSource.h.

long vtkMILVideoSource::MILAppID [protected]

Definition at line 243 of file vtkMILVideoSource.h.

long vtkMILVideoSource::MILSysID [protected]

Definition at line 244 of file vtkMILVideoSource.h.

long vtkMILVideoSource::MILDigID [protected]

Definition at line 245 of file vtkMILVideoSource.h.

long vtkMILVideoSource::MILBufID [protected]

Definition at line 246 of file vtkMILVideoSource.h.

Definition at line 250 of file vtkMILVideoSource.h.

Definition at line 251 of file vtkMILVideoSource.h.

Definition at line 253 of file vtkMILVideoSource.h.

Definition at line 254 of file vtkMILVideoSource.h.

Definition at line 256 of file vtkMILVideoSource.h.

Definition at line 258 of file vtkMILVideoSource.h.

Definition at line 259 of file vtkMILVideoSource.h.

Definition at line 261 of file vtkMILVideoSource.h.

Definition at line 268 of file vtkMILVideoSource.h.

unsigned long vtkMILVideoSource::LastFrameCount [protected]

Definition at line 269 of file vtkMILVideoSource.h.

Definition at line 270 of file vtkMILVideoSource.h.

Definition at line 271 of file vtkMILVideoSource.h.


The documentation for this class was generated from the following file: