ReadFramework
|
#include <Shapes.h>
Public Member Functions | |
Triangle () | |
Triangle (const cv::Vec6f &vec) | |
bool | isNull () const |
void | setVec (const cv::Vec6f &vec) |
Vector2D | p0 () const |
Vector2D | p1 () const |
Vector2D | p2 () const |
Vector2D | pointAt (int idx=0) const |
void | draw (QPainter &p) const |
Protected Attributes | |
bool | mIsNull = true |
QVector< Vector2D > | mPts |
rdf::Triangle::Triangle | ( | ) |
rdf::Triangle::Triangle | ( | const cv::Vec6f & | vec | ) |
void rdf::Triangle::draw | ( | QPainter & | p | ) | const |
bool rdf::Triangle::isNull | ( | ) | const |
Vector2D rdf::Triangle::p0 | ( | ) | const |
Vector2D rdf::Triangle::p1 | ( | ) | const |
Vector2D rdf::Triangle::p2 | ( | ) | const |
Vector2D rdf::Triangle::pointAt | ( | int | idx = 0 | ) | const |
void rdf::Triangle::setVec | ( | const cv::Vec6f & | vec | ) |
|
protected |
|
protected |