PlusLib  2.9.0
Software library for tracked ultrasound image acquisition, calibration, and processing.
List of all members | Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions | Protected Attributes
vtkPlusICCapturingSource Class Reference

Class for providing video input interfaces between VTK and ICCapturing frame grabber device. More...

#include <src/PlusDataCollection/ICCapturing/vtkPlusICCapturingSource.h>

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

Public Types

typedef vtkPlusDevice Superclass
 
- Public Types inherited from vtkPlusDevice
typedef vtkImageAlgorithm Superclass
 

Public Member Functions

virtual const char * GetClassName ()
 
virtual char * GetDeviceName ()
 
FrameSizeType GetFrameSize () const
 
virtual int GetICBufferSize ()
 
virtual char * GetInputChannel ()
 
void GetListOfCaptureDevices (std::vector< std::string > &deviceNames)
 
void GetListOfCaptureVideoModes (std::vector< std::string > &videoModes, const std::string &deviceName, const std::string &videoNorm)
 
void GetListOfCaptureVideoNorms (std::vector< std::string > &videoNorms, const std::string &deviceName)
 
virtual std::string GetSdkVersion ()
 
virtual char * GetVideoFormat ()
 
virtual char * GetVideoNorm ()
 
virtual int IsA (const char *type)
 
virtual bool IsTracker () const
 
void LogListOfCaptureDevices ()
 
virtual PlusStatus NotifyConfigured ()
 
virtual void PrintSelf (ostream &os, vtkIndent indent) VTK_OVERRIDE
 
virtual PlusStatus ReadConfiguration (vtkXMLDataElement *config)
 
virtual void SetDeviceName (const char *)
 
void SetFrameSize (const FrameSizeType &frameSize)
 
void SetFrameSize (unsigned int i, unsigned int j, unsigned int k)
 
virtual void SetICBufferSize (int)
 
virtual void SetInputChannel (const char *)
 
virtual void SetVideoFormat (const char *)
 
virtual void SetVideoNorm (const char *)
 
virtual PlusStatus WriteConfiguration (vtkXMLDataElement *config)
 
- Public Member Functions inherited from vtkPlusDevice
PlusStatus AddFieldDataSource (vtkPlusDataSource *aSource)
 
PlusStatus AddInputChannel (vtkPlusChannel *aChannel)
 
PlusStatus AddOutputChannel (vtkPlusChannel *aChannel)
 
PlusStatus AddTool (vtkPlusDataSource *tool, bool requireUniquePortName=true)
 
PlusStatus AddVideoSource (vtkPlusDataSource *anImage)
 
void ClearAllBuffers ()
 
virtual PlusStatus Connect ()
 
virtual PlusStatus CreateDefaultOutputChannel (const char *channelId=NULL, bool addSource=true)
 
void DeepCopy (const vtkPlusDevice &device)
 
virtual PlusStatus Disconnect ()
 
virtual PlusStatus ForceUpdate ()
 
virtual double GetAcquisitionRate () const
 
virtual PlusStatus GetBufferSize (vtkPlusChannel &aChannel, int &outVal, const std::string &aSourceId=std::string(""))
 
virtual int GetConnected () const
 
virtual bool GetCorrectlyConfigured () const
 
PlusStatus GetDataSource (const char *aSourceId, vtkPlusDataSource *&aSource)
 
PlusStatus GetDataSource (const std::string &aSourceId, vtkPlusDataSource *&aSource)
 
virtual double GetDesiredTimestamp ()
 
virtual std::string GetDeviceId () const
 
PlusStatus GetFieldDataSource (const char *aSourceId, vtkPlusDataSource *&aSource) const
 
PlusStatus GetFieldDataSource (const std::string &aSourceId, vtkPlusDataSource *&aSource) const
 
DataSourceContainerConstIterator GetFieldDataSourcessIteratorBegin () const
 
DataSourceContainerConstIterator GetFieldDataSourcessIteratorEnd () const
 
PlusStatus GetFirstActiveOutputVideoSource (vtkPlusDataSource *&aVideoSource)
 
PlusStatus GetFirstActiveTool (vtkPlusDataSource *&aTool) const
 
