NorMIT-nav  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::vtkSonixVideoSource ( )
protected

◆ ~vtkSonixVideoSource()

vtkSonixVideoSource::~vtkSonixVideoSource ( )
protected

Member Function Documentation

◆ calculateSpacingAndOrigin()

void vtkSonixVideoSource::calculateSpacingAndOrigin ( )
protected

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

◆ DoFormatSetup()

void vtkSonixVideoSource::DoFormatSetup ( )
protected

◆ getFreezeState()

bool vtkSonixVideoSource::getFreezeState ( )

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

◆ GetImagingMode()

void vtkSonixVideoSource::GetImagingMode ( int &  mode)
inline

Definition at line 151 of file vtkSonixVideoSource.h.

◆ GetInstance()

static vtkSonixVideoSource* vtkSonixVideoSource::GetInstance ( )
static

◆ Grab()

void vtkSonixVideoSource::Grab ( )

◆ Initialize()

void vtkSonixVideoSource::Initialize ( )

◆ IsInitialized()

int vtkSonixVideoSource::IsInitialized ( )

Returns true if Sonix is initialized.

◆ LocalInternalGrab()

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

◆ max()

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

Definition at line 255 of file vtkSonixVideoSource.h.

◆ min()

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

Definition at line 256 of file vtkSonixVideoSource.h.

◆ New()

static vtkSonixVideoSource* vtkSonixVideoSource::New ( )
static

◆ Play()

virtual void vtkSonixVideoSource::Play ( )
virtual

◆ PrintSelf()

void vtkSonixVideoSource::PrintSelf ( ostream &  os,
vtkIndent  indent 
)

◆ Record()

virtual void vtkSonixVideoSource::Record ( )
virtual

◆ ReleaseSystemResources()

void vtkSonixVideoSource::ReleaseSystemResources ( )

◆ RequestData()

int vtkSonixVideoSource::RequestData ( vtkInformation *  ,
vtkInformationVector **  ,
vtkInformationVector *   
)

◆ RequestInformation()

int vtkSonixVideoSource::RequestInformation ( vtkInformation *  ,
vtkInformationVector **  ,
vtkInformationVector *   
)
protected

◆ ResetFrameBufferExtent()

void vtkSonixVideoSource::ResetFrameBufferExtent ( )
protected

◆ setDebugOutput()

void vtkSonixVideoSource::setDebugOutput ( bool  debug)

Turn debug output on/off.

◆ SetImagingMode()

void vtkSonixVideoSource::SetImagingMode ( int  mode)
inline

Definition at line 150 of file vtkSonixVideoSource.h.

◆ SetInstance()

static void vtkSonixVideoSource::SetInstance ( vtkSonixVideoSource instance)
static

◆ SetOutputFormat()

void vtkSonixVideoSource::SetOutputFormat ( int  format)

◆ setSonixConnectionDelay()

void vtkSonixVideoSource::setSonixConnectionDelay ( int  delay)

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

◆ setSonixHelper()

void vtkSonixVideoSource::setSonixHelper ( SonixHelper sonixHelper)

◆ SetSonixIP()

void vtkSonixVideoSource::SetSonixIP ( const char *  SonixIP)

◆ setUseSharedMemory()

void vtkSonixVideoSource::setUseSharedMemory ( bool  useSharedMemory)

◆ Stop()

virtual void vtkSonixVideoSource::Stop ( )
virtual

◆ UnpackRasterLine()

void vtkSonixVideoSource::UnpackRasterLine ( char *  outptr,
char *  inptr,
int  start,
int  count 
)
protected

◆ UpdateFrameBufferExtent()

void vtkSonixVideoSource::UpdateFrameBufferExtent ( uROI  roi)
protected

Calculate FrameBufferExtent from roi and FrameSize.

◆ vtkGetMacro() [1/4]

vtkSonixVideoSource::vtkGetMacro ( AcquisitionDataType  ,
int   
)

◆ vtkGetMacro() [2/4]

