#include <VSDXGeometryList.h>
Public Member Functions | |
VSDXGeometryList () | |
VSDXGeometryList (const VSDXGeometryList &geomList) | |
~VSDXGeometryList () | |
VSDXGeometryList & | operator= (const VSDXGeometryList &geomList) |
void | addGeometry (unsigned id, unsigned level, unsigned char geomFlags) |
void | addMoveTo (unsigned id, unsigned level, double x, double y) |
void | addLineTo (unsigned id, unsigned level, double x, double y) |
void | addArcTo (unsigned id, unsigned level, double x2, double y2, double bow) |
void | addNURBSTo (unsigned id, unsigned level, double x2, double y2, unsigned char xType, unsigned char yType, unsigned degree, std::vector< std::pair< double, double > > controlPoints, std::vector< double > knotVector, std::vector< double > weights) |
void | addNURBSTo (unsigned id, unsigned level, double x2, double y2, double knot, double knotPrev, double weight, double weightPrev, unsigned dataID) |
void | addPolylineTo (unsigned id, unsigned level, double x, double y, unsigned char xType, unsigned char yType, std::vector< std::pair< double, double > > points) |
void | addPolylineTo (unsigned id, unsigned level, double x, double y, unsigned dataID) |
void | addEllipse (unsigned id, unsigned level, double cx, double cy, double xleft, double yleft, double xtop, double ytop) |
void | addEllipticalArcTo (unsigned id, unsigned level, double x3, double y3, double x2, double y2, double angle, double ecc) |
void | addSplineStart (unsigned id, unsigned level, double x, double y, double secondKnot, double firstKnot, double lastKnot, unsigned degree) |
void | addSplineKnot (unsigned id, unsigned level, double x, double y, double knot) |
void | addInfiniteLine (unsigned id, unsigned level, double x1, double y1, double x2, double y2) |
void | setElementsOrder (const std::vector< unsigned > &m_elementsOrder) |
void | handle (VSDXCollector *collector) const |
void | clear () |
bool | empty () const |
VSDXGeometryListElement * | getElement (unsigned index) const |
std::vector< unsigned > | getElementsOrder () const |
unsigned | count () const |
Private Attributes | |
std::map< unsigned, VSDXGeometryListElement * > | m_elements |
std::vector< unsigned > | m_elementsOrder |
libvisio::VSDXGeometryList::VSDXGeometryList | ( | ) |
libvisio::VSDXGeometryList::VSDXGeometryList | ( | const VSDXGeometryList & | geomList | ) |
libvisio::VSDXGeometryList::~VSDXGeometryList | ( | ) |
void libvisio::VSDXGeometryList::addArcTo | ( | unsigned | id, |
unsigned | level, | ||
double | x2, | ||
double | y2, | ||
double | bow | ||
) |
void libvisio::VSDXGeometryList::addEllipse | ( | unsigned | id, |
unsigned | level, | ||
double | cx, | ||
double | cy, | ||
double | xleft, | ||
double | yleft, | ||
double | xtop, | ||
double | ytop | ||
) |
void libvisio::VSDXGeometryList::addEllipticalArcTo | ( | unsigned | id, |
unsigned | level, | ||
double | x3, | ||
double | y3, | ||
double | x2, | ||
double | y2, | ||
double | angle, | ||
double | ecc | ||
) |
void libvisio::VSDXGeometryList::addGeometry | ( | unsigned | id, |
unsigned | level, | ||
unsigned char | geomFlags | ||
) |
void libvisio::VSDXGeometryList::addInfiniteLine | ( | unsigned | id, |
unsigned | level, | ||
double | x1, | ||
double | y1, | ||
double | x2, | ||
double | y2 | ||
) |
void libvisio::VSDXGeometryList::addLineTo | ( | unsigned | id, |
unsigned | level, | ||
double | x, | ||
double | y | ||
) |
void libvisio::VSDXGeometryList::addMoveTo | ( | unsigned | id, |
unsigned | level, | ||
double | x, | ||
double | y | ||
) |
void libvisio::VSDXGeometryList::addNURBSTo | ( | unsigned | id, |
unsigned | level, | ||
double | x2, | ||
double | y2, | ||
unsigned char | xType, | ||
unsigned char | yType, | ||
unsigned | degree, | ||
std::vector< std::pair< double, double > > | controlPoints, | ||
std::vector< double > | knotVector, | ||
std::vector< double > | weights | ||
) |
void libvisio::VSDXGeometryList::addNURBSTo | ( | unsigned | id, |
unsigned | level, | ||
double | x2, | ||
double | y2, | ||
double | knot, | ||
double | knotPrev, | ||
double | weight, | ||
double | weightPrev, | ||
unsigned | dataID | ||
) |
void libvisio::VSDXGeometryList::addPolylineTo | ( | unsigned | id, |
unsigned | level, | ||
double | x, | ||
double | y, | ||
unsigned char | xType, | ||
unsigned char | yType, | ||
std::vector< std::pair< double, double > > | points | ||
) |
void libvisio::VSDXGeometryList::addPolylineTo | ( | unsigned | id, |
unsigned | level, | ||
double | x, | ||
double | y, | ||
unsigned | dataID | ||
) |
void libvisio::VSDXGeometryList::addSplineKnot | ( | unsigned | id, |
unsigned | level, | ||
double | x, | ||
double | y, | ||
double | knot | ||
) |
void libvisio::VSDXGeometryList::addSplineStart | ( | unsigned | id, |
unsigned | level, | ||
double | x, | ||
double | y, | ||
double | secondKnot, | ||
double | firstKnot, | ||
double | lastKnot, | ||
unsigned | degree | ||
) |
void libvisio::VSDXGeometryList::clear | ( | ) |
unsigned libvisio::VSDXGeometryList::count | ( | ) | const [inline] |
bool libvisio::VSDXGeometryList::empty | ( | ) | const [inline] |
libvisio::VSDXGeometryListElement * libvisio::VSDXGeometryList::getElement | ( | unsigned | index | ) | const |
std::vector<unsigned> libvisio::VSDXGeometryList::getElementsOrder | ( | ) | const [inline] |
void libvisio::VSDXGeometryList::handle | ( | VSDXCollector * | collector | ) | const |
libvisio::VSDXGeometryList & libvisio::VSDXGeometryList::operator= | ( | const VSDXGeometryList & | geomList | ) |
void libvisio::VSDXGeometryList::setElementsOrder | ( | const std::vector< unsigned > & | m_elementsOrder | ) |
std::map<unsigned, VSDXGeometryListElement *> libvisio::VSDXGeometryList::m_elements [private] |
Referenced by count(), empty(), operator=(), and VSDXGeometryList().
std::vector<unsigned> libvisio::VSDXGeometryList::m_elementsOrder [private] |
Referenced by getElementsOrder(), and operator=().