Fraxinus  22.09
An IGT application
vtkSonixVideoSource Class Reference

#include <vtkSonixVideoSource.h>

Inheritance diagram for vtkSonixVideoSource:

Public Member Functions

 vtkTypeRevisionMacro (vtkSonixVideoSource, vtkVideoSource)
 
void PrintSelf (ostream &os, vtkIndent indent)
 
virtual void Record ()
 
virtual void Play ()
 
virtual void Stop ()
 
void Grab ()
 
void SetOutputFormat (int format)
 
void SetImagingMode (int mode)
 
void GetImagingMode (int &mode)
 
void SetSonixIP (const char *SonixIP)
 
 vtkGetMacro (Frequency, int)
 
 vtkSetMacro (Frequency, int)
 
 vtkGetMacro (Depth, int)
 
 vtkSetMacro (Depth, int)
 
 vtkGetMacro (FrameRate, float)
 
 vtkSetMacro (FrameRate, float)
 
 vtkGetMacro (AcquisitionDataType, int)
 
 vtkSetMacro (AcquisitionDataType, int)
 
void Initialize ()
 
int IsInitialized ()
 Returns true if Sonix is initialized. More...
 
bool getFreezeState ()
 Returns true if connected to Sonix and Sonix in freeze state, false otherwise. More...
 
void ReleaseSystemResources ()
 
int RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
 
void setSonixHelper (SonixHelper *sonixHelper)
 
void setDebugOutput (bool debug)
 Turn debug output on/off. More...
 
void setSonixConnectionDelay (int delay)
 The delay (sec) before trying to connect to sonix for the first time. More...
 
void setUseSharedMemory (bool useSharedMemory)
 

Static Public Member Functions

static vtkSonixVideoSourceNew ()
 
static vtkSonixVideoSourceGetInstance ()
 
static void SetInstance (vtkSonixVideoSource *instance)
 

Static Public Attributes

static vtkSonixVideoSourceCleanup Cleanup
 

Protected Member Functions

 vtkSonixVideoSource ()
 
 ~vtkSonixVideoSource ()
 
