FAST
3.2.0
Framework for Heterogeneous Medical Image Computing and Visualization
|
#include <Text.hpp>
Public Member Functions | |
void | create (std::string text, Color color=Color::Green()) |
void | setPosition (Vector2f position) |
void | free (ExecutionDevice::pointer device) |
void | freeAll () |
std::string | getText () const |
void | setText (std::string text) |
Color | getColor () const |
void | setColor (Color color) |
void | setTextHeight (float millimeters) |
float | getTextHeight () const |
![]() | |
SpatialDataObject () | |
virtual DataBoundingBox | getBoundingBox () const |
virtual DataBoundingBox | getTransformedBoundingBox () const |
SceneGraphNode::pointer | getSceneGraphNode () const |
![]() | |
DataObject () | |
void | setMetadata (std::string name, std::string value) |
void | setMetadata (std::unordered_map< std::string, std::string > metadata) |
std::string | getMetadata (std::string name) const |
std::unordered_map< std::string, std::string > | getMetadata () const |
void | deleteMetadata (std::string name) |
uint64_t | getTimestamp () const |
void | updateModifiedTimestamp () |
virtual | ~DataObject () |
virtual std::string | getNameOfClass () const =0 |
uint64_t | getCreationTimestamp () const |
void | setCreationTimestamp (uint64_t timestamp) |
void | setLastFrame (std::string streamer) |
bool | isLastFrame () |
bool | isLastFrame (std::string streamer) |
std::unordered_set< std::string > | getLastFrame () |
void | setFrameData (std::string name, std::string value) |
std::string | getFrameData (std::string name) |
std::unordered_map< std::string, std::string > | getFrameData () |
void | accessFinished () |
![]() | |
Object () | |
virtual | ~Object () |
Reporter & | getReporter () |
Protected Member Functions | |
Text () | |
![]() | |
void | blockIfBeingWrittenTo () |
void | blockIfBeingAccessed () |
![]() | |
Reporter & | reportError () |
Reporter & | reportWarning () |
Reporter & | reportInfo () |
ReporterEnd | reportEnd () const |
Protected Attributes | |
std::string | m_text = "" |
Color | m_color = Color::Green() |
float | m_textHeight = 3.0f |
![]() | |
DataBoundingBox | mBoundingBox |
![]() | |
std::mutex | mDataIsBeingWrittenToMutex |
std::condition_variable | mDataIsBeingWrittenToCondition |
bool | mDataIsBeingWrittenTo |
std::mutex | mDataIsBeingAccessedMutex |
std::condition_variable | mDataIsBeingAccessedCondition |
bool | mDataIsBeingAccessed |
![]() | |
std::weak_ptr< Object > | mPtr |
Additional Inherited Members | |
![]() | |
typedef std::shared_ptr< SpatialDataObject > | pointer |
![]() | |
typedef std::shared_ptr< DataObject > | pointer |
![]() | |
typedef std::shared_ptr< Object > | pointer |
![]() | |
static std::string | getStaticNameOfClass () |
![]() | |
static std::string | getStaticNameOfClass () |
![]() | |
static std::string | getStaticNameOfClass () |
|
inlineprotected |
void fast::Text::create | ( | std::string | text, |
Color | color = Color::Green() |
||
) |
|
inlinevirtual |
Implements fast::DataObject.
|
inlinevirtual |
Implements fast::DataObject.
Color fast::Text::getColor | ( | ) | const |
std::string fast::Text::getText | ( | ) | const |
float fast::Text::getTextHeight | ( | ) | const |
void fast::Text::setColor | ( | Color | color | ) |
void fast::Text::setPosition | ( | Vector2f | position | ) |
void fast::Text::setText | ( | std::string | text | ) |
void fast::Text::setTextHeight | ( | float | millimeters | ) |
|
protected |
|
protected |
|
protected |