#include <Element.h>
Public Member Functions | |
| Element * | clone () const |
| It clones the Element. More... | |
| Element () | |
| Text Element constructor. More... | |
| Element (const std::string &value, te::gm::Geometry *location=0, te::gm::Geometry *leaderLine=0) | |
| Text Element constructor. More... | |
| const Attributes * | getAttributes () const |
| it returns the text attributes. More... | |
| const te::gm::Geometry * | getLeaderLine () const |
| it returns the text leader line. More... | |
| const te::gm::Geometry * | getLocation () const |
| it returns the text location. More... | |
| const std::string & | getValue () const |
| it returns the text string. More... | |
| void | setAttributes (Attributes *attribute) |
| it sets the text attributes. More... | |
| void | setLeaderLine (te::gm::Geometry *leaderLine) |
| it sets the text leader line. More... | |
| void | setLocation (te::gm::Geometry *location) |
| it sets the text location. More... | |
| void | setValue (const std::string &value) |
| it sets the text string. More... | |
| ~Element () | |
| Text Element destructor. More... | |
Not Allowed Methods | |
| std::string | m_value |
| text value More... | |
| te::gm::Geometry * | m_location |
| location More... | |
| te::gm::Geometry * | m_leaderLine |
| leader line More... | |
| Attributes * | m_attribute |
| attributes More... | |
| Element (const Element &rhs) | |
| No copy constructor allowed. More... | |
| Element & | operator= (const Element &rhs) |
| No assignment operator allowed. More... | |
Definition at line 55 of file annotationtext/Element.h.
| te::at::Element::Element | ( | ) |
Definition at line 31 of file annotationtext/Element.cpp.
References m_attribute, m_leaderLine, m_location, and m_value.
Referenced by clone().
| te::at::Element::Element | ( | const std::string & | value, |
| te::gm::Geometry * | location = 0, |
||
| te::gm::Geometry * | leaderLine = 0 |
||
| ) |
| value | The string value. |
| location | The Text entry point in world coordinates. |
| leaderLine | The Text leader line in world coordinates. |
Definition at line 39 of file annotationtext/Element.cpp.
References m_attribute, m_leaderLine, m_location, and m_value.
| te::at::Element::~Element | ( | ) |
Definition at line 47 of file annotationtext/Element.cpp.
References m_attribute, m_leaderLine, and m_location.
|
private |
No copy constructor allowed.
| rhs | The other element. |
| te::at::Element * te::at::Element::clone | ( | ) | const |
It clones the Element.
Definition at line 54 of file annotationtext/Element.cpp.
References Element(), m_attribute, m_leaderLine, m_location, m_value, setAttributes(), setLeaderLine(), setLocation(), and setValue().
| const te::at::Attributes * te::at::Element::getAttributes | ( | ) | const |
it returns the text attributes.
The text attributes.
Definition at line 102 of file annotationtext/Element.cpp.
References m_attribute.
Referenced by te::ag::Canvas::draw().
| const te::gm::Geometry * te::at::Element::getLeaderLine | ( | ) | const |
it returns the text leader line.
Definition at line 91 of file annotationtext/Element.cpp.
References m_leaderLine.
Referenced by te::ag::Canvas::draw().
| const te::gm::Geometry * te::at::Element::getLocation | ( | ) | const |
it returns the text location.
Definition at line 80 of file annotationtext/Element.cpp.
References m_location.
Referenced by te::ag::Canvas::draw().
| const std::string & te::at::Element::getValue | ( | ) | const |
it returns the text string.
Definition at line 69 of file annotationtext/Element.cpp.
References m_value.
Referenced by te::ag::Canvas::draw().
No assignment operator allowed.
| rhs | The other element. |
| void te::at::Element::setAttributes | ( | Attributes * | attribute | ) |
it sets the text attributes.
| att | The text attributes. |
Definition at line 96 of file annotationtext/Element.cpp.
References te::qt::plugins::wtss::attribute, and m_attribute.
Referenced by clone(), and TsCanvas::tcPerformance().
| void te::at::Element::setLeaderLine | ( | te::gm::Geometry * | leaderLine | ) |
it sets the text leader line.
| leaderLine | The text leader line. |
Definition at line 85 of file annotationtext/Element.cpp.
References m_leaderLine.
Referenced by clone().
| void te::at::Element::setLocation | ( | te::gm::Geometry * | location | ) |
it sets the text location.
| location | The text location. |
Definition at line 74 of file annotationtext/Element.cpp.
References m_location.
Referenced by clone().
| void te::at::Element::setValue | ( | const std::string & | value | ) |
it sets the text string.
| value | The text string. |
Definition at line 64 of file annotationtext/Element.cpp.
References m_value.
Referenced by clone().
|
private |
attributes
Definition at line 176 of file annotationtext/Element.h.
Referenced by clone(), Element(), getAttributes(), setAttributes(), and ~Element().
|
private |
leader line
Definition at line 175 of file annotationtext/Element.h.
Referenced by clone(), Element(), getLeaderLine(), setLeaderLine(), and ~Element().
|
private |
location
Definition at line 174 of file annotationtext/Element.h.
Referenced by clone(), Element(), getLocation(), setLocation(), and ~Element().
|
private |
text value
Definition at line 173 of file annotationtext/Element.h.
Referenced by clone(), Element(), getValue(), and setValue().