class shmCAVEcam : public CAVEcam

This is the derived class shmCAVEcam, which takes the frames captured and writes them out to a shared memory segment in rgba format

Inheritance:


Public

Methods
shmCAVEcam(int _shkey = 12001, int width = 640, int depth = 480, int height = 4, float ex = 0.0, float ey = 5.0, float ez = 0.0, float cx = 0.0, float cy = 5.0, float cz = -5.0, float ux = 0.0, float uy = 1.0, float uz = 0.0)
This constructor takes the same arguments as the default but it also opens a shared memory segment to store a ring buffer. The ring buffer can hold a number of frames.
~shmCAVEcam()
This destructor destroys the shared memory segment
void Process(void)
This function reads the renders the frame directly into the correct image descriptor in the ring buffer

Private

Data
key_t _shmkey
The shared memory key
sharedMemory* _shmem
The shared memory object
unsigned char* _tmpbuf
The temporary buffer for the frame until it's flipped directly into the shared memory ring buffer

Inherited from CAVEcam:


Inherited from SharedObject:


Documentation

This is the derived class shmCAVEcam, which takes the frames captured and writes them out to a shared memory segment in rgba format
Methods

shmCAVEcam(int _shkey = 12001, int width = 640, int depth = 480, int height = 4, float ex = 0.0, float ey = 5.0, float ez = 0.0, float cx = 0.0, float cy = 5.0, float cz = -5.0, float ux = 0.0, float uy = 1.0, float uz = 0.0)
This constructor takes the same arguments as the default but it also opens a shared memory segment to store a ring buffer. The ring buffer can hold a number of frames.

~shmCAVEcam()
This destructor destroys the shared memory segment

void Process(void)
This function reads the renders the frame directly into the correct image descriptor in the ring buffer

Data

key_t _shmkey
The shared memory key

sharedMemory* _shmem
The shared memory object

unsigned char* _tmpbuf
The temporary buffer for the frame until it's flipped directly into the shared memory ring buffer


This class has no child classes.

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de