29 #include "../geometry/Geom.h"
31 #include "../python/Director.h"
33 #include "../scene_graph/FrsMaterial.h"
35 #include "../system/Exception.h"
36 #include "../system/Precision.h"
38 #ifdef WITH_CXX_GUARDEDALLOC
94 return "UnaryFunction0D";
108 #ifdef WITH_CXX_GUARDEDALLOC
109 MEM_CXX_CLASS_ALLOC_FUNCS(
"Freestyle:UnaryFunction0D")
114 %feature(
"director") UnaryFunction0D<
void>;
115 %feature("director") UnaryFunction0D<
unsigned>;
116 %feature("director") UnaryFunction0D<
float>;
117 %feature("director") UnaryFunction0D<
double>;
118 %feature("director") UnaryFunction0D<
Vec2f>;
119 %feature("director") UnaryFunction0D<
Vec3f>;
120 %feature("director") UnaryFunction0D<Id>;
122 %template(UnaryFunction0DVoid) UnaryFunction0D<
void>;
123 %template(UnaryFunction0DUnsigned) UnaryFunction0D<
unsigned>;
124 %template(UnaryFunction0DFloat) UnaryFunction0D<
float>;
125 %template(UnaryFunction0DDouble) UnaryFunction0D<
double>;
126 %template(UnaryFunction0DVec2f) UnaryFunction0D<
Vec2f>;
127 %template(UnaryFunction0DVec3f) UnaryFunction0D<
Vec3f>;
128 %template(UnaryFunction0DId) UnaryFunction0D<Id>;
129 %template(UnaryFunction0DViewShape) UnaryFunction0D<ViewShape*>;
130 %template(UnaryFunction0DVectorViewShape) UnaryFunction0D<
std::
vector<ViewShape*> >;
139 namespace Functions0D {
202 return "GetProjectedXF0D";
220 return "GetProjectedYF0D";
238 return "GetProjectedZF0D";
256 return "GetCurvilinearAbscissaF0D";
274 return "GetParameterF0D";
295 return "VertexOrientation2DF0D";
312 return "VertexOrientation3DF0D";
329 return "Curvature2DAngleF0D";
347 return "ZDiscontinuityF0D";
364 return "Normal2DF0D";
385 return "MaterialF0D";
425 return "QuantitativeInvisibilityF0D";
439 return "CurveNatureF0D";
453 return "GetShapeF0D";
467 return "GetOccludersF0D";
481 return "GetOccludeeF0D";
int Director_BPy_UnaryFunction0D___call__(void *uf0D, void *py_uf0D, Interface0DIterator &if0D_it)
Read Guarded memory(de)allocation.
int operator()(Interface0DIterator &iter)
int operator()(Interface0DIterator &iter)
int operator()(Interface0DIterator &iter)
int operator()(Interface0DIterator &iter)
int operator()(Interface0DIterator &iter)
int operator()(Interface0DIterator &iter)
int operator()(Interface0DIterator &iter)
int operator()(Interface0DIterator &iter)
virtual real getProjectedX() const
virtual real getZ() const
virtual real getY() const
virtual real getProjectedZ() const
virtual real getX() const
virtual real getProjectedY() const
virtual ~UnaryFunction0D()
virtual string getName() const
virtual int operator()(Interface0DIterator &iter)
ViewShape * getShapeF0D(Interface0DIterator &it)
void getOccludersF0D(Interface0DIterator &it, std::set< ViewShape * > &oOccluders)
ViewShape * getOccludeeF0D(Interface0DIterator &it)
void getFEdges(Interface0DIterator &it, FEdge *&fe1, FEdge *&fe2)
FEdge * getFEdge(Interface0D &it1, Interface0D &it2)
void getViewEdges(Interface0DIterator &it, ViewEdge *&ve1, ViewEdge *&ve2)
VecMat::Vec2< float > Vec2f
std::vector< ElementType, Eigen::aligned_allocator< ElementType > > vector