libvisio::VSDXGeometryList Class Reference

#include <VSDXGeometryList.h>

List of all members.

Public Member Functions

 VSDXGeometryList ()
 VSDXGeometryList (const VSDXGeometryList &geomList)
 ~VSDXGeometryList ()
VSDXGeometryListoperator= (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
VSDXGeometryListElementgetElement (unsigned index) const
std::vector< unsigned > getElementsOrder () const
unsigned count () const

Private Attributes

std::map< unsigned,
VSDXGeometryListElement * > 
m_elements
std::vector< unsigned > m_elementsOrder

Constructor & Destructor Documentation


Member Function Documentation

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 
)
unsigned libvisio::VSDXGeometryList::count ( ) const [inline]
bool libvisio::VSDXGeometryList::empty ( ) const [inline]
std::vector<unsigned> libvisio::VSDXGeometryList::getElementsOrder ( ) const [inline]
libvisio::VSDXGeometryList & libvisio::VSDXGeometryList::operator= ( const VSDXGeometryList geomList)
void libvisio::VSDXGeometryList::setElementsOrder ( const std::vector< unsigned > &  m_elementsOrder)

Member Data Documentation

std::vector<unsigned> libvisio::VSDXGeometryList::m_elementsOrder [private]

Referenced by getElementsOrder(), and operator=().


The documentation for this class was generated from the following files: