26#ifdef WITH_CXX_GUARDEDALLOC
136 float sampling = 0.0f);
199 float sampling = 0.0f);
224 return dynamic_cast<ViewEdge *
>(_current_view_edges_set[i]);
229 return dynamic_cast<Chain *
>(_current_chains_set[i]);
234 return _current_strokes_set[i];
239 return _current_view_edges_set.size();
244 return _current_chains_set.size();
249 return _current_strokes_set.size();
259 return &_current_strokes_set;
262 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 view-edges.
Interface 1D and related tools definitions.
Read Guarded memory(de)allocation.
Class gathering stroke creation algorithms.
Class gathering stroke creation algorithms.
Class defining StrokeShader.
Class defining a singleton used as timestamp.
Classes to define a View Map (ViewVertex, ViewEdge, etc.)
void reset()
clear internal cached data and reset random seed
static int sort(BinaryPredicate1D &pred)
static ViewEdge * getViewEdgeFromIndex(uint i)
static int select(UnaryPredicate1D &pred)
static int chain(ViewEdgeInternal::ViewEdgeIterator &it, UnaryPredicate1D &pred, UnaryFunction1D_void &modifier)
static uint getChainsSize()
static uint getViewEdgesSize()
static uint getStrokesSize()
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 int bidirectionalChain(ChainingIterator &it, UnaryPredicate1D &pred)
static Stroke * getStrokeFromIndex(uint i)
static int create(UnaryPredicate1D &pred, vector< StrokeShader * > shaders)
static Chain * getChainFromIndex(uint i)
static StrokesContainer * getStrokesSet()
vector< Stroke * > StrokesContainer