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

#include <coTabletUI.h>

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

Public Member Functions

 coTUISGBrowserTab (const char *, int pID=1)
 
virtual ~coTUISGBrowserTab ()
 
virtual void resend ()
 
int openServer ()
 
virtual void parseMessage (covise::TokenBuffer &tb)
 
virtual void sendType (int type, const char *nodeType, const char *name, const char *path, const char *pPath, int mode, int numChildren=0)
 
virtual void sendEnd ()
 
virtual void sendProperties (std::string path, std::string pPath, int mode, int transparent)
 
virtual void sendProperties (std::string path, std::string pPath, int mode, int transparent, float mat[])
 
virtual void sendCurrentNode (osg::Node *node, std::string)
 
virtual void sendRemoveNode (std::string path, std::string parentPath)
 
virtual void sendShader (std::string name)
 
virtual void sendUniform (std::string name, std::string type, std::string value, std::string min, std::string max, std::string textureFile)
 
virtual void sendShaderSource (std::string vertex, std::string fragment, std::string geometry, std::string tessControl, std::string tessEval)
 
virtual void updateUniform (std::string shader, std::string name, std::string value, std::string textureFile)
 
virtual void updateShaderSourceV (std::string shader, std::string vertex)
 
virtual void updateShaderSourceF (std::string shader, std::string fragment)
 
virtual void updateShaderSourceG (std::string shader, std::string geometry)
 
virtual void updateShaderSourceTE (std::string shader, std::string tessEval)
 
virtual void updateShaderSourceTC (std::string shader, std::string tessControl)
 
virtual void updateShaderNumVertices (std::string shader, int)
 
virtual void updateShaderOutputType (std::string shader, int)
 
virtual void updateShaderInputType (std::string shader, int)
 
virtual const std::string & getFindName () const
 
virtual int getVisMode () const
 
virtual int getImageMode () const
 
virtual osg::Node * getCurrentNode ()
 
virtual const std::string & getExpandPath () const
 
virtual const std::string & getSelectPath () const
 
virtual const std::string & getSelectParentPath () const
 
virtual const std::string & getShowHidePath () const
 
virtual const std::string & getShowHideParentPath () const
 
virtual float getR () const
 
virtual float getG () const
 
virtual float getB () const
 
virtual int getPolyMode () const
 
virtual int getSelMode () const
 
virtual void parseTextureMessage (covise::TokenBuffer &tb)
 
virtual void setTexture (int height, int width, int depth, int texIndex, int dataLength, const char *data)
 
virtual void setTexture (int texNumber, int mode, int texGenMode, int texIndex)
 
virtual void setCurrentNode (osg::Node *node)
 
virtual void setCurrentPath (std::string str)
 
virtual void decTexturesToChange ()
 
virtual void finishedTraversing ()
 
virtual void sendTraversedTextures ()
 
virtual void finishedNode ()
 
virtual void noTexture ()
 
virtual void sendNodeTextures ()
 
virtual void sendNoTextures ()
 
virtual void incTextureListCount ()
 
virtual void sendTexture ()
 
virtual void lock ()
 
virtual void unlock ()
 
virtual void loadFilesFlag (bool state)
 
virtual void hideSimNode (bool state, char *nodePath, char *parentPath)
 
virtual void setSimPair (char *nodePath, char *simPath, char *simName)
 
virtual int queueIsEmpty () const
 
virtual int getHeight () const
 
virtual int getWidth () const
 
virtual int getDepth () const
 
virtual int getIndex () 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 char * getData ()
 
virtual covise::Connection * getConnection ()
 
virtual osg::Node * getChangedNode ()
 
virtual const std::string & getChangedPath () const
 
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)
 

Public Attributes

float diffuse [4]
 
float specular [4]
 
float ambient [4]
 
float emissive [4]
 
float matrix [16]
 
bool loadFile
 

Protected Attributes

int texturesToChange
 
int height
 
int width
 
int depth
 
int dataLength
 
char * data
 
int textureNumber
 
int index
 
osg::Node * changedNode
 
covise::Connection * conn
 
std::queue< int > _heightList
 
std::queue< int > _widthList
 
std::queue< int > _depthList
 
std::queue< int > _indexList
 
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
 
SGTextureThreadthread
 
OpenThreads::Mutex mutex
 
osg::Node * currentNode
 
std::string currentPath
 
std::string changedPath
 
- 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::coTUISGBrowserTab::coTUISGBrowserTab ( const char *  ,
int  pID = 1 
)
virtual opencover::coTUISGBrowserTab::~coTUISGBrowserTab ( )
virtual

Member Function Documentation