PlusStatus GetFirstOutputChannel (vtkPlusChannel *&aChannel)
 
PlusStatus GetFirstVideoSource (vtkPlusDataSource *&anImage)
 
virtual unsigned long GetFrameNumber () const
 
virtual double GetFrameTimeStamp () const
 
virtual PlusStatus GetImage (const std::string &requestedImageId, std::string &assignedImageId, const std::string &imageReferencFrameName, vtkImageData *imageData, vtkMatrix4x4 *ijkToReferenceTransform)
 
virtual PlusStatus GetImageMetaData (igsioCommon::ImageMetaDataList &imageMetaDataItems)
 
virtual US_IMAGE_TYPE GetImageType (vtkPlusChannel &aChannel)
 
PlusStatus GetInputDevices (std::vector< vtkPlusDevice * > &outDeviceList) const
 
PlusStatus GetInputDevicesRecursive (std::vector< vtkPlusDevice * > &outDeviceList) const
 
virtual PlusStatus GetInputFrameSize (vtkPlusChannel &aChannel, unsigned int &x, unsigned int &y, unsigned int &z) const
 
virtual PlusStatus GetInputFrameSize (vtkPlusChannel &aChannel, FrameSizeType &dim) const
 
double GetInternalUpdateRate () const
 
virtual double GetLocalTimeOffsetSec () const
 
double GetMissingInputGracePeriodSec () const
 
virtual int GetNumberOfFieldDataSources () const
 
virtual int GetNumberOfTools () const
 
virtual int GetNumberOfVideoSources () const
 
PlusStatus GetOutputChannelByName (vtkPlusChannel *&aChannel, const char *aChannelId)
 
PlusStatus GetOutputChannelByName (vtkPlusChannel *&aChannel, const std::string &aChannelId)
 
ChannelContainerConstIterator GetOutputChannelsEnd () const
 
ChannelContainerIterator GetOutputChannelsEnd ()
 
ChannelContainerConstIterator GetOutputChannelsStart () const
 
ChannelContainerIterator GetOutputChannelsStart ()
 
virtual PlusStatus GetOutputFrameSize (vtkPlusChannel &aChannel, unsigned int &x, unsigned int &y, unsigned int &z) const
 
virtual PlusStatus GetOutputFrameSize (vtkPlusChannel &aChannel, FrameSizeType &dim) const
 
virtual std::string GetParameter (const std::string &key) const
 
virtual PlusStatus GetParameter (const std::string &key, std::string &outValue) const
 
virtual igsioCommon::VTKScalarPixelType GetPixelType (vtkPlusChannel &aChannel)
 
virtual double GetStartTime ()
 
virtual double GetTimestampClosestToDesired ()
 
PlusStatus GetTool (const char *aToolSourceId, vtkPlusDataSource *&aTool) const
 
PlusStatus GetTool (const std::string &aToolSourceId, vtkPlusDataSource *&aTool) const
 
PlusStatus GetToolByPortName (const char *aPortName, vtkPlusDataSource *&aSource)
 
PlusStatus GetToolByPortName (const std::string &aPortName, vtkPlusDataSource *&aSource)
 
DataSourceContainerConstIterator GetToolIteratorBegin () const
 
DataSourceContainerConstIterator GetToolIteratorEnd () const
 
std::string GetToolReferenceFrameName () const
 
virtual int GetUpdateWithDesiredTimestamp ()
 
PlusStatus GetVideoSource (const char *aSourceId, vtkPlusDataSource *&aVideoSource)
 
PlusStatus GetVideoSourceByIndex (const unsigned int index, vtkPlusDataSource *&aVideoSource)
 
DataSourceContainerConstIterator GetVideoSourceIteratorBegin () const
 
DataSourceContainerConstIterator GetVideoSourceIteratorEnd () const
 
std::vector< vtkPlusDataSource * > GetVideoSources () const
 
PlusStatus GetVideoSourcesByPortName (const char *aPortName, std::vector< vtkPlusDataSource * > &sources)
 
