OpenCOVER
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Public Member Functions | Protected Attributes | List of all members
opencover::coTUITextureTab Class Reference

#include <coTabletUI.h>

Inheritance diagram for opencover::coTUITextureTab:
Inheritance graph
[legend]
Collaboration diagram for opencover::coTUITextureTab:
Collaboration graph
[legend]

Public Member Functions

 coTUITextureTab (const char *, int pID=1)
 
virtual ~coTUITextureTab ()
 
virtual void resend ()
 
virtual void parseMessage (covise::TokenBuffer &tb)
 
virtual void parseTextureMessage (covise::TokenBuffer &tb)
 
virtual void setTexture (int height, int width, int depth, int dataLength, const char *data)
 
virtual void setTexture (int texNumber, int mode, int texGenMode)
 
virtual void setCurrentNode (osg::Node *node)
 
virtual void decTexturesToChange ()
 
virtual void finishedTraversing ()
 
virtual void sendTraversedTextures ()
 
virtual void incTextureListCount ()
 
virtual void sendTexture ()
 
virtual void lock ()
 
virtual void unlock ()
 
virtual int queueIsEmpty () const
 
virtual int getHeight () const
 
virtual int getWidth () const
 
virtual int getDepth () const
 
virtual int getDataLength () const
 
virtual int getTextureNumber () const
 
virtual int getTextureMode () const
 
virtual int getTextureTexGenMode () const
 
virtual int getTexturesToChange () const
 
virtual int hasAlpha () const
 
virtual unsigned char * getData ()
 
virtual covise::ClientConnection * getConnection ()
 
virtual osg::Node * getChangedNode ()
 
void send (covise::TokenBuffer &tb)
 
void tryConnect ()
 
void close ()
 
void parseTextureMessage ()
 
- Public Member Functions inherited from opencover::coTUIElement
 coTUIElement (const std::string &, int pID=1)
 
 coTUIElement (QObject *parent, const std::string &, int pID)
 
 coTUIElement (QObject *parent, const std::string &, int pID, int type)
 
virtual ~coTUIElement ()
 
virtual void setEventListener (coTUIListener *)
 
virtual coTUIListenergetMenuListener ()
 
void createSimple (int type)
 

Protected Attributes

int texturesToChange
 
int height
 
int width
 
int depth
 
int dataLength
 
char * data
 
int textureNumber
 
osg::Node * currentNode
 
osg::Node * changedNode
 
covise::ClientConnection * conn
 
std::queue< int > heightList
 
std::queue< int > widthList
 
std::queue< int > depthList
 
std::queue< int > lengthList
 
std::queue< const char * > dataList
 
int textureMode
 
int textureTexGenMode
 
int alpha
 
covise::Host * serverHost
 
covise::Host * localHost
 
int texturePort
 
float timeout
 
TextureThreadthread
 
OpenThreads::Mutex mutex
 
- Protected Attributes inherited from opencover::coTUIElement
int parentID
 
std::string label
 label of this element More...
 
int ID
 unique ID More...
 
int xs
 
int ys
 
int xp
 
int yp
 
Qt::GlobalColor color
 
bool hidden
 
coTUIListenerlistener
 event listener More...
 

Additional Inherited Members

- Public Slots inherited from opencover::coTUIElement
void setVal (const std::string &value)
 
void setVal (bool value)
 
void setVal (int value)
 
void setVal (float value)
 
void setVal (int type, int value)
 
void setVal (int type, float value)
 
void setVal (int type, int value, const std::string &nodePath)
 
void setVal (int type, const std::string &nodePath, const std::string &simPath, const std::string &simName)
 
void setVal (int type, int value, const std::string &nodePath, const std::string &simPath)
 
int getID () const
 
virtual void setPos (int, int)
 
virtual void setSize (int, int)
 
virtual void setLabel (const char *l)
 
virtual void setLabel (const std::string &l)
 
virtual void setColor (Qt::GlobalColor)
 
virtual void setHidden (bool)
 
std::string getName () const
 
- Protected Member Functions inherited from opencover::coTUIElement
 coTUIElement (const std::string &, int pID, int type)
 
- Properties inherited from opencover::coTUIElement
int id
 
std::string name
 name of this element More...
 

Constructor & Destructor Documentation

opencover::coTUITextureTab::coTUITextureTab ( const char *  ,
int  pID = 1 
)
virtual opencover::coTUITextureTab::~coTUITextureTab ( )
virtual

