|
| PlotCanvas () |
|
| ~PlotCanvas () |
|
void | setWidth (unsigned int width) |
|
void | setHeight (unsigned int height) |
|
void | setPadding (double paddingLeft, double paddingRight, double paddingBottom, double paddingTop) |
|
void | setBoundsX (double minX, double maxX) |
|
void | setBoundsY (double minY, double maxY) |
|
void | setBounds (double minX, double maxX, double minY, double maxY) |
|
double | getMinX () const |
|
double | getMaxX () const |
|
double | getMinY () const |
|
double | getMaxY () const |
|
void | setLabelX (const std::string &labelX) |
|
void | setLabelY (const std::string &labelY) |
|
void | setShowColorBox (bool showColorBox) |
|
bool | getShowColorBox () const |
|
void | setBoundsColor (double minColor, double maxColor) |
|
void | setCanvas (cv::Mat &canvas) |
|
const cv::Mat & | getCanvas () const |
|
void | clear () |
|
void | setPixel (unsigned int x, unsigned int y, unsigned char red, unsigned char green, unsigned char blue) |
|
void | drawLine (double x0, double y0, double x1, double y1, const std::vector< unsigned char > &color, unsigned int width) |
|
void | drawCircle (double x, double y, unsigned int size, const std::vector< unsigned char > &color) |
|
void | save (std::string filename) const |
|
cv::Point | getCVPoint (double x, double y) const |
|
void | drawAxes () |
|
◆ PlotCanvas()
TBTK::Plot::PlotCanvas::PlotCanvas |
( |
| ) |
|
◆ ~PlotCanvas()
TBTK::Plot::PlotCanvas::~PlotCanvas |
( |
| ) |
|
◆ clear()
void TBTK::Plot::PlotCanvas::clear |
( |
| ) |
|
|
inline |
◆ drawAxes()
void TBTK::Plot::PlotCanvas::drawAxes |
( |
| ) |
|
◆ drawCircle()
void TBTK::Plot::PlotCanvas::drawCircle |
( |
double |
x, |
|
|
double |
y, |
|
|
unsigned int |
size, |
|
|
const std::vector< unsigned char > & |
color |
|
) |
| |
|
inline |
◆ drawLine()
void TBTK::Plot::PlotCanvas::drawLine |
( |
double |
x0, |
|
|
double |
y0, |
|
|
double |
x1, |
|
|
double |
y1, |
|
|
const std::vector< unsigned char > & |
color, |
|
|
unsigned int |
width |
|
) |
| |
|
inline |
◆ getCanvas()
const cv::Mat & TBTK::Plot::PlotCanvas::getCanvas |
( |
| ) |
const |
|
inline |
◆ getCVPoint()
cv::Point TBTK::Plot::PlotCanvas::getCVPoint |
( |
double |
x, |
|
|
double |
y |
|
) |
| const |
|
inline |
Converts a coordinate to a cvPoint that can be used as canvas /coordinate.
◆ getMaxX()
double TBTK::Plot::PlotCanvas::getMaxX |
( |
| ) |
const |
|
inline |
◆ getMaxY()
double TBTK::Plot::PlotCanvas::getMaxY |
( |
| ) |
const |
|
inline |
◆ getMinX()
double TBTK::Plot::PlotCanvas::getMinX |
( |
| ) |
const |
|
inline |
◆ getMinY()
double TBTK::Plot::PlotCanvas::getMinY |
( |
| ) |
const |
|
inline |
◆ getShowColorBox()
bool TBTK::Plot::PlotCanvas::getShowColorBox |
( |
| ) |
const |
|
inline |
◆ save()
void TBTK::Plot::PlotCanvas::save |
( |
std::string |
filename | ) |
const |
|
inline |
◆ setBounds()
void TBTK::Plot::PlotCanvas::setBounds |
( |
double |
minX, |
|
|
double |
maxX, |
|
|
double |
minY, |
|
|
double |
maxY |
|
) |
| |
|
inline |
◆ setBoundsColor()
void TBTK::Plot::PlotCanvas::setBoundsColor |
( |
double |
minColor, |
|
|
double |
maxColor |
|
) |
| |
|
inline |
◆ setBoundsX()
void TBTK::Plot::PlotCanvas::setBoundsX |
( |
double |
minX, |
|
|
double |
maxX |
|
) |
| |
|
inline |
◆ setBoundsY()
void TBTK::Plot::PlotCanvas::setBoundsY |
( |
double |
minY, |
|
|
double |
maxY |
|
) |
| |
|
inline |
◆ setCanvas()
void TBTK::Plot::PlotCanvas::setCanvas |
( |
cv::Mat & |
canvas | ) |
|
|
inline |
◆ setHeight()
void TBTK::Plot::PlotCanvas::setHeight |
( |
unsigned int |
height | ) |
|
|
inline |
◆ setLabelX()
void TBTK::Plot::PlotCanvas::setLabelX |
( |
const std::string & |
labelX | ) |
|
|
inline |
◆ setLabelY()
void TBTK::Plot::PlotCanvas::setLabelY |
( |
const std::string & |
labelY | ) |
|
|
inline |
◆ setPadding()
void TBTK::Plot::PlotCanvas::setPadding |
( |
double |
paddingLeft, |
|
|
double |
paddingRight, |
|
|
double |
paddingBottom, |
|
|
double |
paddingTop |
|
) |
| |
|
inline |
◆ setPixel()
void TBTK::Plot::PlotCanvas::setPixel |
( |
unsigned int |
x, |
|
|
unsigned int |
y, |
|
|
unsigned char |
red, |
|
|
unsigned char |
green, |
|
|
unsigned char |
blue |
|
) |
| |
|
inline |
◆ setShowColorBox()
void TBTK::Plot::PlotCanvas::setShowColorBox |
( |
bool |
showColorBox | ) |
|
|
inline |
◆ setWidth()
void TBTK::Plot::PlotCanvas::setWidth |
( |
unsigned int |
width | ) |
|
|
inline |
The documentation for this class was generated from the following file:
- /home/kristofer.bjornson/SecondQuantizationCom/TBTK/Lib/include/Plotter/TBTK/Plot/PlotCanvas.h