add c++/guardedalloc to more freestyle classes, also remove redundant 'public:'
This commit is contained in:
@@ -234,7 +234,6 @@ protected:
|
||||
NodeDrawingStyle *_p2DSelectionNode;
|
||||
|
||||
#ifdef WITH_CXX_GUARDEDALLOC
|
||||
public:
|
||||
MEM_CXX_CLASS_ALLOC_FUNCS("Freestyle:AppView")
|
||||
#endif
|
||||
};
|
||||
|
||||
@@ -244,7 +244,6 @@ private:
|
||||
FEdgeXDetector edgeDetector;
|
||||
|
||||
#ifdef WITH_CXX_GUARDEDALLOC
|
||||
public:
|
||||
MEM_CXX_CLASS_ALLOC_FUNCS("Freestyle:Controller")
|
||||
#endif
|
||||
};
|
||||
|
||||
@@ -127,7 +127,6 @@ protected:
|
||||
RenderMonitor *_pRenderMonitor;
|
||||
|
||||
#ifdef WITH_CXX_GUARDEDALLOC
|
||||
public:
|
||||
MEM_CXX_CLASS_ALLOC_FUNCS("Freestyle:BlenderFileLoader")
|
||||
#endif
|
||||
};
|
||||
|
||||
@@ -64,6 +64,11 @@ protected:
|
||||
|
||||
float get_stroke_vertex_z(void) const;
|
||||
unsigned int get_stroke_mesh_id(void) const;
|
||||
|
||||
#ifdef WITH_CXX_GUARDEDALLOC
|
||||
MEM_CXX_CLASS_ALLOC_FUNCS("Freestyle:BlenderStrokeRenderer")
|
||||
#endif
|
||||
|
||||
};
|
||||
|
||||
} /* namespace Freestyle */
|
||||
|
||||
@@ -58,6 +58,11 @@ protected:
|
||||
|
||||
private:
|
||||
struct Text *_text;
|
||||
|
||||
#ifdef WITH_CXX_GUARDEDALLOC
|
||||
MEM_CXX_CLASS_ALLOC_FUNCS("Freestyle:BlenderStyleModule")
|
||||
#endif
|
||||
|
||||
};
|
||||
|
||||
} /* namespace Freestyle */
|
||||
|
||||
@@ -43,6 +43,11 @@ protected:
|
||||
|
||||
protected:
|
||||
virtual void loadStandardBrushes();
|
||||
|
||||
#ifdef WITH_CXX_GUARDEDALLOC
|
||||
MEM_CXX_CLASS_ALLOC_FUNCS("Freestyle:BlenderTextureManager")
|
||||
#endif
|
||||
|
||||
};
|
||||
|
||||
} /* namespace Freestyle */
|
||||
|
||||
@@ -136,7 +136,6 @@ private:
|
||||
bool _empty;
|
||||
|
||||
#ifdef WITH_CXX_GUARDEDALLOC
|
||||
public:
|
||||
MEM_CXX_CLASS_ALLOC_FUNCS("Freestyle:BBox")
|
||||
#endif
|
||||
};
|
||||
|
||||
@@ -76,6 +76,11 @@ public:
|
||||
protected:
|
||||
Cell **_cells;
|
||||
unsigned _cells_size;
|
||||
|
||||
#ifdef WITH_CXX_GUARDEDALLOC
|
||||
MEM_CXX_CLASS_ALLOC_FUNCS("Freestyle:FastGrid")
|
||||
#endif
|
||||
|
||||
};
|
||||
|
||||
} /* namespace Freestyle */
|
||||
|
||||
@@ -89,7 +89,6 @@ private:
|
||||
OccludersSet _occluders;
|
||||
|
||||
#ifdef WITH_CXX_GUARDEDALLOC
|
||||
public:
|
||||
MEM_CXX_CLASS_ALLOC_FUNCS("Freestyle:Cell")
|
||||
#endif
|
||||
};
|
||||
@@ -372,7 +371,6 @@ protected:
|
||||
OccludersSet _occluders; // List of all occluders inserted in the grid
|
||||
|
||||
#ifdef WITH_CXX_GUARDEDALLOC
|
||||
public:
|
||||
MEM_CXX_CLASS_ALLOC_FUNCS("Freestyle:Grid")
|
||||
#endif
|
||||
};
|
||||
@@ -395,7 +393,6 @@ private:
|
||||
OccludersSet::iterator it, end;
|
||||
|
||||
#ifdef WITH_CXX_GUARDEDALLOC
|
||||
public:
|
||||
MEM_CXX_CLASS_ALLOC_FUNCS("Freestyle:VirtualOccludersSet")
|
||||
#endif
|
||||
};
|
||||
|
||||
@@ -81,7 +81,6 @@ private:
|
||||
// int start;
|
||||
|
||||
#ifdef WITH_CXX_GUARDEDALLOC
|
||||
public:
|
||||
MEM_CXX_CLASS_ALLOC_FUNCS("Freestyle:Noise")
|
||||
#endif
|
||||
};
|
||||
|
||||
@@ -171,7 +171,6 @@ protected:
|
||||
unsigned _id;
|
||||
|
||||
#ifdef WITH_CXX_GUARDEDALLOC
|
||||
public:
|
||||
MEM_CXX_CLASS_ALLOC_FUNCS("Freestyle:Geometry:Polygon")
|
||||
#endif
|
||||
};
|
||||
|
||||
@@ -190,7 +190,6 @@ private:
|
||||
bool _order; // true if A and B are in the same order than _edge.A and _edge.B. false otherwise.
|
||||
|
||||
#ifdef WITH_CXX_GUARDEDALLOC
|
||||
public:
|
||||
MEM_CXX_CLASS_ALLOC_FUNCS("Freestyle:Segment")
|
||||
#endif
|
||||
};
|
||||
@@ -337,7 +336,6 @@ private:
|
||||
std::vector<Intersection<Segment<T, Point> > *> _Intersections; // the list of all intersections.
|
||||
|
||||
#ifdef WITH_CXX_GUARDEDALLOC
|
||||
public:
|
||||
MEM_CXX_CLASS_ALLOC_FUNCS("Freestyle:SweepLine")
|
||||
#endif
|
||||
};
|
||||
|
||||
@@ -278,7 +278,6 @@ protected:
|
||||
};
|
||||
|
||||
#ifdef WITH_CXX_GUARDEDALLOC
|
||||
public:
|
||||
MEM_CXX_CLASS_ALLOC_FUNCS("Freestyle:VecMat:Vec")
|
||||
#endif
|
||||
};
|
||||
@@ -766,7 +765,6 @@ protected:
|
||||
value_type _coord[_SIZE];
|
||||
|
||||
#ifdef WITH_CXX_GUARDEDALLOC
|
||||
public:
|
||||
MEM_CXX_CLASS_ALLOC_FUNCS("Freestyle:VecMat:Matrix")
|
||||
#endif
|
||||
};
|
||||
|
||||
@@ -129,7 +129,6 @@ private:
|
||||
int i_[3];
|
||||
|
||||
#ifdef WITH_CXX_GUARDEDALLOC
|
||||
public:
|
||||
MEM_CXX_CLASS_ALLOC_FUNCS("Freestyle:OGF:NormalCycle")
|
||||
#endif
|
||||
};
|
||||
|
||||
@@ -115,7 +115,6 @@ protected:
|
||||
void computeMask();
|
||||
|
||||
#ifdef WITH_CXX_GUARDEDALLOC
|
||||
public:
|
||||
MEM_CXX_CLASS_ALLOC_FUNCS("Freestyle:GaussianFilter")
|
||||
#endif
|
||||
};
|
||||
|
||||
@@ -173,7 +173,6 @@ protected:
|
||||
unsigned _Oy; // origin of the stored part
|
||||
|
||||
#ifdef WITH_CXX_GUARDEDALLOC
|
||||
public:
|
||||
MEM_CXX_CLASS_ALLOC_FUNCS("Freestyle:FrsImage")
|
||||
#endif
|
||||
};
|
||||
|
||||
@@ -106,7 +106,6 @@ private:
|
||||
bool LightingEnabled;
|
||||
|
||||
#ifdef WITH_CXX_GUARDEDALLOC
|
||||
public:
|
||||
MEM_CXX_CLASS_ALLOC_FUNCS("Freestyle:DrawingStyle")
|
||||
#endif
|
||||
};
|
||||
|
||||
@@ -259,7 +259,6 @@ private:
|
||||
float Shininess;
|
||||
|
||||
#ifdef WITH_CXX_GUARDEDALLOC
|
||||
public:
|
||||
MEM_CXX_CLASS_ALLOC_FUNCS("Freestyle:FrsMaterial")
|
||||
#endif
|
||||
};
|
||||
|
||||
@@ -312,6 +312,11 @@ protected:
|
||||
unsigned _TISize;
|
||||
|
||||
unsigned int _displayList;
|
||||
|
||||
#ifdef WITH_CXX_GUARDEDALLOC
|
||||
MEM_CXX_CLASS_ALLOC_FUNCS("Freestyle:IndexedFaceSet")
|
||||
#endif
|
||||
|
||||
};
|
||||
|
||||
} /* namespace Freestyle */
|
||||
|
||||
@@ -148,6 +148,11 @@ private:
|
||||
LINES_STYLE _Style;
|
||||
vector<Vec3r> _vertices;
|
||||
float _width;
|
||||
|
||||
#ifdef WITH_CXX_GUARDEDALLOC
|
||||
MEM_CXX_CLASS_ALLOC_FUNCS("Freestyle:LineRep")
|
||||
#endif
|
||||
|
||||
};
|
||||
|
||||
} /* namespace Freestyle */
|
||||
|
||||
@@ -106,6 +106,11 @@ protected:
|
||||
|
||||
private:
|
||||
BBox<Vec3r> _BBox;
|
||||
|
||||
#ifdef WITH_CXX_GUARDEDALLOC
|
||||
MEM_CXX_CLASS_ALLOC_FUNCS("Freestyle:Node")
|
||||
#endif
|
||||
|
||||
};
|
||||
|
||||
} /* namespace Freestyle */
|
||||
|
||||
@@ -83,6 +83,11 @@ protected:
|
||||
double projection_matrix_[16];
|
||||
|
||||
CameraType camera_type_;
|
||||
|
||||
#ifdef WITH_CXX_GUARDEDALLOC
|
||||
MEM_CXX_CLASS_ALLOC_FUNCS("Freestyle:NodeCamera")
|
||||
#endif
|
||||
|
||||
};
|
||||
|
||||
class LIB_SCENE_GRAPH_EXPORT NodeOrthographicCamera : public NodeCamera
|
||||
@@ -145,6 +150,11 @@ private:
|
||||
double top_;
|
||||
double zNear_;
|
||||
double zFar_;
|
||||
|
||||
#ifdef WITH_CXX_GUARDEDALLOC
|
||||
MEM_CXX_CLASS_ALLOC_FUNCS("Freestyle:NodeOrthographicCamera")
|
||||
#endif
|
||||
|
||||
};
|
||||
|
||||
class LIB_SCENE_GRAPH_EXPORT NodePerspectiveCamera : public NodeCamera
|
||||
@@ -205,6 +215,11 @@ public:
|
||||
* zFar-zNear
|
||||
*/
|
||||
NodePerspectiveCamera(double left, double right, double bottom, double top, double zNear, double zFar);
|
||||
|
||||
#ifdef WITH_CXX_GUARDEDALLOC
|
||||
MEM_CXX_CLASS_ALLOC_FUNCS("Freestyle:NodePerspectiveCamera")
|
||||
#endif
|
||||
|
||||
};
|
||||
|
||||
} /* namespace Freestyle */
|
||||
|
||||
@@ -101,6 +101,11 @@ public:
|
||||
|
||||
private:
|
||||
DrawingStyle _DrawingStyle;
|
||||
|
||||
#ifdef WITH_CXX_GUARDEDALLOC
|
||||
MEM_CXX_CLASS_ALLOC_FUNCS("Freestyle:NodeDrawingStyle")
|
||||
#endif
|
||||
|
||||
};
|
||||
|
||||
} /* namespace Freestyle */
|
||||
|
||||
@@ -78,7 +78,6 @@ private:
|
||||
}
|
||||
|
||||
#ifdef WITH_CXX_GUARDEDALLOC
|
||||
public:
|
||||
MEM_CXX_CLASS_ALLOC_FUNCS("Freestyle:Module")
|
||||
#endif
|
||||
};
|
||||
|
||||
@@ -270,7 +270,6 @@ private:
|
||||
static StrokesContainer _current_strokes_set;
|
||||
|
||||
#ifdef WITH_CXX_GUARDEDALLOC
|
||||
public:
|
||||
MEM_CXX_CLASS_ALLOC_FUNCS("Freestyle:Operators")
|
||||
#endif
|
||||
};
|
||||
|
||||
@@ -82,7 +82,6 @@ public:
|
||||
}
|
||||
|
||||
#ifdef WITH_CXX_GUARDEDALLOC
|
||||
public:
|
||||
MEM_CXX_CLASS_ALLOC_FUNCS("Freestyle:UnaryPredicate0D")
|
||||
#endif
|
||||
};
|
||||
@@ -133,7 +132,6 @@ public:
|
||||
}
|
||||
|
||||
#ifdef WITH_CXX_GUARDEDALLOC
|
||||
public:
|
||||
MEM_CXX_CLASS_ALLOC_FUNCS("Freestyle:BinaryPredicate0D")
|
||||
#endif
|
||||
};
|
||||
|
||||
@@ -303,7 +303,6 @@ private:
|
||||
Vec3fMap *_userAttributesVec3f;
|
||||
|
||||
#ifdef WITH_CXX_GUARDEDALLOC
|
||||
public:
|
||||
MEM_CXX_CLASS_ALLOC_FUNCS("Freestyle:StrokeAttribute")
|
||||
#endif
|
||||
};
|
||||
|
||||
@@ -113,7 +113,6 @@ protected:
|
||||
unsigned int _defaultTextureId;
|
||||
|
||||
#ifdef WITH_CXX_GUARDEDALLOC
|
||||
public:
|
||||
MEM_CXX_CLASS_ALLOC_FUNCS("Freestyle:TextureManager")
|
||||
#endif
|
||||
};
|
||||
|
||||
@@ -120,7 +120,6 @@ protected:
|
||||
float _alpha;
|
||||
|
||||
#ifdef WITH_CXX_GUARDEDALLOC
|
||||
public:
|
||||
MEM_CXX_CLASS_ALLOC_FUNCS("Freestyle:StrokeVertexRep")
|
||||
#endif
|
||||
};
|
||||
|
||||
@@ -74,7 +74,6 @@ private:
|
||||
bool _overloadFrsMaterial;
|
||||
|
||||
#ifdef WITH_CXX_GUARDEDALLOC
|
||||
public:
|
||||
MEM_CXX_CLASS_ALLOC_FUNCS("Freestyle:StrokeTesselator")
|
||||
#endif
|
||||
};
|
||||
|
||||
@@ -180,7 +180,6 @@ protected:
|
||||
Interpreter *_inter;
|
||||
|
||||
#ifdef WITH_CXX_GUARDEDALLOC
|
||||
public:
|
||||
MEM_CXX_CLASS_ALLOC_FUNCS("Freestyle:StyleModule")
|
||||
#endif
|
||||
};
|
||||
|
||||
@@ -109,7 +109,6 @@ protected:
|
||||
IteratorBase() {}
|
||||
|
||||
#ifdef WITH_CXX_GUARDEDALLOC
|
||||
public:
|
||||
MEM_CXX_CLASS_ALLOC_FUNCS("Freestyle:IteratorBase")
|
||||
#endif
|
||||
};
|
||||
|
||||
@@ -73,7 +73,6 @@ private:
|
||||
unsigned _ref_counter;
|
||||
|
||||
#ifdef WITH_CXX_GUARDEDALLOC
|
||||
public:
|
||||
MEM_CXX_CLASS_ALLOC_FUNCS("Freestyle:BaseObject")
|
||||
#endif
|
||||
};
|
||||
|
||||
@@ -66,7 +66,6 @@ private:
|
||||
static exception_type _exception;
|
||||
|
||||
#ifdef WITH_CXX_GUARDEDALLOC
|
||||
public:
|
||||
MEM_CXX_CLASS_ALLOC_FUNCS("Freestyle:Exception")
|
||||
#endif
|
||||
};
|
||||
|
||||
@@ -131,7 +131,6 @@ private:
|
||||
id_type _second;
|
||||
|
||||
#ifdef WITH_CXX_GUARDEDALLOC
|
||||
public:
|
||||
MEM_CXX_CLASS_ALLOC_FUNCS("Freestyle:Id")
|
||||
#endif
|
||||
};
|
||||
|
||||
@@ -61,7 +61,6 @@ protected:
|
||||
string _language;
|
||||
|
||||
#ifdef WITH_CXX_GUARDEDALLOC
|
||||
public:
|
||||
MEM_CXX_CLASS_ALLOC_FUNCS("Freestyle:Interpreter")
|
||||
#endif
|
||||
};
|
||||
|
||||
@@ -92,7 +92,6 @@ protected:
|
||||
string _label;
|
||||
|
||||
#ifdef WITH_CXX_GUARDEDALLOC
|
||||
public:
|
||||
MEM_CXX_CLASS_ALLOC_FUNCS("Freestyle:ProgressBar")
|
||||
#endif
|
||||
};
|
||||
|
||||
@@ -57,7 +57,6 @@ protected:
|
||||
static real _values[NB_VALUE_NOISE];
|
||||
|
||||
#ifdef WITH_CXX_GUARDEDALLOC
|
||||
public:
|
||||
MEM_CXX_CLASS_ALLOC_FUNCS("Freestyle:PseudoNoise")
|
||||
#endif
|
||||
};
|
||||
|
||||
@@ -50,7 +50,6 @@ private:
|
||||
static void next();
|
||||
|
||||
#ifdef WITH_CXX_GUARDEDALLOC
|
||||
public:
|
||||
MEM_CXX_CLASS_ALLOC_FUNCS("Freestyle:RandGen")
|
||||
#endif
|
||||
};
|
||||
|
||||
@@ -72,7 +72,6 @@ protected:
|
||||
Render *_re;
|
||||
|
||||
#ifdef WITH_CXX_GUARDEDALLOC
|
||||
public:
|
||||
MEM_CXX_CLASS_ALLOC_FUNCS("Freestyle:RenderMonitor")
|
||||
#endif
|
||||
};
|
||||
|
||||
@@ -72,7 +72,6 @@ private:
|
||||
unsigned _time_stamp;
|
||||
|
||||
#ifdef WITH_CXX_GUARDEDALLOC
|
||||
public:
|
||||
MEM_CXX_CLASS_ALLOC_FUNCS("Freestyle:TimeStamp")
|
||||
#endif
|
||||
};
|
||||
|
||||
@@ -60,7 +60,6 @@ private:
|
||||
clock_t _start;
|
||||
|
||||
#ifdef WITH_CXX_GUARDEDALLOC
|
||||
public:
|
||||
MEM_CXX_CLASS_ALLOC_FUNCS("Freestyle:Chronometer")
|
||||
#endif
|
||||
};
|
||||
|
||||
@@ -72,7 +72,6 @@ public:
|
||||
WFace *face;
|
||||
|
||||
#ifdef WITH_CXX_GUARDEDALLOC
|
||||
public:
|
||||
MEM_CXX_CLASS_ALLOC_FUNCS("Freestyle:BoxGrid:OccluderData")
|
||||
#endif
|
||||
};
|
||||
@@ -137,7 +136,6 @@ public:
|
||||
vector<OccluderData*>::iterator _current, _occludeeCandidate;
|
||||
|
||||
#ifdef WITH_CXX_GUARDEDALLOC
|
||||
public:
|
||||
MEM_CXX_CLASS_ALLOC_FUNCS("Freestyle:BoxGrid:Iterator")
|
||||
#endif
|
||||
};
|
||||
@@ -192,7 +190,6 @@ private:
|
||||
bool _enableQI;
|
||||
|
||||
#ifdef WITH_CXX_GUARDEDALLOC
|
||||
public:
|
||||
MEM_CXX_CLASS_ALLOC_FUNCS("Freestyle:BoxGrid")
|
||||
#endif
|
||||
};
|
||||
|
||||
@@ -237,7 +237,6 @@ protected:
|
||||
RenderMonitor *_pRenderMonitor;
|
||||
|
||||
#ifdef WITH_CXX_GUARDEDALLOC
|
||||
public:
|
||||
MEM_CXX_CLASS_ALLOC_FUNCS("Freestyle:FEdgeXDetector")
|
||||
#endif
|
||||
};
|
||||
|
||||
@@ -125,7 +125,6 @@ protected:
|
||||
IntegrationType _integration;
|
||||
|
||||
#ifdef WITH_CXX_GUARDEDALLOC
|
||||
public:
|
||||
MEM_CXX_CLASS_ALLOC_FUNCS("Freestyle:UnaryFunction1D")
|
||||
#endif
|
||||
};
|
||||
@@ -172,7 +171,6 @@ protected:
|
||||
IntegrationType _integration;
|
||||
|
||||
#ifdef WITH_CXX_GUARDEDALLOC
|
||||
public:
|
||||
MEM_CXX_CLASS_ALLOC_FUNCS("Freestyle:UnaryFunction1D_void")
|
||||
#endif
|
||||
};
|
||||
|
||||
@@ -134,7 +134,6 @@ protected:
|
||||
float _cellOrigin[2];
|
||||
|
||||
#ifdef WITH_CXX_GUARDEDALLOC
|
||||
public:
|
||||
MEM_CXX_CLASS_ALLOC_FUNCS("Freestyle:GridDensityProvider")
|
||||
#endif
|
||||
};
|
||||
|
||||
@@ -226,7 +226,6 @@ protected:
|
||||
unsigned _timeStamp;
|
||||
|
||||
#ifdef WITH_CXX_GUARDEDALLOC
|
||||
public:
|
||||
MEM_CXX_CLASS_ALLOC_FUNCS("Freestyle:Interface1D")
|
||||
#endif
|
||||
};
|
||||
|
||||
@@ -72,7 +72,6 @@ protected:
|
||||
void buildCachedPolygon();
|
||||
|
||||
#ifdef WITH_CXX_GUARDEDALLOC
|
||||
public:
|
||||
MEM_CXX_CLASS_ALLOC_FUNCS("Freestyle:OccluderSource")
|
||||
#endif
|
||||
};
|
||||
|
||||
@@ -135,7 +135,6 @@ public:
|
||||
vector<OccluderData*>::iterator _current, _occludeeCandidate;
|
||||
|
||||
#ifdef WITH_CXX_GUARDEDALLOC
|
||||
public:
|
||||
MEM_CXX_CLASS_ALLOC_FUNCS("Freestyle:SphericalGrid:Iterator")
|
||||
#endif
|
||||
|
||||
@@ -191,7 +190,6 @@ private:
|
||||
bool _enableQI;
|
||||
|
||||
#ifdef WITH_CXX_GUARDEDALLOC
|
||||
public:
|
||||
MEM_CXX_CLASS_ALLOC_FUNCS("Freestyle:SphericalGrid")
|
||||
#endif
|
||||
};
|
||||
|
||||
@@ -150,7 +150,6 @@ protected:
|
||||
void Build();
|
||||
|
||||
#ifdef WITH_CXX_GUARDEDALLOC
|
||||
public:
|
||||
MEM_CXX_CLASS_ALLOC_FUNCS("Freestyle:SteerableViewMap")
|
||||
#endif
|
||||
};
|
||||
|
||||
@@ -293,7 +293,6 @@ protected:
|
||||
ViewShape *_pCurrentVShape;
|
||||
|
||||
#ifdef WITH_CXX_GUARDEDALLOC
|
||||
public:
|
||||
MEM_CXX_CLASS_ALLOC_FUNCS("Freestyle:ViewEdgeXBuilder")
|
||||
#endif
|
||||
};
|
||||
|
||||
@@ -365,6 +365,11 @@ public:
|
||||
|
||||
/*! Returns an orientedViewEdgeIterator pointing to the ViewEdge given as argument. */
|
||||
virtual ViewVertexInternal::orientedViewEdgeIterator edgesIterator(ViewEdge *iEdge) = 0;
|
||||
|
||||
#ifdef WITH_CXX_GUARDEDALLOC
|
||||
MEM_CXX_CLASS_ALLOC_FUNCS("Freestyle:ViewVertex")
|
||||
#endif
|
||||
|
||||
};
|
||||
|
||||
/**********************************/
|
||||
@@ -633,6 +638,11 @@ public:
|
||||
|
||||
/*! Returns an orientedViewEdgeIterator pointing to the ViewEdge given as argument. */
|
||||
virtual ViewVertexInternal::orientedViewEdgeIterator edgesIterator(ViewEdge *iEdge);
|
||||
|
||||
#ifdef WITH_CXX_GUARDEDALLOC
|
||||
MEM_CXX_CLASS_ALLOC_FUNCS("Freestyle:TVertex")
|
||||
#endif
|
||||
|
||||
};
|
||||
|
||||
|
||||
@@ -845,6 +855,11 @@ public:
|
||||
|
||||
/*! Returns an orientedViewEdgeIterator pointing to the ViewEdge given as argument. */
|
||||
virtual ViewVertexInternal::orientedViewEdgeIterator edgesIterator(ViewEdge *iEdge);
|
||||
|
||||
#ifdef WITH_CXX_GUARDEDALLOC
|
||||
MEM_CXX_CLASS_ALLOC_FUNCS("Freestyle:NonTVertex")
|
||||
#endif
|
||||
|
||||
};
|
||||
|
||||
/**********************************/
|
||||
@@ -1360,6 +1375,11 @@ public:
|
||||
* the sampling value.
|
||||
*/
|
||||
virtual Interface0DIterator pointsEnd(float t = 0.0f);
|
||||
|
||||
#ifdef WITH_CXX_GUARDEDALLOC
|
||||
MEM_CXX_CLASS_ALLOC_FUNCS("Freestyle:ViewEdge")
|
||||
#endif
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -253,7 +253,6 @@ protected:
|
||||
Vec3r& u, Vec3r& A, Vec3r& origin, Vec3r& edge, vector<WVertex*>& faceVertices);
|
||||
|
||||
#ifdef WITH_CXX_GUARDEDALLOC
|
||||
public:
|
||||
MEM_CXX_CLASS_ALLOC_FUNCS("Freestyle:ViewMapBuilder")
|
||||
#endif
|
||||
};
|
||||
|
||||
@@ -219,6 +219,11 @@ public:
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
#ifdef WITH_CXX_GUARDEDALLOC
|
||||
MEM_CXX_CLASS_ALLOC_FUNCS("Freestyle:orientedViewEdgeIterator")
|
||||
#endif
|
||||
|
||||
};
|
||||
|
||||
} // ViewVertexInternal namespace
|
||||
@@ -390,6 +395,11 @@ private:
|
||||
FEdge *_previous_edge;
|
||||
FEdge *_next_edge;
|
||||
float _t; // curvilinear abscissa
|
||||
|
||||
#ifdef WITH_CXX_GUARDEDALLOC
|
||||
MEM_CXX_CLASS_ALLOC_FUNCS("Freestyle:SVertexIterator")
|
||||
#endif
|
||||
|
||||
};
|
||||
|
||||
|
||||
@@ -561,6 +571,11 @@ protected:
|
||||
bool _orientation;
|
||||
ViewEdge *_edge;
|
||||
ViewEdge *_begin;
|
||||
|
||||
#ifdef WITH_CXX_GUARDEDALLOC
|
||||
MEM_CXX_CLASS_ALLOC_FUNCS("Freestyle:ViewEdgeIterator")
|
||||
#endif
|
||||
|
||||
};
|
||||
|
||||
} // end of namespace ViewEdgeInternal
|
||||
|
||||
@@ -104,7 +104,6 @@ private:
|
||||
bool _overloadFrsMaterial;
|
||||
|
||||
#ifdef WITH_CXX_GUARDEDALLOC
|
||||
public:
|
||||
MEM_CXX_CLASS_ALLOC_FUNCS("Freestyle:ViewMapTesselator")
|
||||
#endif
|
||||
};
|
||||
@@ -121,6 +120,11 @@ protected:
|
||||
{
|
||||
iLine->AddVertex(v->point2D());
|
||||
}
|
||||
|
||||
#ifdef WITH_CXX_GUARDEDALLOC
|
||||
MEM_CXX_CLASS_ALLOC_FUNCS("Freestyle:ViewMapTesselator2D")
|
||||
#endif
|
||||
|
||||
};
|
||||
|
||||
/*! Class to tesselate the 3D silhouette */
|
||||
@@ -135,6 +139,11 @@ protected:
|
||||
{
|
||||
iLine->AddVertex(v->point3D());
|
||||
}
|
||||
|
||||
#ifdef WITH_CXX_GUARDEDALLOC
|
||||
MEM_CXX_CLASS_ALLOC_FUNCS("Freestyle:ViewMapTesselator3D")
|
||||
#endif
|
||||
|
||||
};
|
||||
|
||||
//
|
||||
|
||||
@@ -245,7 +245,6 @@ public:
|
||||
virtual void increment();
|
||||
|
||||
#ifdef WITH_CXX_GUARDEDALLOC
|
||||
public:
|
||||
MEM_CXX_CLASS_ALLOC_FUNCS("Freestyle:WVertex:incoming_edge_iterator")
|
||||
#endif
|
||||
};
|
||||
@@ -330,7 +329,6 @@ public:
|
||||
}
|
||||
|
||||
#ifdef WITH_CXX_GUARDEDALLOC
|
||||
public:
|
||||
MEM_CXX_CLASS_ALLOC_FUNCS("Freestyle:WVertex:face_iterator")
|
||||
#endif
|
||||
};
|
||||
@@ -1282,7 +1280,6 @@ protected:
|
||||
WFace *face);
|
||||
|
||||
#ifdef WITH_CXX_GUARDEDALLOC
|
||||
public:
|
||||
MEM_CXX_CLASS_ALLOC_FUNCS("Freestyle:WShape")
|
||||
#endif
|
||||
};
|
||||
@@ -1327,7 +1324,6 @@ private:
|
||||
vector<WShape *> _wshapes;
|
||||
|
||||
#ifdef WITH_CXX_GUARDEDALLOC
|
||||
public:
|
||||
MEM_CXX_CLASS_ALLOC_FUNCS("Freestyle:WingedEdge")
|
||||
#endif
|
||||
};
|
||||
|
||||
@@ -84,7 +84,6 @@ private:
|
||||
unsigned _polygon_id;
|
||||
|
||||
#ifdef WITH_CXX_GUARDEDALLOC
|
||||
public:
|
||||
MEM_CXX_CLASS_ALLOC_FUNCS("Freestyle:WFillGrid")
|
||||
#endif
|
||||
};
|
||||
|
||||
@@ -77,8 +77,13 @@ private:
|
||||
Grid *_grid;
|
||||
WingedEdge *_winged_edge;
|
||||
unsigned _polygon_id;
|
||||
|
||||
#ifdef WITH_CXX_GUARDEDALLOC
|
||||
MEM_CXX_CLASS_ALLOC_FUNCS("Freestyle:WSFillGrid")
|
||||
#endif
|
||||
|
||||
};
|
||||
|
||||
} /* namespace Freestyle */
|
||||
|
||||
#endif // __FREESTYLE_WS_FILL_GRID_H__
|
||||
#endif // __FREESTYLE_WS_FILL_GRID_H__
|
||||
|
||||
@@ -95,6 +95,11 @@ public:
|
||||
{
|
||||
return _curvatures;
|
||||
}
|
||||
|
||||
#ifdef WITH_CXX_GUARDEDALLOC
|
||||
MEM_CXX_CLASS_ALLOC_FUNCS("Freestyle:WXVertex")
|
||||
#endif
|
||||
|
||||
};
|
||||
|
||||
|
||||
@@ -197,6 +202,11 @@ public:
|
||||
{
|
||||
_order = i;
|
||||
}
|
||||
|
||||
#ifdef WITH_CXX_GUARDEDALLOC
|
||||
MEM_CXX_CLASS_ALLOC_FUNCS("Freestyle:WXEdge")
|
||||
#endif
|
||||
|
||||
};
|
||||
|
||||
/**********************************
|
||||
@@ -686,6 +696,11 @@ public:
|
||||
(*wxf)->userdata = NULL;
|
||||
}
|
||||
}
|
||||
|
||||
#ifdef WITH_CXX_GUARDEDALLOC
|
||||
MEM_CXX_CLASS_ALLOC_FUNCS("Freestyle:WXFace")
|
||||
#endif
|
||||
|
||||
};
|
||||
|
||||
|
||||
@@ -782,6 +797,11 @@ public:
|
||||
}
|
||||
}
|
||||
/*! accessors */
|
||||
|
||||
#ifdef WITH_CXX_GUARDEDALLOC
|
||||
MEM_CXX_CLASS_ALLOC_FUNCS("Freestyle:WXShape")
|
||||
#endif
|
||||
|
||||
};
|
||||
|
||||
/*
|
||||
|
||||
@@ -44,6 +44,11 @@ public:
|
||||
|
||||
protected:
|
||||
virtual void buildWVertices(WShape& shape, const real *vertices, unsigned vsize);
|
||||
|
||||
#ifdef WITH_CXX_GUARDEDALLOC
|
||||
MEM_CXX_CLASS_ALLOC_FUNCS("Freestyle:WXEdgeBuilder")
|
||||
#endif
|
||||
|
||||
};
|
||||
|
||||
} /* namespace Freestyle */
|
||||
|
||||
@@ -147,8 +147,13 @@ private:
|
||||
WingedEdge *_winged_edge;
|
||||
Matrix44r *_current_matrix;
|
||||
vector<Matrix44r *> _matrices_stack;
|
||||
|
||||
#ifdef WITH_CXX_GUARDEDALLOC
|
||||
MEM_CXX_CLASS_ALLOC_FUNCS("Freestyle:WingedEdgeBuilder")
|
||||
#endif
|
||||
|
||||
};
|
||||
|
||||
} /* namespace Freestyle */
|
||||
|
||||
#endif // __FREESTYLE_WINGED_EDGE_BUILDER_H__
|
||||
#endif // __FREESTYLE_WINGED_EDGE_BUILDER_H__
|
||||
|
||||
Reference in New Issue
Block a user