MIRA
Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions | List of all members
TextMarker Class Referenceabstract

Text marker. More...

#include <model/Marker.h>

Inheritance diagram for TextMarker:
Inheritance graph
[legend]

Public Member Functions

 TextMarker ()
 
 TextMarker (const std::string &str, const Pose3 &position, const Color::RGBA &color=Color::White, const Size3f &scale=Size3f(1.0f, 1.0f, 1.0f))
 
template<typename Reflector >
void reflect (Reflector &r)
 
Class const & getClass () const
 

Static Public Member Functions

static PseudoClass const & CLASS ()
 

Public Attributes

std::string text
 
Pose3 position
 
Color::RGBA color
 
Size3f scale
 

Protected Member Functions

virtual Class const & internalGetClass () const=0
 

Detailed Description

Text marker.

Origin is in the upper left of the text.

Constructor & Destructor Documentation

◆ TextMarker() [1/2]

TextMarker ( )
inline

◆ TextMarker() [2/2]

TextMarker ( const std::string &  str,
const Pose3 position,
const Color::RGBA color = Color::White,
const Size3f scale = Size3f(1.0f,1.0f,1.0f) 
)
inline

Member Function Documentation

◆ reflect()

void reflect ( Reflector &  r)
inline

Member Data Documentation

◆ text

std::string text

◆ position

Pose3 position
inherited

◆ color

Color::RGBA color
inherited

◆ scale

Size3f scale
inherited

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