1 #ifndef __SHAPEGROUPELEMENT_H__
2 #define __SHAPEGROUPELEMENT_H__
3 #include <boost/optional.hpp>
4 #include <boost/function.hpp>
27 void visit(boost::function<
28 boost::function<
void(
void)>
31 void visit(boost::function<
32 boost::function<
void(
void)>
void setShapeInfo(const ShapeInfo &shapeInfo)
Definition: ShapeGroupElement.cpp:55
VectorTransformation2D m_transform
Definition: ShapeGroupElement.h:20
void setTransform(const VectorTransformation2D &transform)
Definition: ShapeGroupElement.cpp:60
boost::optional< ShapeInfo > m_shapeInfo
Definition: ShapeGroupElement.h:14
ShapeGroupElement & operator=(const ShapeGroupElement &)
Definition: Coordinate.h:34
~ShapeGroupElement()
Definition: ShapeGroupElement.cpp:39
std::vector< ShapeGroupElement * > m_children
Definition: ShapeGroupElement.h:16
bool isGroup() const
Definition: ShapeGroupElement.cpp:107
void setup(boost::function< void(ShapeGroupElement &self)> visitor)
Definition: ShapeGroupElement.cpp:65
ShapeGroupElement(const ShapeGroupElement &)
unsigned getSeqNum() const
Definition: ShapeGroupElement.cpp:127
unsigned m_seqNum
Definition: ShapeGroupElement.h:17
ShapeGroupElement * m_parent
Definition: ShapeGroupElement.h:15
ShapeGroupElement * getParent()
Definition: ShapeGroupElement.cpp:112
Definition: ShapeGroupElement.h:12
Definition: ShapeInfo.h:52
void setSeqNum(unsigned seqNum)
Definition: ShapeGroupElement.cpp:122
void visit(boost::function< boost::function< void(void)>(const ShapeInfo &info, const Coordinate &relativeTo, const VectorTransformation2D &foldedTransform, bool isGroup, const VectorTransformation2D &thisTransform)> visitor, const Coordinate &relativeTo, const VectorTransformation2D &foldedTransform) const