vtkSonixVideoSource::vtkGetMacro ( Depth  ,
int   
)

◆ vtkGetMacro() [3/4]

vtkSonixVideoSource::vtkGetMacro ( FrameRate  ,
float   
)

◆ vtkGetMacro() [4/4]

vtkSonixVideoSource::vtkGetMacro ( Frequency  ,
int   
)

◆ vtkSetMacro() [1/4]

vtkSonixVideoSource::vtkSetMacro ( AcquisitionDataType  ,
int   
)

◆ vtkSetMacro() [2/4]

vtkSonixVideoSource::vtkSetMacro ( Depth  ,
int   
)

◆ vtkSetMacro() [3/4]

vtkSonixVideoSource::vtkSetMacro ( FrameRate  ,
float   
)

◆ vtkSetMacro() [4/4]

vtkSonixVideoSource::vtkSetMacro ( Frequency  ,
int   
)

◆ vtkTypeRevisionMacro()

vtkSonixVideoSource::vtkTypeRevisionMacro ( vtkSonixVideoSource  ,
vtkVideoSource   
)

Member Data Documentation

◆ AcquisitionDataType

int vtkSonixVideoSource::AcquisitionDataType
protected

Definition at line 226 of file vtkSonixVideoSource.h.

◆ Cleanup

vtkSonixVideoSourceCleanup vtkSonixVideoSource::Cleanup
static

Definition at line 123 of file vtkSonixVideoSource.h.

◆ DataDescriptor

uDataDesc* vtkSonixVideoSource::DataDescriptor
protected

Definition at line 222 of file vtkSonixVideoSource.h.

◆ Depth

int vtkSonixVideoSource::Depth
protected

Definition at line 224 of file vtkSonixVideoSource.h.

◆ FrameRate

int vtkSonixVideoSource::FrameRate
protected

Definition at line 225 of file vtkSonixVideoSource.h.

◆ Frequency

int vtkSonixVideoSource::Frequency
protected

Definition at line 223 of file vtkSonixVideoSource.h.

◆ ImagingMode

int vtkSonixVideoSource::ImagingMode
protected

Definition at line 227 of file vtkSonixVideoSource.h.

◆ lastFrameNum

int vtkSonixVideoSource::lastFrameNum
protected

Definition at line 246 of file vtkSonixVideoSource.h.

◆ lastRoiBry

int vtkSonixVideoSource::lastRoiBry
protected

Definition at line 249 of file vtkSonixVideoSource.h.

◆ lastRoiUlx

int vtkSonixVideoSource::lastRoiUlx
protected

Definition at line 248 of file vtkSonixVideoSource.h.

◆ mDebugOutput

bool vtkSonixVideoSource::mDebugOutput
protected

Definition at line 251 of file vtkSonixVideoSource.h.

◆ mFirstConnect

bool vtkSonixVideoSource::mFirstConnect
protected

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

Definition at line 228 of file vtkSonixVideoSource.h.

◆ mSonixConnectionDelay

int vtkSonixVideoSource::mSonixConnectionDelay
protected

Definition at line 252 of file vtkSonixVideoSource.h.

◆ mSonixHelper

SonixHelper* vtkSonixVideoSource::mSonixHelper
protected

Support Qt functionality to vtkSonixVideoSource.

Definition at line 244 of file vtkSonixVideoSource.h.

◆ mUseSharedMemory

bool vtkSonixVideoSource::mUseSharedMemory
protected

Definition at line 253 of file vtkSonixVideoSource.h.

◆ SonixHostIP

char* vtkSonixVideoSource::SonixHostIP
protected

Definition at line 230 of file vtkSonixVideoSource.h.

◆ totalMissedFrames

int vtkSonixVideoSource::totalMissedFrames
protected

Definition at line 247 of file vtkSonixVideoSource.h.

◆ ult

ulterius* vtkSonixVideoSource::ult
protected

Definition at line 221 of file vtkSonixVideoSource.h.


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