Member Function Documentation

void opencover::coTUITextureTab::close ( )
virtual void opencover::coTUITextureTab::decTexturesToChange ( )
inlinevirtual
virtual void opencover::coTUITextureTab::finishedTraversing ( )
virtual
virtual osg::Node* opencover::coTUITextureTab::getChangedNode ( )
inlinevirtual
virtual covise::ClientConnection* opencover::coTUITextureTab::getConnection ( )
inlinevirtual
virtual unsigned char* opencover::coTUITextureTab::getData ( )
inlinevirtual
virtual int opencover::coTUITextureTab::getDataLength ( ) const
inlinevirtual
virtual int opencover::coTUITextureTab::getDepth ( ) const
inlinevirtual
virtual int opencover::coTUITextureTab::getHeight ( ) const
inlinevirtual
virtual int opencover::coTUITextureTab::getTextureMode ( ) const
inlinevirtual
virtual int opencover::coTUITextureTab::getTextureNumber ( ) const
inlinevirtual
virtual int opencover::coTUITextureTab::getTexturesToChange ( ) const
inlinevirtual
virtual int opencover::coTUITextureTab::getTextureTexGenMode ( ) const
inlinevirtual
virtual int opencover::coTUITextureTab::getWidth ( ) const
inlinevirtual
virtual int opencover::coTUITextureTab::hasAlpha ( ) const
inlinevirtual
virtual void opencover::coTUITextureTab::incTextureListCount ( )
virtual
virtual void opencover::coTUITextureTab::lock ( )
inlinevirtual
virtual void opencover::coTUITextureTab::parseMessage ( covise::TokenBuffer &  tb)
virtual

Reimplemented from opencover::coTUIElement.

virtual void opencover::coTUITextureTab::parseTextureMessage ( covise::TokenBuffer &  tb)
virtual
void opencover::coTUITextureTab::parseTextureMessage ( )
virtual int opencover::coTUITextureTab::queueIsEmpty ( ) const
inlinevirtual
virtual void opencover::coTUITextureTab::resend ( )
virtual

Reimplemented from opencover::coTUIElement.

void opencover::coTUITextureTab::send ( covise::TokenBuffer &  tb)
virtual void opencover::coTUITextureTab::sendTexture ( )
virtual
virtual void opencover::coTUITextureTab::sendTraversedTextures ( )
virtual
virtual void opencover::coTUITextureTab::setCurrentNode ( osg::Node *  node)
inlinevirtual
virtual void opencover::coTUITextureTab::setTexture ( int  height,
int  width,
int  depth,
int  dataLength,
const char *  data 
)
virtual
virtual void opencover::coTUITextureTab::setTexture ( int  texNumber,
int  mode,
int  texGenMode 
)
virtual
void opencover::coTUITextureTab::tryConnect ( )
virtual void opencover::coTUITextureTab::unlock ( )
inlinevirtual

Member Data Documentation

int opencover::coTUITextureTab::alpha
protected
osg::Node* opencover::coTUITextureTab::changedNode
protected
covise::ClientConnection* opencover::coTUITextureTab::conn
protected
osg::Node* opencover::coTUITextureTab::currentNode
protected
char* opencover::coTUITextureTab::data
protected
int opencover::coTUITextureTab::dataLength
protected
std::queue<const char *> opencover::coTUITextureTab::dataList
protected
int opencover::coTUITextureTab::depth
protected
std::queue<int> opencover::coTUITextureTab::depthList
protected
int opencover::coTUITextureTab::height
protected
std::queue<int> opencover::coTUITextureTab::heightList
protected
std::queue<int> opencover::coTUITextureTab::lengthList
protected
covise::Host* opencover::coTUITextureTab::localHost
protected
OpenThreads::Mutex opencover::coTUITextureTab::mutex
protected
covise::Host* opencover::coTUITextureTab::serverHost
protected
int opencover::coTUITextureTab::textureMode
protected
int opencover::coTUITextureTab::textureNumber
protected
int opencover::coTUITextureTab::texturePort
protected
int opencover::coTUITextureTab::texturesToChange
protected
int opencover::coTUITextureTab::textureTexGenMode
protected
TextureThread* opencover::coTUITextureTab::thread
protected
float opencover::coTUITextureTab::timeout
protected
int opencover::coTUITextureTab::width
protected
std::queue<int> opencover::coTUITextureTab::widthList
protected

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