netCAVEtv
class netCAVEtv : public CAVEtv
This is the derived class netCAVEtv, which starts a vic process
upon initialization which uses a shared memory segment as a output
device for the video stream it is recieving from the network
Inheritance:
Inherited from CAVEtv:
Public
Methods
-
CAVEtv(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 ~CAVEtv()
- 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
-
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
-
ImagePool* _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
Documentation
This is the derived class netCAVEtv, which starts a vic process
upon initialization which uses a shared memory segment as a output
device for the video stream it is recieving from the network. The
tv then grabs the frames from the shared memory segment and places
them on the tv object in the CAVE scene.
In order for this tv to find the vic binary it is necessary for
the user to set the environment variable CAVEAV_VIC to the full
pathname (including trailing '/vic') to the vic binary that is
compiled with shared memory support.
- 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