void opencover::coTUISGBrowserTab::close ( )
virtual void opencover::coTUISGBrowserTab::decTexturesToChange ( )
inlinevirtual
virtual void opencover::coTUISGBrowserTab::finishedNode ( )
virtual
virtual void opencover::coTUISGBrowserTab::finishedTraversing ( )
virtual
virtual float opencover::coTUISGBrowserTab::getB ( ) const
inlinevirtual
virtual osg::Node* opencover::coTUISGBrowserTab::getChangedNode ( )
inlinevirtual
virtual const std::string& opencover::coTUISGBrowserTab::getChangedPath ( ) const
inlinevirtual
virtual covise::Connection* opencover::coTUISGBrowserTab::getConnection ( )
inlinevirtual
virtual osg::Node* opencover::coTUISGBrowserTab::getCurrentNode ( )
inlinevirtual
virtual char* opencover::coTUISGBrowserTab::getData ( )
inlinevirtual
virtual int opencover::coTUISGBrowserTab::getDataLength ( ) const
inlinevirtual
virtual int opencover::coTUISGBrowserTab::getDepth ( ) const
inlinevirtual
virtual const std::string& opencover::coTUISGBrowserTab::getExpandPath ( ) const
inlinevirtual
virtual const std::string& opencover::coTUISGBrowserTab::getFindName ( ) const
inlinevirtual
virtual float opencover::coTUISGBrowserTab::getG ( ) const
inlinevirtual
virtual int opencover::coTUISGBrowserTab::getHeight ( ) const
inlinevirtual
virtual int opencover::coTUISGBrowserTab::getImageMode ( ) const
inlinevirtual
virtual int opencover::coTUISGBrowserTab::getIndex ( ) const
inlinevirtual
virtual int opencover::coTUISGBrowserTab::getPolyMode ( ) const
inlinevirtual
virtual float opencover::coTUISGBrowserTab::getR ( ) const
inlinevirtual
virtual const std::string& opencover::coTUISGBrowserTab::getSelectParentPath ( ) const
inlinevirtual
virtual const std::string& opencover::coTUISGBrowserTab::getSelectPath ( ) const
inlinevirtual
virtual int opencover::coTUISGBrowserTab::getSelMode ( ) const
inlinevirtual
virtual const std::string& opencover::coTUISGBrowserTab::getShowHideParentPath ( ) const
inlinevirtual
virtual const std::string& opencover::coTUISGBrowserTab::getShowHidePath ( ) const
inlinevirtual
virtual int opencover::coTUISGBrowserTab::getTextureMode ( ) const
inlinevirtual
virtual int opencover::coTUISGBrowserTab::getTextureNumber ( ) const
inlinevirtual
virtual int opencover::coTUISGBrowserTab::getTexturesToChange ( ) const
inlinevirtual
virtual int opencover::coTUISGBrowserTab::getTextureTexGenMode ( ) const
inlinevirtual
virtual int opencover::coTUISGBrowserTab::getVisMode ( ) const
inlinevirtual
virtual int opencover::coTUISGBrowserTab::getWidth ( ) const
inlinevirtual
virtual int opencover::coTUISGBrowserTab::hasAlpha ( ) const
inlinevirtual
virtual void opencover::coTUISGBrowserTab::hideSimNode ( bool  state,
char *  nodePath,
char *  parentPath 
)
virtual
virtual void opencover::coTUISGBrowserTab::incTextureListCount ( )
virtual
virtual void opencover::coTUISGBrowserTab::loadFilesFlag ( bool  state)
virtual
virtual void opencover::coTUISGBrowserTab::lock ( )
inlinevirtual
virtual void opencover::coTUISGBrowserTab::noTexture ( )
virtual
int opencover::coTUISGBrowserTab::openServer ( )
virtual void opencover::coTUISGBrowserTab::parseMessage ( covise::TokenBuffer &  tb)
virtual

Reimplemented from opencover::coTUIElement.

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

Reimplemented from opencover::coTUIElement.

