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

#include <RenderTypes.h>

Inheritance diagram for TextFigure:
Inheritance graph
Collaboration diagram for TextFigure:
Collaboration graph

Public Member Functions

virtual ~TextFigure ()
 
virtual void setText (const std::string &text)
 
virtual void setFont (const std::string &fontname)
 
virtual void setColor (const color &col)
 
virtual void setVAlign (VAlignType align)
 
virtual void setHAlign (HAlignType align)
 
virtual void setTextHeight (real height)
 
virtual void setSpaceWidth (real width)
 
virtual void setCameraAlign (bool align)
 
virtual std::string getText () const
 
virtual std::string getFont () const
 
virtual color getColor () const
 
virtual VAlignType getVAlign () const
 
virtual HAlignType getHAlign () const
 
virtual real getTextHeight () const
 
virtual real getSpaceWidth () const
 
virtual bool isCameraAligned () const
 
- 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

◆ ~TextFigure()

virtual ~TextFigure ( )
inlinevirtual

Member Function Documentation

◆ getColor()

virtual color getColor ( ) const
inlinevirtual

Reimplemented in OgreTextFigure.

◆ getFont()

virtual std::string getFont ( ) const
inlinevirtual

Reimplemented in OgreTextFigure.

◆ getHAlign()

virtual HAlignType getHAlign ( ) const
inlinevirtual

Reimplemented in OgreTextFigure.

◆ getSpaceWidth()

virtual real getSpaceWidth ( ) const
inlinevirtual

Reimplemented in OgreTextFigure.

◆ getText()

virtual std::string getText ( ) const
inlinevirtual

Reimplemented in OgreTextFigure.

◆ getTextHeight()

virtual real getTextHeight ( ) const
inlinevirtual

Reimplemented in OgreTextFigure.

◆ getVAlign()

virtual VAlignType getVAlign ( ) const
inlinevirtual

Reimplemented in OgreTextFigure.

◆ isCameraAligned()

virtual bool isCameraAligned ( ) const
inlinevirtual

Reimplemented in OgreTextFigure.

◆ setCameraAlign()

virtual void setCameraAlign ( bool  align)
inlinevirtual

Reimplemented in OgreTextFigure.

◆ setColor()

virtual void setColor ( const color col)
inlinevirtual

Reimplemented in OgreTextFigure.

◆ setFont()

virtual void setFont ( const std::string &  fontname)
inlinevirtual

Reimplemented in OgreTextFigure.

Here is the caller graph for this function:

◆ setHAlign()

virtual void setHAlign ( HAlignType  align)
inlinevirtual

Reimplemented in OgreTextFigure.

◆ setSpaceWidth()

virtual void setSpaceWidth ( real  width)
inlinevirtual

Reimplemented in OgreTextFigure.

◆ setText()

virtual void setText ( const std::string &  text)
inlinevirtual

Reimplemented in OgreTextFigure.

◆ setTextHeight()

virtual void setTextHeight ( real  height)
inlinevirtual

Reimplemented in OgreTextFigure.

◆ setVAlign()

virtual void setVAlign ( VAlignType  align)
inlinevirtual

Reimplemented in OgreTextFigure.


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