Freestyle: removed unnecessary #include files and made minor code cleanup.
This commit is contained in:
@@ -25,8 +25,6 @@
|
|||||||
* \date 2010-12-21
|
* \date 2010-12-21
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <math.h>
|
|
||||||
|
|
||||||
#include "GridHelpers.h"
|
#include "GridHelpers.h"
|
||||||
|
|
||||||
namespace Freestyle {
|
namespace Freestyle {
|
||||||
|
|||||||
@@ -25,7 +25,6 @@
|
|||||||
#ifndef __FREESTYLE_PYTHON_ORIENTEDVIEWEDGEITERATOR_H__
|
#ifndef __FREESTYLE_PYTHON_ORIENTEDVIEWEDGEITERATOR_H__
|
||||||
#define __FREESTYLE_PYTHON_ORIENTEDVIEWEDGEITERATOR_H__
|
#define __FREESTYLE_PYTHON_ORIENTEDVIEWEDGEITERATOR_H__
|
||||||
|
|
||||||
#include "../../stroke/Stroke.h"
|
|
||||||
#include "../BPy_Iterator.h"
|
#include "../BPy_Iterator.h"
|
||||||
|
|
||||||
#include "../../view_map/ViewMapIterators.h"
|
#include "../../view_map/ViewMapIterators.h"
|
||||||
|
|||||||
@@ -38,8 +38,6 @@
|
|||||||
#include "UnaryFunction0D_double/BPy_LocalAverageDepthF0D.h"
|
#include "UnaryFunction0D_double/BPy_LocalAverageDepthF0D.h"
|
||||||
#include "UnaryFunction0D_double/BPy_ZDiscontinuityF0D.h"
|
#include "UnaryFunction0D_double/BPy_ZDiscontinuityF0D.h"
|
||||||
|
|
||||||
#include "../Director.h"
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -32,8 +32,7 @@
|
|||||||
|
|
||||||
#include "Predicates1D.h"
|
#include "Predicates1D.h"
|
||||||
|
|
||||||
|
#include "../system/Iterator.h"
|
||||||
#include "../system/Iterator.h" //soc
|
|
||||||
|
|
||||||
#include "../view_map/ViewMap.h"
|
#include "../view_map/ViewMap.h"
|
||||||
#include "../view_map/ViewMapIterators.h"
|
#include "../view_map/ViewMapIterators.h"
|
||||||
|
|||||||
@@ -27,8 +27,6 @@
|
|||||||
|
|
||||||
#include "CulledOccluderSource.h"
|
#include "CulledOccluderSource.h"
|
||||||
|
|
||||||
#include "FRS_freestyle.h"
|
|
||||||
|
|
||||||
#include "../geometry/GridHelpers.h"
|
#include "../geometry/GridHelpers.h"
|
||||||
|
|
||||||
#include "BKE_global.h"
|
#include "BKE_global.h"
|
||||||
|
|||||||
@@ -26,7 +26,7 @@
|
|||||||
* \date 01/07/2003
|
* \date 01/07/2003
|
||||||
*/
|
*/
|
||||||
|
|
||||||
# include "Functions1D.h"
|
#include "Functions1D.h"
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
|
||||||
|
|||||||
@@ -34,7 +34,7 @@
|
|||||||
#include "../geometry/Geom.h"
|
#include "../geometry/Geom.h"
|
||||||
|
|
||||||
#include "../system/Id.h"
|
#include "../system/Id.h"
|
||||||
#include "../system/Iterator.h" //soc
|
#include "../system/Iterator.h"
|
||||||
#include "../system/Precision.h"
|
#include "../system/Precision.h"
|
||||||
|
|
||||||
#include "../winged_edge/Nature.h"
|
#include "../winged_edge/Nature.h"
|
||||||
@@ -64,7 +64,9 @@ class Interface0D
|
|||||||
public:
|
public:
|
||||||
/*! Default constructor */
|
/*! Default constructor */
|
||||||
Interface0D() {}
|
Interface0D() {}
|
||||||
virtual ~Interface0D() {}; //soc
|
|
||||||
|
/*! Destructor */
|
||||||
|
virtual ~Interface0D() {};
|
||||||
|
|
||||||
/*! Returns the string "Interface0D". */
|
/*! Returns the string "Interface0D". */
|
||||||
virtual string getExactTypeName() const
|
virtual string getExactTypeName() const
|
||||||
|
|||||||
@@ -136,7 +136,8 @@ public:
|
|||||||
_timeStamp = 0;
|
_timeStamp = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
virtual ~Interface1D() {}; //soc
|
/*! Destructor */
|
||||||
|
virtual ~Interface1D() {};
|
||||||
|
|
||||||
/*! Returns the string "Interface1D". */
|
/*! Returns the string "Interface1D". */
|
||||||
virtual string getExactTypeName() const
|
virtual string getExactTypeName() const
|
||||||
|
|||||||
@@ -25,8 +25,6 @@
|
|||||||
* \date 01/07/2003
|
* \date 01/07/2003
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//soc #include <qimage.h>
|
|
||||||
//soc #include <qstring.h>
|
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
|
|
||||||
#include "Silhouette.h"
|
#include "Silhouette.h"
|
||||||
|
|||||||
Reference in New Issue
Block a user