17# if defined(__GNUC__) && (__GNUC__ >= 3)
32#ifdef WITH_CXX_GUARDEDALLOC
46#define _MUL 950706376UL
47#define _MOD 2147483647UL
63 return (
norm < 1.0e-06);
93 order = iBrother.
order;
99 return ((
fl ==
b.fl) && (order ==
b.order));
104 return !(*
this ==
b);
107#ifdef WITH_CXX_GUARDEDALLOC
108 MEM_CXX_CLASS_ALLOC_FUNCS(
"Freestyle:OWXFaceLayer")
135 order = iBrother.
order;
141 return ((
e ==
b.e) && (order ==
b.order));
146 return !(*
this ==
b);
149#ifdef WITH_CXX_GUARDEDALLOC
150 MEM_CXX_CLASS_ALLOC_FUNCS(
"Freestyle:OWXEdge")
196 std::vector<ViewEdge *> &ioVEdges,
197 std::vector<ViewVertex *> &ioVVertices,
198 std::vector<FEdge *> &ioFEdges,
199 std::vector<SVertex *> &ioSVertices);
274#ifdef WITH_CXX_GUARDEDALLOC
275 MEM_CXX_CLASS_ALLOC_FUNCS(
"Freestyle:ViewEdgeXBuilder")
Configuration definitions.
Vectors and Matrices (useful type definitions)
Interface 1D and related tools definitions.
Read Guarded memory(de)allocation.
ATTR_WARN_UNUSED_RESULT const BMVert * v2
SIMD_FORCE_INLINE btScalar norm() const
Return the norm (length) of the vector.
OWXEdge & operator=(const OWXEdge &iBrother)
bool operator!=(const OWXEdge &b)
OWXEdge(WXEdge *ie, bool iOrder=true)
bool operator==(const OWXEdge &b)
OWXFaceLayer(WXFaceLayer *ifl, bool iOrder=true)
OWXFaceLayer & operator=(const OWXFaceLayer &iBrother)
bool operator==(const OWXFaceLayer &b)
bool operator!=(const OWXFaceLayer &b)
virtual void BuildViewEdges(WXShape *iWShape, ViewShape *oVShape, std::vector< ViewEdge * > &ioVEdges, std::vector< ViewVertex * > &ioVVertices, std::vector< FEdge * > &ioFEdges, std::vector< SVertex * > &ioSVertices)
int retrieveFaceMarks(WXEdge *iEdge)
SVertex * MakeSVertex(Vec3r &iPoint)
int currentSVertexId() const
void setCurrentViewId(int id)
void setCurrentFId(int id)
OWXEdge FindNextWEdge(const OWXEdge &iEdge)
bool stopSharpViewEdge(WXEdge *iEdge)
ViewEdge * BuildSharpViewEdge(const OWXEdge &iWEdge)
virtual ~ViewEdgeXBuilder()
int currentViewId() const
OWXEdge FindPreviousWEdge(const OWXEdge &iEdge)
void setCurrentSVertexId(int id)
FEdge * BuildSharpFEdge(FEdge *feprevious, const OWXEdge &iwe)
ViewEdge * BuildSmoothViewEdge(const OWXFaceLayer &iFaceLayer)
FEdge * BuildSmoothFEdge(FEdge *feprevious, const OWXFaceLayer &ifl)
ViewShape * _pCurrentVShape
OWXFaceLayer FindNextFaceLayer(const OWXFaceLayer &iFaceLayer)
ViewVertex * MakeViewVertex(SVertex *iSVertex)
OWXFaceLayer FindPreviousFaceLayer(const OWXFaceLayer &iFaceLayer)
virtual void Init(ViewShape *oVShape)
bool stopSmoothViewEdge(WXFaceLayer *iFaceLayer)
local_group_size(16, 16) .push_constant(Type b
map< Vec3r, SVertex * > SVertexMap
size_t operator()(const Vec3r &p) const
bool operator()(const Vec3r &v1, const Vec3r &v2) const