18 #ifndef PRTX_SHAPEITERATOR_H_ 19 #define PRTX_SHAPEITERATOR_H_ 21 #include "prtx/prtx.h" 22 #include "prtx/Shape.h" 23 #include "prtx/GenerateContext.h" 52 typedef std::shared_ptr<DepthFirstIterator> DepthFirstIteratorPtr;
64 static DepthFirstIteratorPtr create(
GenerateContext& context,
size_t initialShapeIndex);
75 typedef std::shared_ptr<BreadthFirstIterator> BreadthFirstIteratorPtr;
87 static BreadthFirstIteratorPtr create(
GenerateContext& context,
size_t initialShapeIndex);
98 typedef std::shared_ptr<LeafIterator> LeafIteratorPtr;
110 static LeafIteratorPtr create(
GenerateContext& context,
size_t initialShapeIndex);
121 typedef std::shared_ptr<InitialShapeIterator> InitialShapeIteratorPtr;
135 static InitialShapeIteratorPtr create(
GenerateContext& context,
size_t initialShapeIndex);
146 typedef std::shared_ptr<SelectedShapesIterator> SelectedShapesIteratorPtr;
162 static SelectedShapesIteratorPtr create(
GenerateContext& context,
size_t initialShapeIndex,
const std::vector<int32_t>& selectedShapes);
173 typedef std::shared_ptr<CGAPrintIterator> CGAPrintIteratorPtr;
185 static CGAPrintIteratorPtr create(
GenerateContext& context,
size_t initialShapeIndex);
196 typedef std::shared_ptr<CGAErrorIterator> CGAErrorIteratorPtr;
208 static CGAErrorIteratorPtr create(
GenerateContext& context,
size_t initialShapeIndex);
214 virtual void getAssetsErrors(prtx::AssetErrorPtrVector& errors) = 0;
225 typedef std::shared_ptr<CGAReportIterator> CGAReportIteratorPtr;
237 static CGAReportIteratorPtr create(
GenerateContext& context,
size_t initialShapeIndex);
Definition: ShapeIterator.h:103
Definition: ShapeIterator.h:154
Definition: GenerateContext.h:42
Definition: ShapeIterator.h:38
Definition: ShapeIterator.h:230
Definition: ShapeIterator.h:178
The Procedural Runtime eXtension namespace. The prtx namespace contains the tools to extend the Proce...
Definition: AnnotationBuilder.h:35
Definition: ShapeIterator.h:128
std::shared_ptr< Shape > ShapePtr
shared pointer to a Shape
Definition: Shape.h:41
Definition: ShapeIterator.h:201
Definition: ShapeIterator.h:80
Definition: ShapeIterator.h:57