Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

vtkMILVideoSource Class Reference

Matrox Imaging Library frame grabbers. More...

#include <vtkMILVideoSource.h>

Inheritance diagram for vtkMILVideoSource:

Inheritance graph
Collaboration diagram for vtkMILVideoSource:

Collaboration graph
List of all members.

Public Methods

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
void Initialize ()
void ReleaseSystemResources ()
void Grab (int n)
void Grab ()
void Play ()
void Stop ()
void SetFrameSize (int x, int y, int z)
void SetOutputFormat (int format)
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 SetMILSystemType (int)
virtual int GetMILSystemType ()
void SetMILSystemTypeToMeteor ()
void SetMILSystemTypeToMeteorII ()
void SetMILSystemTypeToCorona ()
void SetMILSystemTypeToPulsar ()
void SetMILSystemTypeToMeteorIIDig ()
void SetMILSystemTypeToGenesis ()
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 ()
void InternalGrab ()

Static Public Methods

vtkMILVideoSource * New ()
int IsTypeOf (const char *type)
vtkMILVideoSource * SafeDownCast (vtkObject *o)

Public Attributes

void * OldHookFunction
void * OldUserDataPtr
int FrameCounter
int ForceGrab

Protected Methods

 vtkMILVideoSource ()
 ~vtkMILVideoSource ()
 vtkMILVideoSource (const vtkMILVideoSource &)
void operator= (const vtkMILVideoSource &)
virtual void AllocateMILDigitizer ()
virtual void AllocateMILBuffer ()
virtual void * MILInterpreterForSystem (int system)

Protected Attributes

char * MILInterpreterDLL
int VideoChannel
int VideoInput
int VideoInputForColor
int VideoFormat
float ContrastLevel
float BrightnessLevel
float HueLevel
float SaturationLevel
int FrameMaxSize [2]
long MILAppID
long MILSysID
long MILDigID
long MILBufID
int MILSystemType
int MILSystemNumber
int MILDigitizerNumber
char * MILDigitizerDCF
int MILErrorMessages
int MILAppInternallyAllocated
int MILSysInternallyAllocated
int FatalMILError

Detailed Description

Matrox Imaging Library frame grabbers.

2000/12/10 20:08:25
Thanks to David G. Gobbi who developed this class.
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.

See also:
vtkWin32VideoSource vtkVideoSource

Definition at line 84 of file vtkMILVideoSource.h.

Constructor & Destructor Documentation

vtkMILVideoSource::vtkMILVideoSource   [protected]

vtkMILVideoSource::~vtkMILVideoSource   [protected]

vtkMILVideoSource::vtkMILVideoSource const vtkMILVideoSource &    [inline, protected]

Definition at line 184 of file vtkMILVideoSource.h.

Member Function Documentation

vtkMILVideoSource* vtkMILVideoSource::New   [static]

Instantiate object with no start, end, or progress methods.

Reimplemented from vtkVideoSource.

virtual const char* vtkMILVideoSource::GetClassName   [virtual]

Return the class name as a string. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkVideoSource.