PlusStatus GetVideoSourcesByPortName (const std::string &aPortName, std::vector< vtkPlusDataSource * > &sources)
 
virtual PlusStatus InternalUpdate ()
 
virtual bool IsConnected () const
 
virtual bool IsRecording () const
 
virtual bool IsResettable ()
 
virtual bool IsVirtual () const
 
virtual int OutputChannelCount () const
 
virtual PlusStatus Probe ()
 
virtual int RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
 
virtual int RequestInformation (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
 
virtual PlusStatus Reset ()
 
virtual PlusStatus SendText (const std::string &textToSend, std::string *textReceived=NULL)
 
PlusStatus SetAcquisitionRate (double aRate)
 
virtual PlusStatus SetBufferSize (vtkPlusChannel &aChannel, int FrameBufferSize, const std::string &aSourceId=std::string(""))
 
virtual void SetDataCollector (vtkPlusDataCollector *_arg)
 
virtual void SetDesiredTimestamp (double)
 
void SetDeviceId (const std::string &id)
 
void SetFieldDataSourcesBufferSize (int aBufferSize)
 
virtual PlusStatus SetImageType (vtkPlusChannel &aChannel, US_IMAGE_TYPE imageType)
 
virtual PlusStatus SetInputFrameSize (vtkPlusDataSource &aSource, unsigned int x, unsigned int y, unsigned int z)
 
virtual void SetLocalTimeOffsetSec (double aTimeOffsetSec)
 
virtual void SetMissingInputGracePeriodSec (double)
 
virtual PlusStatus SetParameter (const std::string &key, const std::string &value)
 
virtual PlusStatus SetPixelType (vtkPlusChannel &aChannel, igsioCommon::VTKScalarPixelType pixelType)
 
virtual void SetStartTime (double startTime)
 
void SetToolReferenceFrameName (const std::string &frameName)
 
void SetToolsBufferSize (int aBufferSize)
 
virtual void SetUpdateWithDesiredTimestamp (int)
 
virtual PlusStatus StartRecording ()
 
virtual PlusStatus StopRecording ()
 
virtual void UpdateWithDesiredTimestampOff ()
 
virtual void UpdateWithDesiredTimestampOn ()
 
virtual PlusStatus WriteToolsToSequenceFile (const std::string &filename, bool useCompression=false)
 

Static Public Member Functions

static vtkPlusICCapturingSourceGetInstance ()
 
static int IsTypeOf (const char *type)
 
static vtkPlusICCapturingSourceNew ()
 
static vtkPlusICCapturingSourceSafeDownCast (vtkObject *o)
 
static void SetInstance (vtkPlusICCapturingSource *instance)
 
- Static Public Member Functions inherited from vtkPlusDevice
static PlusStatus GetToolReferenceFrameFromTrackedFrame (igsioTrackedFrame &aFrame, std::string &aToolReferenceFrameName)
 
static int IsTypeOf (const char *type)
 
static vtkPlusDeviceNew ()
 
static vtkPlusDeviceSafeDownCast (vtkObject *o)
 

Static Public Attributes

static vtkPlusICCapturingSourceCleanup Cleanup
 
- Static Public Attributes inherited from vtkPlusDevice
static const std::string BMODE_PORT_NAME = "B"
 
static const std::string PARAMETER_XML_ELEMENT_TAG = "Parameter"
 
static const std::string PARAMETERS_XML_ELEMENT_TAG = "Parameters"
 
static const std::string RFMODE_PORT_NAME = "Rf"
 

Protected Member Functions

PlusStatus AddFrameToBuffer (unsigned char *data, unsigned long size, unsigned long frameNumber)
 
std::string GetDShowLibVideoFormatString ()
 
virtual PlusStatus InternalConnect ()
 
virtual PlusStatus InternalDisconnect ()
 
virtual PlusStatus InternalStartRecording ()
 
virtual PlusStatus InternalStopRecording ()
 
void ParseDShowLibVideoFormatString (const char *videoFormatFrameSizeString)
 
 vtkPlusICCapturingSource ()
 
 ~vtkPlusICCapturingSource ()
 
- Protected Member Functions inherited from vtkPlusDevice
virtual PlusStatus AddVideoItemToVideoSources (const std::vector< vtkPlusDataSource * > &videoSources, const igsioVideoFrame &frame, long frameNumber, double unfilteredTimestamp=UNDEFINED_TIMESTAMP, double filteredTimestamp=UNDEFINED_TIMESTAMP, const igsioFieldMapType *customFields=NULL)
 
virtual PlusStatus AddVideoItemToVideoSources (const std::vector< vtkPlusDataSource * > &videoSources, void *imageDataPtr, US_IMAGE_ORIENTATION usImageOrientation, const FrameSizeType &frameSizeInPx, igsioCommon::VTKScalarPixelType pixelType, unsigned int numberOfScalarComponents, US_IMAGE_TYPE imageType, int numberOfBytesToSkip, long frameNumber, double unfilteredTimestamp=UNDEFINED_TIMESTAMP, double filteredTimestamp=UNDEFINED_TIMESTAMP, const igsioFieldMapType *customFields=NULL)
 
PlusStatus EnsureUniqueDataSourceId (const std::string &aSourceId)
 
vtkXMLDataElement * FindInputChannelElement (vtkXMLDataElement *rootXMLElement, const char *aChannelId)
 
vtkXMLDataElement * FindOutputChannelElement (vtkXMLDataElement *rootXMLElement, const char *aChannelId)
 
vtkXMLDataElement * FindThisDeviceElement (vtkXMLDataElement *rootXMLElement)
 
virtual vtkPlusDataCollectorGetDataCollector ()
 
double GetRecordingStartTime () const
 
bool GetStartThreadForInternalUpdates () const
 
bool HasGracePeriodExpired ()
 
virtual void InternalWriteInputChannels (vtkXMLDataElement *rootXMLElement)
 
virtual void InternalWriteOutputChannels (vtkXMLDataElement *rootXMLElement)
 
virtual void SetCorrectlyConfigured (bool)
 
virtual void SetRecordingStartTime (double)
 
virtual void SetStartThreadForInternalUpdates (bool)
 
virtual PlusStatus ToolTimeStampedUpdate (const std::string &aToolSourceId, vtkMatrix4x4 *matrix, ToolStatus status, unsigned long frameNumber, double unfilteredtimestamp, const igsioFieldMapType *customFields=NULL)
 
virtual PlusStatus ToolTimeStampedUpdateWithoutFiltering (const std::string &aToolSourceId, vtkMatrix4x4 *matrix, ToolStatus status, double unfilteredtimestamp, double filteredtimestamp, const igsioFieldMapType *customFields=NULL)
 
 vtkPlusDevice ()
 
virtual ~vtkPlusDevice ()
 

Protected Attributes

char * DeviceName
 
void * FrameGrabber
 
ICCapturingListenerFrameGrabberListener
 
FrameSizeType FrameSize
 
int ICBufferSize
 
char * InputChannel
 
char * VideoFormat
 
char * VideoNorm
 
- Protected Attributes inherited from vtkPlusDevice
double AcquisitionRate
 
int Connected
 
bool CorrectlyConfigured
 
StreamBufferItemCurrentStreamBufferItem
 
vtkPlusDataCollectorDataCollector
 
double DesiredTimestamp
 
std::string DeviceId
 
DataSourceContainer Fields
 
unsigned long FrameNumber
 
double FrameTimeStamp
 
ChannelContainer InputChannels
 
double LocalTimeOffsetSec
 
double MissingInputGracePeriodSec
 
ChannelContainer OutputChannels
 
int OutputNeedsInitialization
 
std::map< std::string, std::string > Parameters
 
int Recording
 
double RecordingStartTime
 
std::set< std::string > ReportedUnknownTools
 
bool RequireImageOrientationInConfiguration
 
bool RequirePortNameInDeviceSetConfiguration
 
bool StartThreadForInternalUpdates
 
bool ThreadAlive
 
vtkMultiThreader * Threader
 
int ThreadId
 
double TimestampClosestToDesired
 
std::string ToolReferenceFrameName
 
DataSourceContainer Tools
 
int UpdateWithDesiredTimestamp
 
DataSourceContainer VideoSources
 

Additional Inherited Members

- Public Attributes inherited from vtkPlusDevice
double InternalUpdateRate
 
vtkIGSIORecursiveCriticalSection * UpdateMutex
 
vtkTimeStamp UpdateTime
 
- Static Protected Member Functions inherited from vtkPlusDevice
static void * vtkDataCaptureThread (vtkMultiThreader::ThreadInfo *data)
 
- Static Protected Attributes inherited from vtkPlusDevice
static const int VIRTUAL_DEVICE_FRAME_RATE = 50
 

Detailed Description

Class for providing video input interfaces between VTK and ICCapturing frame grabber device.

Definition at line 34 of file vtkPlusICCapturingSource.h.

Member Typedef Documentation

◆ Superclass

Definition at line 37 of file vtkPlusICCapturingSource.h.

Constructor & Destructor Documentation

◆ vtkPlusICCapturingSource()

vtkPlusICCapturingSource::vtkPlusICCapturingSource ( )
protected

Constructor

Definition at line 51 of file vtkPlusICCapturingSource.cxx.

◆ ~vtkPlusICCapturingSource()

vtkPlusICCapturingSource::~vtkPlusICCapturingSource ( )
protected

Destructor

Definition at line 74 of file vtkPlusICCapturingSource.cxx.

Member Function Documentation

◆ AddFrameToBuffer()

PlusStatus vtkPlusICCapturingSource::AddFrameToBuffer ( unsigned char *  data,
unsigned long  size,
unsigned long  frameNumber 
)
protected

Adds a frame to the frame buffer. Called whenever the driver notified a new frame acquisition.

Definition at line 178 of file vtkPlusICCapturingSource.cxx.

◆ GetClassName()

virtual const char* vtkPlusICCapturingSource::GetClassName ( )
virtual

Reimplemented from vtkPlusDevice.

◆ GetDeviceName()

virtual char* vtkPlusICCapturingSource::GetDeviceName ( )
virtual

Get the IC capturing device name (e.g. "DFG/USB2-lt")

◆ GetDShowLibVideoFormatString()

std::string vtkPlusICCapturingSource::GetDShowLibVideoFormatString ( )
protected

Constructs a DShowLib video format string (format + frame size) from VideoFormat and FrameSize

Definition at line 519 of file vtkPlusICCapturingSource.cxx.

◆ GetFrameSize()

FrameSizeType vtkPlusICCapturingSource::GetFrameSize ( ) const

Get the frame size requested from the framegrabber.

Definition at line 439 of file vtkPlusICCapturingSource.cxx.

◆ GetICBufferSize()

virtual int vtkPlusICCapturingSource::GetICBufferSize ( )
virtual

Get the IC capturing device buffer size ( Default: 50 frame )

◆ GetInputChannel()

virtual char* vtkPlusICCapturingSource::GetInputChannel ( )
virtual

Get the IC capturing device input channel (e.g. "01 Video: SVideo" )

◆ GetInstance()

vtkPlusICCapturingSource * vtkPlusICCapturingSource::GetInstance ( )
static

Return the singleton instance with no reference counting.

Definition at line 106 of file vtkPlusICCapturingSource.cxx.

◆ GetListOfCaptureDevices()

void vtkPlusICCapturingSource::GetListOfCaptureDevices ( std::vector< std::string > &  deviceNames)

Definition at line 529 of file vtkPlusICCapturingSource.cxx.

◆ GetListOfCaptureVideoModes()

void vtkPlusICCapturingSource::GetListOfCaptureVideoModes ( std::vector< std::string > &  videoModes,
const std::string &  deviceName,
const std::string &  videoNorm 
)

Get list of available video modes (video format & frame size)

Definition at line 586 of file vtkPlusICCapturingSource.cxx.

◆ GetListOfCaptureVideoNorms()

void vtkPlusICCapturingSource::GetListOfCaptureVideoNorms ( std::vector< std::string > &  videoNorms,
const std::string &  deviceName 
)

Definition at line 554 of file vtkPlusICCapturingSource.cxx.

◆ GetSdkVersion()

std::string vtkPlusICCapturingSource::GetSdkVersion ( )
virtual

Hardware device SDK version.

Reimplemented from vtkPlusDevice.

Definition at line 147 of file vtkPlusICCapturingSource.cxx.

◆ GetVideoFormat()

virtual char* vtkPlusICCapturingSource::GetVideoFormat ( )
virtual

Get the IC capturing device video format (e.g. "Y800 (640x480)" )

◆ GetVideoNorm()

virtual char* vtkPlusICCapturingSource::GetVideoNorm ( )
virtual

Get the IC capturing device video norm (e.g. "PAL_B", "NTSC_M")

◆ InternalConnect()

PlusStatus vtkPlusICCapturingSource::InternalConnect ( )
protectedvirtual

Device-specific connect

Reimplemented from vtkPlusDevice.

Definition at line 219 of file vtkPlusICCapturingSource.cxx.

◆ InternalDisconnect()

PlusStatus vtkPlusICCapturingSource::InternalDisconnect ( )
protectedvirtual

Device-specific disconnect

Reimplemented from vtkPlusDevice.

Definition at line 323 of file vtkPlusICCapturingSource.cxx.

◆ InternalStartRecording()

PlusStatus vtkPlusICCapturingSource::InternalStartRecording ( )
protectedvirtual

Device-specific recording start

Reimplemented from vtkPlusDevice.

Definition at line 340 of file vtkPlusICCapturingSource.cxx.

◆ InternalStopRecording()

PlusStatus vtkPlusICCapturingSource::InternalStopRecording ( )
protectedvirtual

Device-specific recording stop

Reimplemented from vtkPlusDevice.

Definition at line 351 of file vtkPlusICCapturingSource.cxx.

◆ IsA()

virtual int vtkPlusICCapturingSource::IsA ( const char *  type)
virtual

Reimplemented from vtkPlusDevice.

◆ IsTracker()

virtual bool vtkPlusICCapturingSource::IsTracker ( ) const
inlinevirtual

Is this device a tracker

Reimplemented from vtkPlusDevice.

Definition at line 100 of file vtkPlusICCapturingSource.h.

◆ IsTypeOf()

static int vtkPlusICCapturingSource::IsTypeOf ( const char *  type)
static

◆ LogListOfCaptureDevices()

void vtkPlusICCapturingSource::LogListOfCaptureDevices ( )

Print the name of all supported video modes (video format & frame size) for available capture devices and video norms

Definition at line 624 of file vtkPlusICCapturingSource.cxx.

◆ New()

vtkPlusICCapturingSource * vtkPlusICCapturingSource::New ( )
static

This is a singleton pattern New. There will only be ONE reference to a vtkOutputWindow object per process. Clients that call this must call Delete on the object so that the reference counting will work. The single instance will be unreferenced when the program exits

Definition at line 97 of file vtkPlusICCapturingSource.cxx.

◆ NotifyConfigured()

PlusStatus vtkPlusICCapturingSource::NotifyConfigured ( )
virtual

Verify the device is correctly configured

Reimplemented from vtkPlusDevice.

Definition at line 445 of file vtkPlusICCapturingSource.cxx.

◆ ParseDShowLibVideoFormatString()

void vtkPlusICCapturingSource::ParseDShowLibVideoFormatString ( const char *  videoFormatFrameSizeString)
protected

Parse DShowLib video format string (format + frame size) and if successful set VideoFormat and FrameSize

Definition at line 464 of file vtkPlusICCapturingSource.cxx.

◆ PrintSelf()

void vtkPlusICCapturingSource::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
virtual

Reimplemented from vtkPlusDevice.

Definition at line 155 of file vtkPlusICCapturingSource.cxx.

◆ ReadConfiguration()

PlusStatus vtkPlusICCapturingSource::ReadConfiguration ( vtkXMLDataElement *  config)
virtual

Read configuration from xml data

Reimplemented from vtkPlusDevice.

Definition at line 362 of file vtkPlusICCapturingSource.cxx.

◆ SafeDownCast()

static vtkPlusICCapturingSource* vtkPlusICCapturingSource::SafeDownCast ( vtkObject *  o)
static

◆ SetDeviceName()

virtual void vtkPlusICCapturingSource::SetDeviceName ( const char *  )
virtual

Set the IC capturing device name (e.g. "DFG/USB2-lt")

◆ SetFrameSize() [1/2]

void vtkPlusICCapturingSource::SetFrameSize ( const FrameSizeType &  frameSize)

Set the frame size that will be requested when setting the video format. Acquired image frames may be smaller if clipping is applied in the video source.

Definition at line 423 of file vtkPlusICCapturingSource.cxx.

◆ SetFrameSize() [2/2]

void vtkPlusICCapturingSource::SetFrameSize ( unsigned int  i,
unsigned int  j,
unsigned int  k 
)

Definition at line 429 of file vtkPlusICCapturingSource.cxx.

◆ SetICBufferSize()

virtual void vtkPlusICCapturingSource::SetICBufferSize ( int  )
virtual

Set the IC capturing device buffer size ( Default: 50 frame )

◆ SetInputChannel()

virtual void vtkPlusICCapturingSource::SetInputChannel ( const char *  )
virtual

Set the IC capturing device input channel (e.g. "01 Video: SVideo" )

◆ SetInstance()

void vtkPlusICCapturingSource::SetInstance ( vtkPlusICCapturingSource instance)
static

Supply a user defined output window. Call ->Delete() on the supplied instance after setting it.

Definition at line 126 of file vtkPlusICCapturingSource.cxx.

◆ SetVideoFormat()

virtual void vtkPlusICCapturingSource::SetVideoFormat ( const char *  )
virtual

Set the IC capturing device video format (e.g. "Y800 (640x480)" )

◆ SetVideoNorm()

virtual void vtkPlusICCapturingSource::SetVideoNorm ( const char *  )
virtual

Set the IC capturing device video norm (e.g. "PAL_B", "NTSC_M")

◆ WriteConfiguration()

PlusStatus vtkPlusICCapturingSource::WriteConfiguration ( vtkXMLDataElement *  config)
virtual

Write configuration to xml data

Reimplemented from vtkPlusDevice.

Definition at line 405 of file vtkPlusICCapturingSource.cxx.

Member Data Documentation

◆ Cleanup

vtkPlusICCapturingSourceCleanup vtkPlusICCapturingSource::Cleanup
static

Use this as a way of memory management when the program exits the SmartPointer will be deleted which will delete the Instance singleton

Definition at line 57 of file vtkPlusICCapturingSource.h.

◆ DeviceName

char* vtkPlusICCapturingSource::DeviceName
protected

Device name (e.g. DFG/USB2-lt)

Definition at line 144 of file vtkPlusICCapturingSource.h.

◆ FrameGrabber

void* vtkPlusICCapturingSource::FrameGrabber
protected

Frame grabber device - DShowLib::Grabber type

Definition at line 140 of file vtkPlusICCapturingSource.h.

◆ FrameGrabberListener

ICCapturingListener* vtkPlusICCapturingSource::FrameGrabberListener
protected

Definition at line 141 of file vtkPlusICCapturingSource.h.

◆ FrameSize

FrameSizeType vtkPlusICCapturingSource::FrameSize
protected

Frame size of the captured image

Definition at line 159 of file vtkPlusICCapturingSource.h.

◆ ICBufferSize

int vtkPlusICCapturingSource::ICBufferSize
protected

IC buffer size

Definition at line 156 of file vtkPlusICCapturingSource.h.

◆ InputChannel

char* vtkPlusICCapturingSource::InputChannel
protected

Input channel name

Definition at line 153 of file vtkPlusICCapturingSource.h.

◆ VideoFormat

char* vtkPlusICCapturingSource::VideoFormat
protected

Video format (e.g. Y800)

Definition at line 150 of file vtkPlusICCapturingSource.h.

◆ VideoNorm

char* vtkPlusICCapturingSource::VideoNorm
protected

Video norm (e.g. PAL_B or NTSC_M)

Definition at line 147 of file vtkPlusICCapturingSource.h.


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