Eidolon
Public Member Functions | List of all members
RibbonFigure Class Reference

#include <RenderTypes.h>

Inheritance diagram for RibbonFigure:
Inheritance graph
Collaboration diagram for RibbonFigure:
Collaboration graph

Public Member Functions

virtual ~RibbonFigure ()
 
virtual void setOrientation (const vec3 &orient)
 
virtual bool isCameraOriented () const
 
virtual vec3 getOrientation () const
 
virtual void setNumRibbons (sval num)
 
virtual sval numRibbons () const
 
virtual sval numNodes (sval ribbon) const throw (IndexException)
 
virtual void setMaxNodes (sval num)
 
virtual sval getMaxNodes () const
 
virtual void clearRibbons ()
 
virtual void removeRibbon (sval ribbon) throw (IndexException)
 
virtual void removeNode (sval ribbon) throw (IndexException)
 
virtual void addNode (sval ribbon, const vec3 &pos, const color &col, real width, const rotator &rot=rotator(), real tex=0.0) throw (IndexException)
 
virtual void setNode (sval ribbon, sval node, const vec3 &pos, const color &col, real width, const rotator &rot=rotator(), real tex=0.0) throw (IndexException)
 
virtual vec3 getNode (sval ribbon, sval node) throw (IndexException)
 
virtual quadruple< color, real, rotator, realgetNodeProps (sval ribbon, sval node) throw (IndexException)
 
- Public Member Functions inherited from Figure
virtual ~Figure ()
 
virtual const char * getName ()
 Get the figure's name. More...
 
virtual void setPosition (const vec3 &v)
 Set the figure's position in world space. More...
 
virtual void setScale (const vec3 &v)
 Set the figure's scale values. More...
 
virtual void setRotation (const rotator &r)
 Set the figure's rotation. More...
 
virtual void setTransform (const transform &t)
 Set position, rotation, and scale for this figure simultaneously. More...
 
virtual void setTransform (const vec3 &trans, const vec3 &scale, const rotator &rot)
 Set position, rotation, and scale for this figure simultaneously. More...
 
virtual vec3 getPosition (bool isDerived=false) const
 Get the figure's position in world space. More...
 
virtual vec3 getScale (bool isDerived=false) const
 Get the figure's scale values. More...
 
virtual rotator getRotation (bool isDerived=false) const
 Get the figure's rotation. More...
 
virtual transform getTransform (bool isDerived=false) const
 Get the figure's position, scale, and rotation transform. More...
 
virtual void setMaterial (const char *mat) throw (RenderException)
 Set the figure's material, this must name an existing material. More...
 
virtual void setMaterial (const Material *mat) throw (RenderException)
 Set's the figure's material. More...
 
virtual const char * getMaterial () const
 Get the figure's material name. More...
 
virtual std::pair< vec3, vec3getAABB () const
 
virtual void fillData (const VertexBuffer *vb, const IndexBuffer *ib, bool deferFill=false, bool doubleSided=false) throw (RenderException)
 
virtual void setVisible (bool isVisible)
 Sets the figure's visibility. More...
 
virtual bool isVisible () const
 Returns the figure's visibility state. More...
 
virtual bool isTransparent () const
 Returns true if the figure includes transparent elements. More...
 
virtual bool isOverlay () const
 Returns true if the figure is part of the UI overlay rather than an object in space. More...
 
virtual void setTransparent (bool isTrans)
 Set the transparency state of the figure, this doesn't actually change data but affects how the renderer treates the object. More...
 
virtual void setOverlay (bool isOverlay)
 Set the overlay state of the figure, this doesn't actually change data but affects how the renderer treates the object. More...
 
virtual void setRenderQueue (sval queue)
 Get the render queue of this figure; queues set rendering order such that figures in lower queues are rendered first. More...
 
virtual sval getRenderQueue () const
 Get the figure's render queue. More...
 
virtual void setCameraVisibility (const Camera *cam, bool isVisible)
 
virtual void setParent (Figure *fig)
 Set the parent of this figure, if `fig' is transformed then the transformation is applied to this figure as well. More...
 

Constructor & Destructor Documentation

◆ ~RibbonFigure()

virtual ~RibbonFigure ( )
inlinevirtual

Member Function Documentation

◆ addNode()

virtual void addNode ( sval  ribbon,
const vec3 pos,
const color col,
real  width,
const rotator rot = rotator(),
real  tex = 0.0 
)
throw (IndexException
)
inlinevirtual

Reimplemented in OgreRibbonFigure.

◆ clearRibbons()

virtual void clearRibbons ( )
inlinevirtual

Reimplemented in OgreRibbonFigure.

◆ getMaxNodes()

virtual sval getMaxNodes ( ) const
inlinevirtual

◆ getNode()

virtual vec3 getNode ( sval  ribbon,
sval  node 
)
throw (IndexException
)
inlinevirtual

Reimplemented in OgreRibbonFigure.

◆ getNodeProps()

virtual quadruple<color,real,rotator,real> getNodeProps ( sval  ribbon,
sval  node 
)
throw (IndexException
)
inlinevirtual

Reimplemented in OgreRibbonFigure.

◆ getOrientation()

virtual vec3 getOrientation ( ) const
inlinevirtual

Reimplemented in OgreRibbonFigure.

◆ isCameraOriented()

virtual bool isCameraOriented ( ) const
inlinevirtual

Reimplemented in OgreRibbonFigure.

◆ numNodes()

virtual sval numNodes ( sval  ribbon) const
throw (IndexException
)
inlinevirtual

Reimplemented in OgreRibbonFigure.

Here is the caller graph for this function:

◆ numRibbons()

virtual sval numRibbons ( ) const
inlinevirtual

Reimplemented in OgreRibbonFigure.

◆ removeNode()

virtual void removeNode ( sval  ribbon)
throw (IndexException
)
inlinevirtual

Reimplemented in OgreRibbonFigure.

◆ removeRibbon()

virtual void removeRibbon ( sval  ribbon)
throw (IndexException
)
inlinevirtual

Reimplemented in OgreRibbonFigure.

◆ setMaxNodes()

virtual void setMaxNodes ( sval  num)
inlinevirtual

Reimplemented in OgreRibbonFigure.

◆ setNode()

virtual void setNode ( sval  ribbon,
sval  node,
const vec3 pos,
const color col,
real  width,
const rotator rot = rotator(),
real  tex = 0.0 
)
throw (IndexException
)
inlinevirtual

Reimplemented in OgreRibbonFigure.

◆ setNumRibbons()

virtual void setNumRibbons ( sval  num)
inlinevirtual

Reimplemented in OgreRibbonFigure.

◆ setOrientation()

virtual void setOrientation ( const vec3 orient)
inlinevirtual

Reimplemented in OgreRibbonFigure.


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