class TdGfxGLGroup : public TcGfxGroup

This class is used to setup a tree of GL components

Inheritance:


Public Methods

TdGfxGLGroup()
Constructor
TdGfxGLGroup(const TcUtString &id)
Constructor
virtual ~TdGfxGLGroup()
Destructor.
virtual int addChild(TcGfxComponent *gfxNode)
Adds a TcGfxComponent GL object.
virtual int removeChild(TcGfxComponent *gfxNode)
Removes a TcGfxComponent GL object.
virtual void hideGeometry()
Hides a the geometry of a group of GL objects.
virtual void unHideGeometry()
Unhides the geometry of a group of GL objects.
virtual void loadGeometry(const LoadType& ldType)
Loads the geometry of a group of GL objects.
virtual void unLoadGeometry()
Unloads the geometry of a group of GL objects.
virtual void draw()
Draw a group of GL objects.
virtual void update()
Update a group of GL objects.
virtual TcUtVector3f getPosition()
Return the position of GL objects.
virtual int setPosition(TcUtVector3f)
Set the position of GL objects.
virtual TcUtVector3f getOrientation()
Get the orientation of GL objects.
virtual int setOrientation(TcUtVector3f)
Set the orientation of GL objects.
virtual void accept(TcGfxVisitor &v)
Used by the TcGfxVisitor mechanism.

Inherited from TcGfxGroup:

Public Methods

const TcGfxGroup& operator=(const TcGfxGroup &right)
TcIterator <TcGfxComponent *> * getChildIterator()
virtual const TcGfxComponent* getCompByName(const TcUtString &name)

Inherited from TcGfxComponent:

Public Classes

enum LoadType
enum LoadState

Public Methods

virtual void toggleLoadGeometry()
virtual void toggleHideGeometry()
virtual void triggerEvent(const TcUtString &eventName)
virtual TcActionEvent* getEvent(const TcUtString &eventName)
virtual TcActionEvent* getIterativeEvent(const TcUtString &eventName)
virtual void handleIterativeEvents()
const TcUtString& getCompName()
void addEvent(TcActionEvent *)
void removeEvent(TcActionEvent *)
void addIterativeEvent(TcActionEvent *)
void removeIterativeEvent(TcActionEvent *)
void addUserComponent(const TcUtString &name, TcUserComponent *component)
TcUserComponent* getUserComponent(const TcUtString &name)
void removeUserComponent(const TcUtString &)
const vector <TcActionEvent *> * getEventList()
TcUtString getGeoFileName()
void setGeoLoaded(bool)
void setGeoHidden(bool)
void setCompName(const TcUtString &name)
bool geoLoaded()
bool geoHidden()
TcGfxComponent* getParent()
void setParent(TcGfxComponent *)
void setDspLibComponent(TcGfxDspLibComponent *)
TcGfxDspLibComponent* getDspLibComponent() const

Protected Fields

TcUtString geometryFileName

Documentation

This class is used to setup a tree of GL components. It is is similar to the role of TdGfxPfGroup for Performer components.
TdGfxGLGroup()
Constructor

TdGfxGLGroup(const TcUtString &id)
Constructor
Parameters:
id - Sets the compName

virtual ~TdGfxGLGroup()
Destructor.

virtual int addChild(TcGfxComponent *gfxNode)
Adds a TcGfxComponent GL object.

virtual int removeChild(TcGfxComponent *gfxNode)
Removes a TcGfxComponent GL object.

virtual void hideGeometry()
Hides a the geometry of a group of GL objects.

virtual void unHideGeometry()
Unhides the geometry of a group of GL objects.

virtual void loadGeometry(const LoadType& ldType)
Loads the geometry of a group of GL objects.

virtual void unLoadGeometry()
Unloads the geometry of a group of GL objects.

virtual void draw()
Draw a group of GL objects.

virtual void update()
Update a group of GL objects.

virtual TcUtVector3f getPosition()
Return the position of GL objects.

virtual int setPosition(TcUtVector3f)
Set the position of GL objects.

virtual TcUtVector3f getOrientation()
Get the orientation of GL objects.

virtual int setOrientation(TcUtVector3f)
Set the orientation of GL objects.

virtual void accept(TcGfxVisitor &v)
Used by the TcGfxVisitor mechanism.


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