class shmCAVtv : public CAVtv

This is the derived class shmCAVEtv, which takes rgb format frames from a shared memory segment, and places them on a video pane on a tv object in a CAVE scene

Inheritance:


Inherited from CAVtv:

Public

Methods

CAVtv(float x = 0.0, float y = 0.0, float z = 0.0)
The default constructor takes three arguments the x, y, and z position of the CAVEtv in CAVE space.
virtual ~CAVtv()
The default destructor takes no arguments and is virtual.
void SetTVWidtth(int _width)
This accessor sets the width of the tv object
void SetTVHeight(int _height)
This accessor sets the height of the tv object
void SetVideoWidth(int _width)
This accessor sets the width of the video pane on the TV
void SetVideoHeight(int _height)
This accessor sets the height of the video pane on the TV
void SetVideoDepth(int _depth)
This accessor sets the depth of the video pane on the TV
void SetColor(float r, float g, float b, float a)
This accessor sets the color and alpha value of the CAVEtv
void SetColor(float r, float g, float b)
This accessor sets the color of the CAVEtv
void SetPosition(float x, float y, float z)
This accessor sets the x, y, and z position of the CAVEtv
void SetFrameRate(int frate)
This function sets how fast the frames are read in
int GetPowTwo(int val)
This function gets the next power of two
virtual void Init(void)
This function is where tv local initialization takes place
virtual void GetPix(void)
This function is where the frame is read in and moved into tv local space
virtual void Process(void)
This function is where the frame is placed on the CAVEtv
void Draw(void)
This function draws the tv object in the CAVE scene

Protected

Data

int _tv_width
The width of the tv object
int _tv_height
The height of the tv object
int _video_width
The width of the video buffer
int _video_height
The height of the video buffer
int _video_depth
The depth of the video buffer
int _video_size
The size of the video buffer
float _red
The red value for the tv
float _green
The green value for the tv
float _blue
The blue value for the tv
float _alpha
The alpha value for the tv
float _px
The x position of the tv
float _py
the y position of the tv
float _pz
The z position of the tv
GLuint _texids[CAVEAVMAXTEXTURES]
The texture ID
CAVImagePool* _imagepool
Ring Buffer of image descriptors
int _lastimage
Index of last image used from Ring Buffer
int _lastserial
Serial number of last image used
int _fb_size
Current image size (height * width * depth)
int _fc
Frame Counter
int _frate
Frame rate
GLfloat _s_coord
This is the size in texels of the image for the S val
GLfloat _t_coord
This is the size in texels of the image for the T val

Inherited from CAVSharedObject:


Documentation

This is the derived class shmCAVEtv, which takes rgb format frames from a shared memory segment, and places them on a video pane on a tv object in a CAVE scene.

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