19 #include "../system/TimeStamp.h"
21 #include "../view_map/Interface1D.h"
22 #include "../view_map/ViewMap.h"
24 #ifdef WITH_CXX_GUARDEDALLOC
134 float sampling = 0.0f);
197 float sampling = 0.0f);
222 return dynamic_cast<ViewEdge *
>(_current_view_edges_set[i]);
227 return dynamic_cast<Chain *
>(_current_chains_set[i]);
232 return _current_strokes_set[i];
237 return _current_view_edges_set.size();
242 return _current_chains_set.size();
247 return _current_strokes_set.size();
257 return &_current_strokes_set;
260 static void reset(
bool removeStrokes =
true);
272 #ifdef WITH_CXX_GUARDEDALLOC
273 MEM_CXX_CLASS_ALLOC_FUNCS(
"Freestyle:Operators")
Class to define a chain of viewedges.
Read Guarded memory(de)allocation.
Class gathering stroke creation algorithms.
Class gathering stroke creation algorithms.
Class defining StrokeShader.
static int sort(BinaryPredicate1D &pred)
static int select(UnaryPredicate1D &pred)
static int chain(ViewEdgeInternal::ViewEdgeIterator &it, UnaryPredicate1D &pred, UnaryFunction1D_void &modifier)
static void reset(bool removeStrokes=true)
static ViewEdge * getViewEdgeFromIndex(unsigned i)
static StrokesContainer * getStrokesSet()
vector< Interface1D * > I1DContainer
static int sequentialSplit(UnaryPredicate0D &startingPred, UnaryPredicate0D &stoppingPred, float sampling=0.0f)
static int recursiveSplit(UnaryFunction0D< double > &func, UnaryPredicate1D &pred, float sampling=0)
static unsigned getViewEdgesSize()
static int bidirectionalChain(ChainingIterator &it, UnaryPredicate1D &pred)
static Stroke * getStrokeFromIndex(unsigned i)
static Chain * getChainFromIndex(unsigned i)
static int create(UnaryPredicate1D &pred, vector< StrokeShader * > shaders)
static unsigned getStrokesSize()
vector< Stroke * > StrokesContainer
static unsigned getChainsSize()