homog2d library
|
Draw parameters, independent of back-end library. More...
#include <homog2d.hpp>
Public Member Functions | |
Color | color () const |
cv::Scalar | cvColor () const |
DrawParams () | |
DrawParams & | selectPoint () |
DrawParams & | setAttrString (std::string attr) |
Add some specific SVG attributes (ignored for Opencv renderings) More... | |
DrawParams & | setColor (uint8_t r, uint8_t g, uint8_t b) |
DrawParams & | setColor (Color col) |
void | setDefault () |
DrawParams & | setFontSize (int value) |
Set font size for drawText() More... | |
DrawParams & | setPointSize (uint8_t ps) |
DrawParams & | setPointStyle (PtStyle ps) |
DrawParams & | setThickness (uint8_t t) |
DrawParams & | showAngles (bool b=true) |
Set or unset the drawing of angles of polylines. More... | |
DrawParams & | showIndex (bool b=true) |
Set or unset the drawing of points (useful only for Segment_ and Polyline_) More... | |
DrawParams & | showPoints (bool b=true) |
Set or unset the drawing of points (useful only for Segment_ and Polyline_) More... | |
Static Public Member Functions | |
static void | resetDefault () |
Public Attributes | |
Dp_values | _dpValues |
Friends | |
template<typename T , typename U > | |
class | h2d::base::LPBase |
template<typename T , typename U > | |
class | h2d::base::PolylineBase |
template<typename T , typename U > | |
class | h2d::base::SegVec |
template<typename T > | |
class | h2d::Circle_ |
template<typename T > | |
class | h2d::Ellipse_ |
template<typename T > | |
class | h2d::FRect_ |
std::ostream & | operator<< (std::ostream &f, const DrawParams &dp) |
Draw parameters, independent of back-end library.
|
inline |
|
inline |
|
inline |
|
inlinestatic |
|
inline |
|
inline |
Add some specific SVG attributes (ignored for Opencv renderings)
|
inline |
|
inline |
|
inline |
|
inline |
Set font size for drawText()
|
inline |
|
inline |
|
inline |
|
inline |
Set or unset the drawing of angles of polylines.
|
inline |
Set or unset the drawing of points (useful only for Segment_ and Polyline_)
|
inline |
Set or unset the drawing of points (useful only for Segment_ and Polyline_)
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
Dp_values h2d::img::DrawParams::_dpValues |