int RequestInformation (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
 
void UnpackRasterLine (char *outptr, char *inptr, int start, int count)
 
void DoFormatSetup ()
 
void calculateSpacingAndOrigin ()
 Calculate spacing and origin when needed (for each frame?) More...
 
void UpdateFrameBufferExtent (uROI roi)
 Calculate FrameBufferExtent from roi and FrameSize. More...
 
void ResetFrameBufferExtent ()
 
void LocalInternalGrab (void *data, int type, int sz, bool cine, int frmnum)
 
int max (int a, int b)
 
int min (int a, int b)
 

Protected Attributes

ulterius * ult
 
uDataDesc * DataDescriptor
 
int Frequency
 
int Depth
 
int FrameRate
 
int AcquisitionDataType
 
int ImagingMode
 
bool mFirstConnect
 Is this the first time we try to connect to Sonix. More...
 
char * SonixHostIP
 
SonixHelpermSonixHelper
 Support Qt functionality to vtkSonixVideoSource. More...
 
int lastFrameNum
 
int totalMissedFrames
 
int lastRoiUlx
 
int lastRoiBry
 
bool mDebugOutput
 
int mSonixConnectionDelay
 
bool mUseSharedMemory
 

Detailed Description

Definition at line 96 of file vtkSonixVideoSource.h.

Constructor & Destructor Documentation

vtkSonixVideoSource::vtkSonixVideoSource ( )
protected
vtkSonixVideoSource::~vtkSonixVideoSource ( )
protected

Member Function Documentation

void vtkSonixVideoSource::calculateSpacingAndOrigin ( )
protected

Calculate spacing and origin when needed (for each frame?)

void vtkSonixVideoSource::DoFormatSetup ( )
protected
bool vtkSonixVideoSource::getFreezeState ( )

Returns true if connected to Sonix and Sonix in freeze state, false otherwise.

void vtkSonixVideoSource::GetImagingMode ( int &  mode)
inline

Definition at line 151 of file vtkSonixVideoSource.h.

static vtkSonixVideoSource* vtkSonixVideoSource::GetInstance ( )
static
void vtkSonixVideoSource::Grab ( )
void vtkSonixVideoSource::Initialize ( )
int vtkSonixVideoSource::IsInitialized ( )

Returns true if Sonix is initialized.

void vtkSonixVideoSource::LocalInternalGrab ( void *  data,
int  type,
int  sz,
bool  cine,
int  frmnum 
)
protected
int vtkSonixVideoSource::max ( int  a,
int  b 
)
inlineprotected

Definition at line 255 of file vtkSonixVideoSource.h.

int vtkSonixVideoSource::min ( int  a,
int  b 
)
inlineprotected

Definition at line 256 of file vtkSonixVideoSource.h.

static vtkSonixVideoSource* vtkSonixVideoSource::New ( )
static
virtual void vtkSonixVideoSource::Play ( )
virtual
void vtkSonixVideoSource::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
virtual void vtkSonixVideoSource::Record ( )
virtual
void vtkSonixVideoSource::ReleaseSystemResources ( )
int vtkSonixVideoSource::RequestData ( vtkInformation *  ,
vtkInformationVector **  ,
vtkInformationVector *   
)
int vtkSonixVideoSource::RequestInformation ( vtkInformation *  ,
vtkInformationVector **  ,
vtkInformationVector *   
)
protected
void vtkSonixVideoSource::ResetFrameBufferExtent ( )
protected
void vtkSonixVideoSource::setDebugOutput ( bool  debug)

Turn debug output on/off.

void vtkSonixVideoSource::SetImagingMode ( int  mode)
inline

Definition at line 150 of file vtkSonixVideoSource.h.

static void vtkSonixVideoSource::SetInstance ( vtkSonixVideoSource instance)
static
void vtkSonixVideoSource::SetOutputFormat ( int  format)
void vtkSonixVideoSource::setSonixConnectionDelay ( int  delay)

The delay (sec) before trying to connect to sonix for the first time.

void vtkSonixVideoSource::setSonixHelper ( SonixHelper sonixHelper)
void vtkSonixVideoSource::SetSonixIP ( const char *  SonixIP)
void vtkSonixVideoSource::setUseSharedMemory ( bool  useSharedMemory)
virtual void vtkSonixVideoSource::Stop ( )
virtual
void vtkSonixVideoSource::UnpackRasterLine ( char *  outptr,
char *  inptr,
int  start,
int  count 
)
protected
void vtkSonixVideoSource::UpdateFrameBufferExtent ( uROI  roi)
protected

Calculate FrameBufferExtent from roi and FrameSize.

vtkSonixVideoSource::vtkGetMacro ( Frequency  ,
int   
)
vtkSonixVideoSource::vtkGetMacro ( Depth  ,
int   
)
vtkSonixVideoSource::vtkGetMacro ( FrameRate  ,
float   
)
vtkSonixVideoSource::vtkGetMacro ( AcquisitionDataType  ,
int   
)
vtkSonixVideoSource::vtkSetMacro ( Frequency  ,
int   
)
vtkSonixVideoSource::vtkSetMacro ( Depth  ,
int   
)
vtkSonixVideoSource::vtkSetMacro ( FrameRate  ,
float   
)
vtkSonixVideoSource::vtkSetMacro ( AcquisitionDataType  ,
int   
)
vtkSonixVideoSource::vtkTypeRevisionMacro ( vtkSonixVideoSource  ,
vtkVideoSource   
)

Member Data Documentation

int vtkSonixVideoSource::AcquisitionDataType
protected

Definition at line 226 of file vtkSonixVideoSource.h.

vtkSonixVideoSourceCleanup vtkSonixVideoSource::Cleanup
static

Definition at line 123 of file vtkSonixVideoSource.h.

uDataDesc* vtkSonixVideoSource::DataDescriptor
protected

Definition at line 222 of file vtkSonixVideoSource.h.

int vtkSonixVideoSource::Depth
protected

Definition at line 224 of file vtkSonixVideoSource.h.

int vtkSonixVideoSource::FrameRate
protected

Definition at line 225 of file vtkSonixVideoSource.h.

int vtkSonixVideoSource::Frequency
protected

Definition at line 223 of file vtkSonixVideoSource.h.

int vtkSonixVideoSource::ImagingMode
protected

Definition at line 227 of file vtkSonixVideoSource.h.

int vtkSonixVideoSource::lastFrameNum
protected

Definition at line 246 of file vtkSonixVideoSource.h.

int vtkSonixVideoSource::lastRoiBry
protected

Definition at line 249 of file vtkSonixVideoSource.h.

int vtkSonixVideoSource::lastRoiUlx
protected

Definition at line 248 of file vtkSonixVideoSource.h.

bool vtkSonixVideoSource::mDebugOutput
protected

Definition at line 251 of file vtkSonixVideoSource.h.

bool vtkSonixVideoSource::mFirstConnect
protected

Is this the first time we try to connect to Sonix.

Definition at line 228 of file vtkSonixVideoSource.h.

int vtkSonixVideoSource::mSonixConnectionDelay
protected

Definition at line 252 of file vtkSonixVideoSource.h.

SonixHelper* vtkSonixVideoSource::mSonixHelper
protected

Support Qt functionality to vtkSonixVideoSource.

Definition at line 244 of file vtkSonixVideoSource.h.

bool vtkSonixVideoSource::mUseSharedMemory
protected

Definition at line 253 of file vtkSonixVideoSource.h.

char* vtkSonixVideoSource::SonixHostIP
protected

Definition at line 230 of file vtkSonixVideoSource.h.

int vtkSonixVideoSource::totalMissedFrames
protected

Definition at line 247 of file vtkSonixVideoSource.h.

ulterius* vtkSonixVideoSource::ult
protected

Definition at line 221 of file vtkSonixVideoSource.h.


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