|
|
| GlText (const std::string &text="", const vec2 &offset=vec2::Zero(), const vec4 &color=vec4::Ones(), int fontSize=12) |
|
void | setText (const std::string &text) |
|
std::string | text () |
|
void | setColor (const vec3 &color) |
|
void | setColor (const vec4 &color) |
|
vec4 | color () |
|
void | setOffset (const vec2 &offset) |
|
vec2 | offset () |
|
void | setFontSize (int size) |
|
int | fontSize () |
| void | draw (const GlView &view) override |
| | Draw the object in 3D space.
|
| Geometry::AlignedBox | bounds () const override |
| | Get the axis-aligned bounding box of this GlObject in world space.
|
| std::string | typeName () const override |
| | Return unique identifier for this object class used for serialization.
|
| virtual Geometry::AlignedBox | boundsSpherical () const |
| | Get the spherical bounds of this GlObject in world space.
|
| virtual void | setMatrix (const mat4 &m) |
| | Set the modelview matrix of this object.
|
| virtual const mat4 & | matrix () const |
| | Return the modelview matrix.
|
| virtual void | setVisible (bool visible) |
| | Set object visibility.
|
|
virtual bool | visible () const |
| | Return object visibility.
|
| virtual void | setAlwaysVisible (bool alwaysVisible) |
| | Set if object is always visible.
|
|
virtual bool | alwaysVisible () const |
| | Return if object is always visible.
|
|
RenderingOrderGroup | renderingOrder () const |
| | Return current rendering order value for this GlObject.
|
|
void | setRenderingOrder (RenderingOrderGroup group) |
| | Set rendering order value for this GlObject.
|
|
void | setDraw3DIn2DView (bool draw3DIn2DView) |
| void | configure (const Properties *p) override |
| | Configure this object instance by de-serializing the given Properties.
|
| void | configuration (Properties *p) const override |
| | Serialize the current object configuration into the given Properties object.
|
| virtual void | configureDefaults () |
| | Retrieve the properties of this object, replaces values with their defaults and sets it again.
|
|
void | registerParameter (ParameterBase *param) |
| | Register the given Parameter or SubProperty, so that it will be configured during configure()/configuration().
|
|
void | unregisterParameter (const ParameterBase *param) |
| | Remove the given Parameter or SubProperty from the list of registered parameters.
|
|
| Configurable (const Configurable &rhs) |
|
| Configurable (Configurable &&rhs) noexcept |
|
Configurable & | operator= (const Configurable &) |
|
Configurable & | operator= (Configurable &&) noexcept |