10 #ifndef __SHAPEGROUPELEMENT_H__
11 #define __SHAPEGROUPELEMENT_H__
12 #include <boost/optional.hpp>
13 #include <boost/function.hpp>
36 void visit(boost::function<
37 boost::function<
void(
void)>
40 void visit(boost::function<
41 boost::function<
void(
void)>
void setShapeInfo(const ShapeInfo &shapeInfo)
Definition: ShapeGroupElement.cpp:39
VectorTransformation2D m_transform
Definition: ShapeGroupElement.h:29
void setTransform(const VectorTransformation2D &transform)
Definition: ShapeGroupElement.cpp:44
boost::optional< ShapeInfo > m_shapeInfo
Definition: ShapeGroupElement.h:23
ShapeGroupElement & operator=(const ShapeGroupElement &)
Definition: Coordinate.h:15
~ShapeGroupElement()
Definition: ShapeGroupElement.cpp:23
std::vector< ShapeGroupElement * > m_children
Definition: ShapeGroupElement.h:25
ShapeGroupElement * getParent()
Definition: ShapeGroupElement.cpp:96
bool isGroup() const
Definition: ShapeGroupElement.cpp:91
void setup(boost::function< void(ShapeGroupElement &self)> visitor)
Definition: ShapeGroupElement.cpp:49
ShapeGroupElement(const ShapeGroupElement &)
unsigned getSeqNum() const
Definition: ShapeGroupElement.cpp:111
unsigned m_seqNum
Definition: ShapeGroupElement.h:26
ShapeGroupElement * m_parent
Definition: ShapeGroupElement.h:24
Definition: ShapeGroupElement.h:21
Definition: ShapeInfo.h:34
void setSeqNum(unsigned seqNum)
Definition: ShapeGroupElement.cpp:106
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