void opencover::coTUISGBrowserTab::send ( covise::TokenBuffer &  tb)
virtual void opencover::coTUISGBrowserTab::sendCurrentNode ( osg::Node *  node,
std::string   
)
virtual
virtual void opencover::coTUISGBrowserTab::sendEnd ( )
virtual
virtual void opencover::coTUISGBrowserTab::sendNodeTextures ( )
virtual
virtual void opencover::coTUISGBrowserTab::sendNoTextures ( )
virtual
virtual void opencover::coTUISGBrowserTab::sendProperties ( std::string  path,
std::string  pPath,
int  mode,
int  transparent 
)
virtual
virtual void opencover::coTUISGBrowserTab::sendProperties ( std::string  path,
std::string  pPath,
int  mode,
int  transparent,
float  mat[] 
)
virtual
virtual void opencover::coTUISGBrowserTab::sendRemoveNode ( std::string  path,
std::string  parentPath 
)
virtual
virtual void opencover::coTUISGBrowserTab::sendShader ( std::string  name)
virtual
virtual void opencover::coTUISGBrowserTab::sendShaderSource ( std::string  vertex,
std::string  fragment,
std::string  geometry,
std::string  tessControl,
std::string  tessEval 
)
virtual
virtual void opencover::coTUISGBrowserTab::sendTexture ( )
virtual
virtual void opencover::coTUISGBrowserTab::sendTraversedTextures ( )
virtual
virtual void opencover::coTUISGBrowserTab::sendType ( int  type,
const char *  nodeType,
const char *  name,
const char *  path,
const char *  pPath,
int  mode,
int  numChildren = 0 
)
virtual
virtual void opencover::coTUISGBrowserTab::sendUniform ( std::string  name,
std::string  type,
std::string  value,
std::string  min,
std::string  max,
std::string  textureFile 
)
virtual
virtual void opencover::coTUISGBrowserTab::setCurrentNode ( osg::Node *  node)
inlinevirtual
virtual void opencover::coTUISGBrowserTab::setCurrentPath ( std::string  str)
inlinevirtual
virtual void opencover::coTUISGBrowserTab::setSimPair ( char *  nodePath,
char *  simPath,
char *  simName 
)
virtual
virtual void opencover::coTUISGBrowserTab::setTexture ( int  height,
int  width,
int  depth,
int  texIndex,
int  dataLength,
const char *  data 
)
virtual
virtual void opencover::coTUISGBrowserTab::setTexture ( int  texNumber,
int  mode,
int  texGenMode,
int  texIndex 
)
virtual
void opencover::coTUISGBrowserTab::tryConnect ( )
virtual void opencover::coTUISGBrowserTab::unlock ( )
inlinevirtual
virtual void opencover::coTUISGBrowserTab::updateShaderInputType ( std::string  shader,
int   
)
virtual
virtual void opencover::coTUISGBrowserTab::updateShaderNumVertices ( std::string  shader,
int   
)
virtual
virtual void opencover::coTUISGBrowserTab::updateShaderOutputType ( std::string  shader,
int   
)
virtual
virtual void opencover::coTUISGBrowserTab::updateShaderSourceF ( std::string  shader,
std::string  fragment 
)
virtual
virtual void opencover::coTUISGBrowserTab::updateShaderSourceG ( std::string  shader,
std::string  geometry 
)
virtual
virtual void opencover::coTUISGBrowserTab::updateShaderSourceTC ( std::string  shader,
std::string  tessControl 
)
virtual
virtual void opencover::coTUISGBrowserTab::updateShaderSourceTE ( std::string  shader,
std::string  tessEval 
)
virtual
virtual void opencover::coTUISGBrowserTab::updateShaderSourceV ( std::string  shader,
std::string  vertex 
)
virtual
virtual void opencover::coTUISGBrowserTab::updateUniform ( std::string  shader,
std::string  name,
std::string  value,
std::string  textureFile 
)
virtual

Member Data Documentation

std::queue<const char *> opencover::coTUISGBrowserTab::_dataList
protected
std::queue<int> opencover::coTUISGBrowserTab::_depthList
protected
std::queue<int> opencover::coTUISGBrowserTab::_heightList
protected
std::queue<int> opencover::coTUISGBrowserTab::_indexList
protected
std::queue<int> opencover::coTUISGBrowserTab::_lengthList
protected
std::queue<int> opencover::coTUISGBrowserTab::_widthList
protected
int opencover::coTUISGBrowserTab::alpha
protected
float opencover::coTUISGBrowserTab::ambient[4]
osg::Node* opencover::coTUISGBrowserTab::changedNode
protected
std::string opencover::coTUISGBrowserTab::changedPath
protected
covise::Connection* opencover::coTUISGBrowserTab::conn
protected
osg::Node* opencover::coTUISGBrowserTab::currentNode
protected
std::string opencover::coTUISGBrowserTab::currentPath
protected
char* opencover::coTUISGBrowserTab::data
protected
int opencover::coTUISGBrowserTab::dataLength
protected
int opencover::coTUISGBrowserTab::depth
protected
float opencover::coTUISGBrowserTab::diffuse[4]
float opencover::coTUISGBrowserTab::emissive[4]
int opencover::coTUISGBrowserTab::height
protected
int opencover::coTUISGBrowserTab::index
protected
bool opencover::coTUISGBrowserTab::loadFile
covise::Host* opencover::coTUISGBrowserTab::localHost
protected
float opencover::coTUISGBrowserTab::matrix[16]
OpenThreads::Mutex opencover::coTUISGBrowserTab::mutex
protected
covise::Host* opencover::coTUISGBrowserTab::serverHost
protected
float opencover::coTUISGBrowserTab::specular[4]
int opencover::coTUISGBrowserTab::textureMode
protected
int opencover::coTUISGBrowserTab::textureNumber
protected
int opencover::coTUISGBrowserTab::texturePort
protected
int opencover::coTUISGBrowserTab::texturesToChange
protected
int opencover::coTUISGBrowserTab::textureTexGenMode
protected
SGTextureThread* opencover::coTUISGBrowserTab::thread
protected
float opencover::coTUISGBrowserTab::timeout
protected
int opencover::coTUISGBrowserTab::width
protected

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