int vtkMILVideoSource::IsTypeOf const char *    type [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 *    type [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.

vtkMILVideoSource* vtkMILVideoSource::SafeDownCast vtkObject   o [static]

Will cast the supplied object to vtkObject* is this is a safe operation (i.e., a safe downcast); otherwise NULL is returned. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkVideoSource.

void vtkMILVideoSource::PrintSelf ostream &    os,
vtkIndent    indent

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::Initialize   [virtual]

See vtkVideoSource

Reimplemented from vtkVideoSource.

void vtkMILVideoSource::ReleaseSystemResources   [virtual]

Release the video driver. This is called automatically when the vtkVideoSource is destroyed.

Reimplemented from vtkVideoSource.

void vtkMILVideoSource::Grab int    n [virtual]

Grab a single frame or multiple frames.

Reimplemented from vtkVideoSource.

void vtkMILVideoSource::Grab   [inline]

Reimplemented from vtkVideoSource.

Definition at line 96 of file vtkMILVideoSource.h.

void vtkMILVideoSource::Play   [virtual]

Go into continuous grab mode. The video source will be automatically Modified() every time a new frame arrives.

Reimplemented from vtkVideoSource.

void vtkMILVideoSource::Stop   [virtual]

End continuous grab mode.

Reimplemented from vtkVideoSource.

void vtkMILVideoSource::SetFrameSize int    x,
int    y,
int    z

Reimplemented from vtkVideoSource.

void vtkMILVideoSource::SetOutputFormat int    format [virtual]

Set the output format. This must be appropriate for device, usually only VTK_LUMINANCE, VTK_RGB, and VTK_RGBA are supported.

Reimplemented from vtkVideoSource.

virtual void vtkMILVideoSource::SetVideoChannel int    channel [virtual]

Set/Get the video channel

virtual int vtkMILVideoSource::GetVideoChannel   [virtual]

virtual void vtkMILVideoSource::SetVideoFormat int    format [virtual]

Set/Get the video format

void vtkMILVideoSource::SetVideoFormatToNTSC   [inline]

Definition at line 109 of file vtkMILVideoSource.h.

void vtkMILVideoSource::SetVideoFormatToPAL   [inline]

Definition at line 110 of file vtkMILVideoSource.h.

void vtkMILVideoSource::SetVideoFormatToSECAM   [inline]

Definition at line 111 of file vtkMILVideoSource.h.

void vtkMILVideoSource::SetVideoFormatToRS170   [inline]

Definition at line 112 of file vtkMILVideoSource.h.

void vtkMILVideoSource::SetVideoFormatToCCIR   [inline]

Definition at line 113 of file vtkMILVideoSource.h.

void vtkMILVideoSource::SetVideoFormatToNonStandard   [inline]

Definition at line 114 of file vtkMILVideoSource.h.

virtual int vtkMILVideoSource::GetVideoFormat   [virtual]

virtual void vtkMILVideoSource::SetVideoInput int    input [virtual]

Set/Get the video input

void vtkMILVideoSource::SetVideoInputToMono   [inline]

Definition at line 120 of file vtkMILVideoSource.h.

void vtkMILVideoSource::SetVideoInputToComposite   [inline]

Definition at line 121 of file vtkMILVideoSource.h.

void vtkMILVideoSource::SetVideoInputToYC   [inline]

Definition at line 122 of file vtkMILVideoSource.h.

void vtkMILVideoSource::SetVideoInputToRGB   [inline]

Definition at line 123 of file vtkMILVideoSource.h.

void vtkMILVideoSource::SetVideoInputToDigital   [inline]

Definition at line 124 of file vtkMILVideoSource.h.

virtual int vtkMILVideoSource::GetVideoInput   [virtual]

virtual void vtkMILVideoSource::SetContrastLevel float    contrast [virtual]

Set/Get the video levels: 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::GetContrastLevel   [virtual]

virtual void vtkMILVideoSource::SetBrightnessLevel float    brightness [virtual]

virtual float vtkMILVideoSource::GetBrightnessLevel   [virtual]

virtual void vtkMILVideoSource::SetHueLevel float    hue [virtual]

virtual float vtkMILVideoSource::GetHueLevel   [virtual]

virtual void vtkMILVideoSource::SetSaturationLevel float    saturation [virtual]

virtual float vtkMILVideoSource::GetSaturationLevel   [virtual]

virtual void vtkMILVideoSource::SetMILSystemType int    [virtual]

Set the system which you want use. If you don't specify a system, then an attempt will be made to autodetect your system.

virtual int vtkMILVideoSource::GetMILSystemType   [virtual]

void vtkMILVideoSource::SetMILSystemTypeToMeteor   [inline]

Definition at line 142 of file vtkMILVideoSource.h.

void vtkMILVideoSource::SetMILSystemTypeToMeteorII   [inline]

Definition at line 143 of file vtkMILVideoSource.h.

void vtkMILVideoSource::SetMILSystemTypeToCorona   [inline]

Definition at line 144 of file vtkMILVideoSource.h.

void vtkMILVideoSource::SetMILSystemTypeToPulsar   [inline]

Definition at line 145 of file vtkMILVideoSource.h.

void vtkMILVideoSource::SetMILSystemTypeToMeteorIIDig   [inline]

Definition at line 146 of file vtkMILVideoSource.h.

void vtkMILVideoSource::SetMILSystemTypeToGenesis   [inline]

Definition at line 147 of file vtkMILVideoSource.h.

virtual void vtkMILVideoSource::SetMILSystemNumber int    [virtual]

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

virtual int vtkMILVideoSource::GetMILSystemNumber   [virtual]

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

Set the DCF filename for non-standard video formats

virtual char* vtkMILVideoSource::GetMILDigitizerDCF   [virtual]

virtual void vtkMILVideoSource::SetMILDigitizerNumber int    [virtual]

Set the digitizer number for systems with multiple digitizers

virtual int vtkMILVideoSource::GetMILDigitizerNumber   [virtual]

virtual void vtkMILVideoSource::SetMILErrorMessages int    yesno [virtual]

Set whether to display MIL error messages (default on)

virtual void vtkMILVideoSource::MILErrorMessagesOn   [virtual]

virtual void vtkMILVideoSource::MILErrorMessagesOff   [virtual]

virtual int vtkMILVideoSource::GetMILErrorMessages   [virtual]

virtual void vtkMILVideoSource::SetMILAppID long    [virtual]

Allows fine-grained control

virtual long vtkMILVideoSource::GetMILAppID   [virtual]

virtual void vtkMILVideoSource::SetMILSysID long    [virtual]

virtual long vtkMILVideoSource::GetMILSysID   [virtual]

virtual long vtkMILVideoSource::GetMILDigID   [virtual]

virtual long vtkMILVideoSource::GetMILBufID   [virtual]

void vtkMILVideoSource::InternalGrab   [virtual]

The internal function which actually does the grab. You will definitely want to override this if you develop a vtkVideoSource subclass.

Reimplemented from vtkVideoSource.

void vtkMILVideoSource::operator= const vtkMILVideoSource &    [inline, protected]

Definition at line 185 of file vtkMILVideoSource.h.

virtual void vtkMILVideoSource::AllocateMILDigitizer   [protected, virtual]

virtual void vtkMILVideoSource::AllocateMILBuffer   [protected, virtual]

virtual void* vtkMILVideoSource::MILInterpreterForSystem int    system [protected, virtual]

Member Data Documentation

void* vtkMILVideoSource::OldHookFunction

For internal use only

Definition at line 175 of file vtkMILVideoSource.h.

void* vtkMILVideoSource::OldUserDataPtr

Definition at line 176 of file vtkMILVideoSource.h.

int vtkMILVideoSource::FrameCounter

Definition at line 177 of file vtkMILVideoSource.h.

int vtkMILVideoSource::ForceGrab

Definition at line 178 of file vtkMILVideoSource.h.

char* vtkMILVideoSource::MILInterpreterDLL [protected]

Definition at line 191 of file vtkMILVideoSource.h.

int vtkMILVideoSource::VideoChannel [protected]

Definition at line 193 of file vtkMILVideoSource.h.

int vtkMILVideoSource::VideoInput [protected]

Definition at line 194 of file vtkMILVideoSource.h.

int vtkMILVideoSource::VideoInputForColor [protected]

Definition at line 195 of file vtkMILVideoSource.h.

int vtkMILVideoSource::VideoFormat [protected]

Definition at line 196 of file vtkMILVideoSource.h.

float vtkMILVideoSource::ContrastLevel [protected]

Definition at line 198 of file vtkMILVideoSource.h.

float vtkMILVideoSource::BrightnessLevel [protected]

Definition at line 199 of file vtkMILVideoSource.h.

float vtkMILVideoSource::HueLevel [protected]

Definition at line 200 of file vtkMILVideoSource.h.

float vtkMILVideoSource::SaturationLevel [protected]

Definition at line 201 of file vtkMILVideoSource.h.

int vtkMILVideoSource::FrameMaxSize[2] [protected]

Definition at line 203 of file vtkMILVideoSource.h.

long vtkMILVideoSource::MILAppID [protected]

Definition at line 205 of file vtkMILVideoSource.h.

long vtkMILVideoSource::MILSysID [protected]

Definition at line 206 of file vtkMILVideoSource.h.

long vtkMILVideoSource::MILDigID [protected]

Definition at line 207 of file vtkMILVideoSource.h.

long vtkMILVideoSource::MILBufID [protected]

Definition at line 208 of file vtkMILVideoSource.h.

int vtkMILVideoSource::MILSystemType [protected]

Definition at line 212 of file vtkMILVideoSource.h.

int vtkMILVideoSource::MILSystemNumber [protected]

Definition at line 213 of file vtkMILVideoSource.h.

int vtkMILVideoSource::MILDigitizerNumber [protected]

Definition at line 215 of file vtkMILVideoSource.h.

char* vtkMILVideoSource::MILDigitizerDCF [protected]

Definition at line 216 of file vtkMILVideoSource.h.

int vtkMILVideoSource::MILErrorMessages [protected]

Definition at line 218 of file vtkMILVideoSource.h.

int vtkMILVideoSource::MILAppInternallyAllocated [protected]

Definition at line 220 of file vtkMILVideoSource.h.

int vtkMILVideoSource::MILSysInternallyAllocated [protected]

Definition at line 221 of file vtkMILVideoSource.h.

int vtkMILVideoSource::FatalMILError [protected]

Definition at line 223 of file vtkMILVideoSource.h.

The documentation for this class was generated from the following file:
Generated on Wed Nov 21 12:55:03 2001 for VTK by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001