![]() |
Workspace 7.1.0
|
Represents an item in a scene that is purely text.
#include <Rendering/SceneComponents/annotation.h>
Public Member Functions | |
Annotation (const Annotation &) | |
Annotation (const QString &id="") | |
~Annotation () override | |
Annotation * | clone () const override |
const Mesh::Vector3d & | getCoordinates () const |
bool | getEnabled () const |
const QString & | getText () const |
bool | isOverlay () const |
Annotation & | operator= (const Annotation &annotation) |
void | setCoordinates (const Mesh::Vector3d &coordinates) |
void | setEnabled (bool b) |
void | setIsOverlay (bool b) |
void | setText (const QString &text) |
bool | visit (SceneItemProcessor &processor) override |
![]() | |
~SceneItem () override | |
SceneItem * | clone () const override=0 |
bool | getEnabled () const |
const QString & | getId () const |
const Mesh::BoundingBoxMinimal & | getLocalBoundingBox () const |
virtual Mesh::TransformMatrix | getMatrixGlobal () const |
virtual Mesh::TransformMatrix | getMatrixLocal () const |
const QString & | getName () const |
Mesh::TransformMatrix | getParentMatrixGlobal () const |
Transform * | getParentTransform () |
void | setEnabled (bool b) |
void | setId (const QString &itemId) |
virtual void | setLocalBoundingBox (const Mesh::BoundingBoxMinimal &bb) |
void | setName (const QString &name) |
virtual Transform * | toTransform () |
virtual const Transform * | toTransform () const |
virtual void | updateGlobalMatrix () |
virtual bool | visit (SceneItemProcessor &processor)=0 |
![]() | |
virtual | ~Observable () |
void | attachObserver (Observer &observer) |
void | destroy () |
void | detachObserver (Observer &observer) |
void | notifyEvent (const ObservableEvent &event) |
![]() | |
virtual | ~Clonable ()=default |
virtual Clonable * | clone () const =0 |
Additional Inherited Members | |
![]() | |
SceneItem (const QString &id) | |
SceneItem (const SceneItem &item) | |
virtual void | addToScene (Scene &scene, const QString &opIdPath="") |
bool | isTransformModified () const |
SceneItem & | operator= (const SceneItem &item) |
void | setTransformModified (bool b) |
![]() | |
Observable () | |
Observable (const Observable &) | |
Annotation | ( | const QString & | id = "" | ) |
Annotation | ( | const Annotation & | other | ) |
|
override |
|
overridevirtual |
const Vector3d & getCoordinates | ( | ) | const |
bool getEnabled | ( | ) | const |
const QString & getText | ( | ) | const |
bool isOverlay | ( | ) | const |
Annotation & operator= | ( | const Annotation & | annotation | ) |
void setCoordinates | ( | const Mesh::Vector3d & | coordinates | ) |
void setEnabled | ( | bool | b | ) |
void setIsOverlay | ( | bool | b | ) |
b | Set to true to overlay the annotation on top of the scene. Set to false to embed the annotation within the scene. |
void setText | ( | const QString & | text | ) |
|
overridevirtual |
Implements SceneItem.