21#ifdef WITH_CXX_GUARDEDALLOC
49 void setPassZ(
float *buf,
int width,
int height);
85 vector<ViewEdge *>::iterator vedges_end);
96 NodeGroup *debugScene()
128 _creaseAngle =
angle;
140 return _sphereRadius;
144 _suggestiveContourKrDerivativeEpsilon = dkr;
148 return _suggestiveContourKrDerivativeEpsilon;
172 vector<string> _ListOfModels;
183 Viewer2DWindow *_pView2DWindow;
198 std::vector<SShape *> _SShapes;
220 int _edgeTesselationNature;
247 bool _EnableViewMapCache;
249 bool _EnableFaceSmoothness;
251 bool _ComputeSuggestive;
252 bool _ComputeMaterialBoundaries;
255 float _suggestiveContourKrDerivativeEpsilon;
257 bool _ComputeSteerableViewMap;
264#ifdef WITH_CXX_GUARDEDALLOC
265 MEM_CXX_CLASS_ALLOC_FUNCS(
"Freestyle:Controller")
Detects/flags/builds extended features edges on the WXEdge structure.
Class to define a cell grid surrounding the bounding box of the scene.
static double angle(const Eigen::Vector3d &v1, const Eigen::Vector3d &v2)
Read Guarded memory(de)allocation.
Define the float precision used in the program.
Class to measure elapsed time.
Class to build silhouette edges from a Winged-Edge structure.
Render * RenderStrokes(Render *re, bool render)
string getModelsDir() const
void setComputeSuggestiveContoursFlag(bool b)
void setPassZ(float *buf, int width, int height)
bool getFaceSmoothness() const
bool getComputeMaterialBoundariesFlag() const
bool getComputeSteerableViewMapFlag() const
void setSphereRadius(float s)
FEdge * SelectFEdge(real x, real y)
void setComputeMaterialBoundariesFlag(bool b)
void setVisibilityAlgo(int algo)
void AddStyleModule(const char *iFileName)
void setComputeRidgesAndValleysFlag(bool b)
void ReloadStyleModule(uint index, const char *iFileName)
void setFaceSmoothness(bool iBool)
void setPassDiffuse(float *buf, int width, int height)
void setModified(uint index, bool iMod)
void saveSteerableViewMapImages()
int Load3DSFile(const char *iFileName)
void toggleEdgeTesselationNature(Nature::EdgeNature iNature)
void toggleVisibilityAlgo()
void updateCausalStyleModules(uint index)
float getSphereRadius() const
bool getQuantitativeInvisibility() const
void setModulesDir(const string &dir)
void DeleteViewMap(bool freeCache=false)
int LoadMesh(Render *re, ViewLayer *view_layer, Depsgraph *depsgraph)
bool getComputeSuggestiveContoursFlag() const
string getModulesDir() const
NodeGroup * BuildRep(vector< ViewEdge * >::iterator vedges_begin, vector< ViewEdge * >::iterator vedges_end)
void setViewMapCache(bool iBool)
void setQuantitativeInvisibility(bool iBool)
void toggleLayer(uint index, bool iDisplay)
void setContext(bContext *C)
void RemoveStyleModule(uint index)
void setSuggestiveContourKrDerivativeEpsilon(float dkr)
ViewEdge * SelectViewEdge(real x, real y)
void setComputeSteerableViewMapFlag(bool iBool)
void setCreaseAngle(float angle)
float getCreaseAngle() const
void SwapStyleModules(uint i1, uint i2)
bool getComputeRidgesAndValleysFlag() const
float getSuggestiveContourKrDerivativeEpsilon() const
void setView(AppView *iView)
void resetModified(bool iMod=false)
void setRenderMonitor(RenderMonitor *iRenderMonitor)
bool getViewMapCache() const
void displayDensityCurves(int x, int y)
void InsertStyleModule(uint index, const char *iFileName)
void setModelsDir(const string &dir)
void ComputeSteerableViewMap()
local_group_size(16, 16) .push_constant(Type b
const Depsgraph * depsgraph
Controller * g_pController