$search
#include <draw_object.h>
Public Member Functions | |
void | addToFontAdvance (float value) |
void | changeSelected (bool selected) |
std::vector < pr2_dremel_server::Segment > | convertToSegments () |
DrawObject (std::vector< std::vector< vlr::TagLine > > setlines_) | |
DrawObject (std::vector< std::vector< vlr::TagLine > > setlines, double initscale, double initx, double inity) | |
float | getFontAdvance () |
std::vector< std::vector < vlr::TagLine > > & | getLines () |
void | insertNewLines (std::vector< std::vector< vlr::TagLine > > newlines) |
bool | isSelected () |
bool | isText () |
void | move (float dx, float dy) |
void | scale (float scale) |
void | setAsNotText () |
void | setAsText () |
void | setFontAdvance (float value) |
void | updateCentroid () |
~DrawObject () | |
Private Attributes | |
float | centroid_x_ |
float | centroid_y_ |
float | font_advance_ |
bool | is_selected_ |
bool | is_text_ |
std::vector< std::vector < vlr::TagLine > > | lines_ |
Definition at line 43 of file draw_object.h.
dremel::DrawObject::DrawObject | ( | std::vector< std::vector< vlr::TagLine > > | setlines, | |
double | initscale, | |||
double | initx, | |||
double | inity | |||
) | [inline] |
Definition at line 45 of file draw_object.h.
dremel::DrawObject::DrawObject | ( | std::vector< std::vector< vlr::TagLine > > | setlines_ | ) | [inline] |
Definition at line 54 of file draw_object.h.
dremel::DrawObject::~DrawObject | ( | ) | [inline] |
Definition at line 63 of file draw_object.h.
void dremel::DrawObject::addToFontAdvance | ( | float | value | ) | [inline] |
Definition at line 122 of file draw_object.h.
void dremel::DrawObject::changeSelected | ( | bool | selected | ) | [inline] |
Definition at line 118 of file draw_object.h.
std::vector<pr2_dremel_server::Segment> dremel::DrawObject::convertToSegments | ( | ) | [inline] |
Definition at line 155 of file draw_object.h.
float dremel::DrawObject::getFontAdvance | ( | ) | [inline] |
Definition at line 126 of file draw_object.h.
std::vector<std::vector<vlr::TagLine> >& dremel::DrawObject::getLines | ( | ) | [inline] |
Definition at line 146 of file draw_object.h.
void dremel::DrawObject::insertNewLines | ( | std::vector< std::vector< vlr::TagLine > > | newlines | ) | [inline] |
Definition at line 150 of file draw_object.h.
bool dremel::DrawObject::isSelected | ( | ) | [inline] |
Definition at line 114 of file draw_object.h.
bool dremel::DrawObject::isText | ( | ) | [inline] |
Definition at line 142 of file draw_object.h.
void dremel::DrawObject::move | ( | float | dx, | |
float | dy | |||
) | [inline] |
Definition at line 84 of file draw_object.h.
void dremel::DrawObject::scale | ( | float | scale | ) | [inline] |
Definition at line 99 of file draw_object.h.
void dremel::DrawObject::setAsNotText | ( | ) | [inline] |
Definition at line 138 of file draw_object.h.
void dremel::DrawObject::setAsText | ( | ) | [inline] |
Definition at line 134 of file draw_object.h.
void dremel::DrawObject::setFontAdvance | ( | float | value | ) | [inline] |
Definition at line 130 of file draw_object.h.
void dremel::DrawObject::updateCentroid | ( | ) | [inline] |
Definition at line 65 of file draw_object.h.
float dremel::DrawObject::centroid_x_ [private] |
Definition at line 186 of file draw_object.h.
float dremel::DrawObject::centroid_y_ [private] |
Definition at line 186 of file draw_object.h.
float dremel::DrawObject::font_advance_ [private] |
Definition at line 184 of file draw_object.h.
bool dremel::DrawObject::is_selected_ [private] |
Definition at line 183 of file draw_object.h.
bool dremel::DrawObject::is_text_ [private] |
Definition at line 185 of file draw_object.h.
std::vector<std::vector<vlr::TagLine> > dremel::DrawObject::lines_ [private] |
Definition at line 182 of file draw_object.h.