Commit d1a3190f authored by Martin Schultz's avatar Martin Schultz

reduced includes by means of static code analysis

parent 184d40f7
...@@ -52,9 +52,6 @@ ...@@ -52,9 +52,6 @@
#include "PropertyModelFactory.hh" #include "PropertyModelFactory.hh"
#include "OpenMesh/OMPropertyModel.hh" #include "OpenMesh/OMPropertyModel.hh"
#include "OpenVolumeMesh/OVMPropertyModel.hh" #include "OpenVolumeMesh/OVMPropertyModel.hh"
#include "OpenVolumeMesh/Mesh/HexahedralMesh.hh"
#include "Utils.hh"
MultiObjectPropertyModel::MultiObjectPropertyModel(const QStringList& res, QObject *parent) : MultiObjectPropertyModel::MultiObjectPropertyModel(const QStringList& res, QObject *parent) :
PropertyModel(parent), restriction(res), datatypes(supportedDataTypes()), widget(0) PropertyModel(parent), restriction(res), datatypes(supportedDataTypes()), widget(0)
......
...@@ -49,8 +49,6 @@ ...@@ -49,8 +49,6 @@
#include "ObjectListItemModel.hh" #include "ObjectListItemModel.hh"
#include <algorithm>
#include <OpenFlipper/BasePlugin/PluginFunctions.hh> #include <OpenFlipper/BasePlugin/PluginFunctions.hh>
ObjectListItemModel::ObjectListItemModel() { ObjectListItemModel::ObjectListItemModel() {
......
...@@ -49,23 +49,17 @@ ...@@ -49,23 +49,17 @@
#include "PropertyModelFactory.hh" #include "PropertyModelFactory.hh"
#include <OpenFlipper/BasePlugin/PluginFunctions.hh>
#include "MultiObjectPropertyModel.hh" #include "MultiObjectPropertyModel.hh"
#include "OpenMesh/OMPropertyModel.hh" #include "OpenMesh/OMPropertyModel.hh"
#include <ObjectTypes/TriangleMesh/TriangleMesh.hh>
#include <ObjectTypes/PolyMesh/PolyMesh.hh>
#ifdef ENABLE_OPENVOLUMEMESH_SUPPORT #ifdef ENABLE_OPENVOLUMEMESH_SUPPORT
#include "OpenVolumeMesh/OVMPropertyModel.hh" #include "OpenVolumeMesh/OVMPropertyModel.hh"
#endif /* ENABLE_OPENVOLUMEMESH_SUPPORT */ #endif /* ENABLE_OPENVOLUMEMESH_SUPPORT */
#ifdef ENABLE_OPENVOLUMEMESH_POLYHEDRAL_SUPPORT #ifdef ENABLE_OPENVOLUMEMESH_POLYHEDRAL_SUPPORT
#include <ObjectTypes/PolyhedralMesh/PolyhedralMesh.hh>
#endif /* ENABLE_OPENVOLUMEMESH_POLYHEDRAL_SUPPORT */ #endif /* ENABLE_OPENVOLUMEMESH_POLYHEDRAL_SUPPORT */
#ifdef ENABLE_OPENVOLUMEMESH_HEXAHEDRAL_SUPPORT #ifdef ENABLE_OPENVOLUMEMESH_HEXAHEDRAL_SUPPORT
#include <ObjectTypes/HexahedralMesh/HexahedralMesh.hh>
#endif /* ENABLE_OPENVOLUMEMESH_HEXAHEDRAL_SUPPORT */ #endif /* ENABLE_OPENVOLUMEMESH_HEXAHEDRAL_SUPPORT */
......
...@@ -52,9 +52,7 @@ ...@@ -52,9 +52,7 @@
#include <OpenMesh/Core/Utils/Property.hh> #include <OpenMesh/Core/Utils/Property.hh>
#include <ACG/Math/VectorT.hh> #include <ACG/Math/VectorT.hh>
#include <map>
#include <iostream> #include <iostream>
#include <vector>
const PropertyNameListModel::TypeInfoWrapper PropertyNameListModel::proptype_bool = const PropertyNameListModel::TypeInfoWrapper PropertyNameListModel::proptype_bool =
PropertyNameListModel::TypeInfoWrapper(typeid(OpenMesh::PropertyT<bool>), "bool"); PropertyNameListModel::TypeInfoWrapper(typeid(OpenMesh::PropertyT<bool>), "bool");
......
...@@ -57,29 +57,11 @@ ...@@ -57,29 +57,11 @@
#include "PropertyVisPlugin.hh" #include "PropertyVisPlugin.hh"
#include <Qt>
#include <QSpacerItem>
#include <QFileDialog>
#include <iostream>
#include <vector>
#include <algorithm>
#include <cmath>
#include <OpenFlipper/BasePlugin/PluginFunctions.hh>
#include <ACG/Utils/ColorCoder.hh>
#include "PropertyModelFactory.hh" #include "PropertyModelFactory.hh"
#include <ObjectTypes/TriangleMesh/TriangleMesh.hh>
#include <ObjectTypes/PolyMesh/PolyMesh.hh>
#ifdef ENABLE_OPENVOLUMEMESH_POLYHEDRAL_SUPPORT #ifdef ENABLE_OPENVOLUMEMESH_POLYHEDRAL_SUPPORT
#include <ObjectTypes/PolyhedralMesh/PolyhedralMesh.hh>
#endif #endif
#ifdef ENABLE_OPENVOLUMEMESH_HEXAHEDRAL_SUPPORT #ifdef ENABLE_OPENVOLUMEMESH_HEXAHEDRAL_SUPPORT
#include <ObjectTypes/HexahedralMesh/HexahedralMesh.hh>
#endif #endif
//== IMPLEMENTATION ========================================================== //== IMPLEMENTATION ==========================================================
......
...@@ -49,10 +49,6 @@ ...@@ -49,10 +49,6 @@
#include "PropertyVisualizer.hh" #include "PropertyVisualizer.hh"
#include <iostream>
#include <QStringList>
/*! \brief Visualizes the property /*! \brief Visualizes the property
* *
* This method should be implemented by a subclass that specializes on visualizing * This method should be implemented by a subclass that specializes on visualizing
......
...@@ -49,8 +49,6 @@ ...@@ -49,8 +49,6 @@
#include "SingleObjectPropertyModel.hh" #include "SingleObjectPropertyModel.hh"
#include <algorithm>
SingleObjectPropertyModel::SingleObjectPropertyModel(QObject *parent) SingleObjectPropertyModel::SingleObjectPropertyModel(QObject *parent)
: PropertyModel(parent), : PropertyModel(parent),
widgets(0), widgets(0),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment