vtkMILVideoSource Class Reference
#include <vtkMILVideoSource.h>
Inheritance diagram for vtkMILVideoSource:
[legend]Collaboration diagram for vtkMILVideoSource:
[legend]List of all members.
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 67 of file vtkMILVideoSource.h.
Member Typedef Documentation
Constructor & Destructor Documentation
vtkMILVideoSource::vtkMILVideoSource |
( |
|
) |
[protected] |
|
vtkMILVideoSource::~vtkMILVideoSource |
( |
|
) |
[protected] |
|
Member Function Documentation
|
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkVideoSource. |
virtual const char* vtkMILVideoSource::GetClassName |
( |
|
) |
[virtual] |
|
static 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 vtkTypeRevisionMacro 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 vtkTypeRevisionMacro found in vtkSetGet.h.
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] |
|
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] |
|
virtual void vtkMILVideoSource::SetVideoFormat |
( |
int |
format |
) |
[virtual] |
|
void vtkMILVideoSource::SetVideoFormatToNTSC |
( |
|
) |
[inline] |
|
void vtkMILVideoSource::SetVideoFormatToPAL |
( |
|
) |
[inline] |
|
void vtkMILVideoSource::SetVideoFormatToSECAM |
( |
|
) |
[inline] |
|
void vtkMILVideoSource::SetVideoFormatToRS170 |
( |
|
) |
[inline] |
|
void vtkMILVideoSource::SetVideoFormatToCCIR |
( |
|
) |
[inline] |
|
void vtkMILVideoSource::SetVideoFormatToNonStandard |
( |
|
) |
[inline] |
|
virtual int vtkMILVideoSource::GetVideoFormat |
( |
|
) |
[virtual] |
|
virtual void vtkMILVideoSource::SetVideoInput |
( |
int |
input |
) |
[virtual] |
|
void vtkMILVideoSource::SetVideoInputToMono |
( |
|
) |
[inline] |
|
void vtkMILVideoSource::SetVideoInputToComposite |
( |
|
) |
[inline] |
|
void vtkMILVideoSource::SetVideoInputToYC |
( |
|
) |
[inline] |
|
void vtkMILVideoSource::SetVideoInputToRGB |
( |
|
) |
[inline] |
|
void vtkMILVideoSource::SetVideoInputToDigital |
( |
|
) |
[inline] |
|
virtual int vtkMILVideoSource::GetVideoInput |
( |
|
) |
[virtual] |
|
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] |
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::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] |
|
virtual void vtkMILVideoSource::SetWhiteLevel |
( |
float |
value |
) |
[virtual] |
|
virtual float vtkMILVideoSource::GetWhiteLevel |
( |
|
) |
[inline, virtual] |
|
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] |
|
void vtkMILVideoSource::SetMILSystemTypeToMeteor |
( |
|
) |
[inline] |
|
void vtkMILVideoSource::SetMILSystemTypeToMeteorII |
( |
|
) |
[inline] |
|
void vtkMILVideoSource::SetMILSystemTypeToMeteorIIDig |
( |
|
) |
[inline] |
|
void vtkMILVideoSource::SetMILSystemTypeToMeteorIICL |
( |
|
) |
[inline] |
|
void vtkMILVideoSource::SetMILSystemTypeToMeteorII1394 |
( |
|
) |
[inline] |
|
void vtkMILVideoSource::SetMILSystemTypeToCorona |
( |
|
) |
[inline] |
|
void vtkMILVideoSource::SetMILSystemTypeToCoronaII |
( |
|
) |
[inline] |
|
void vtkMILVideoSource::SetMILSystemTypeToPulsar |
( |
|
) |
[inline] |
|
void vtkMILVideoSource::SetMILSystemTypeToGenesis |
( |
|
) |
[inline] |
|
void vtkMILVideoSource::SetMILSystemTypeToGenesisPlus |
( |
|
) |
[inline] |
|
void vtkMILVideoSource::SetMILSystemTypeToOrion |
( |
|
) |
[inline] |
|
void vtkMILVideoSource::SetMILSystemTypeToCronos |
( |
|
) |
[inline] |
|
void vtkMILVideoSource::SetMILSystemTypeToOdyssey |
( |
|
) |
[inline] |
|
virtual void vtkMILVideoSource::SetMILSystemNumber |
( |
int |
|
) |
[virtual] |
|
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::Initialize |
( |
|
) |
[virtual] |
|
|
Initialize the driver (this is called automatically when the first grab is done).
Reimplemented from vtkVideoSource. |
void vtkMILVideoSource::ReleaseSystemResources |
( |
|
) |
[virtual] |
|
|
Free the driver (this is called automatically inside the destructor).
Reimplemented from vtkVideoSource. |
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. |
virtual void vtkMILVideoSource::AllocateMILDigitizer |
( |
|
) |
[protected, virtual] |
|
virtual void vtkMILVideoSource::AllocateMILBuffer |
( |
|
) |
[protected, virtual] |
|
virtual void* 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
The documentation for this class was generated from the following file: