Change includes

This commit is contained in:
John Zhao 2018-10-27 21:51:44 +08:00
parent 972ab79a76
commit e95a5e6b1d
34 changed files with 62 additions and 72 deletions

View File

@ -14,9 +14,8 @@
#include <opencv2/highgui/highgui.hpp> #include <opencv2/highgui/highgui.hpp>
#include "mynteye/logger.h" #include "mynteye/logger.h"
#include "mynteye/api/api.h"
#include "mynteye/api.h" #include "mynteye/util/times.h"
#include "mynteye/times.h"
MYNTEYE_USE_NAMESPACE MYNTEYE_USE_NAMESPACE

View File

@ -14,7 +14,7 @@
#include <opencv2/highgui/highgui.hpp> #include <opencv2/highgui/highgui.hpp>
#include <opencv2/imgproc/imgproc.hpp> #include <opencv2/imgproc/imgproc.hpp>
#include "mynteye/api.h" #include "mynteye/api/api.h"
namespace { namespace {

View File

@ -15,11 +15,9 @@
#include <opencv2/imgproc/imgproc.hpp> #include <opencv2/imgproc/imgproc.hpp>
#include "mynteye/logger.h" #include "mynteye/logger.h"
#include "mynteye/device/device.h"
#include "mynteye/device.h" #include "mynteye/device/utils.h"
#include "mynteye/utils.h" #include "mynteye/util/times.h"
#include "mynteye/times.h"
MYNTEYE_USE_NAMESPACE MYNTEYE_USE_NAMESPACE

View File

@ -13,8 +13,8 @@
// limitations under the License. // limitations under the License.
#include <opencv2/highgui/highgui.hpp> #include <opencv2/highgui/highgui.hpp>
#include "mynteye/api.h"
#include "mynteye/logger.h" #include "mynteye/logger.h"
#include "mynteye/api/api.h"
#include "util/cv_painter.h" #include "util/cv_painter.h"

View File

@ -11,13 +11,13 @@
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
#include <opencv2/highgui/highgui.hpp>
#include <atomic> #include <atomic>
#include "mynteye/api.h" #include <opencv2/highgui/highgui.hpp>
#include "mynteye/logger.h" #include "mynteye/logger.h"
#include "mynteye/times.h" #include "mynteye/api/api.h"
#include "mynteye/util/times.h"
MYNTEYE_USE_NAMESPACE MYNTEYE_USE_NAMESPACE

View File

@ -13,8 +13,8 @@
// limitations under the License. // limitations under the License.
#include <opencv2/highgui/highgui.hpp> #include <opencv2/highgui/highgui.hpp>
#include "mynteye/api.h"
#include "mynteye/logger.h" #include "mynteye/logger.h"
#include "mynteye/api/api.h"
MYNTEYE_USE_NAMESPACE MYNTEYE_USE_NAMESPACE

View File

@ -13,8 +13,8 @@
// limitations under the License. // limitations under the License.
#include <opencv2/highgui/highgui.hpp> #include <opencv2/highgui/highgui.hpp>
#include "mynteye/api.h"
#include "mynteye/logger.h" #include "mynteye/logger.h"
#include "mynteye/api/api.h"
#include "util/cv_painter.h" #include "util/cv_painter.h"

View File

@ -13,7 +13,7 @@
// limitations under the License. // limitations under the License.
#include <opencv2/highgui/highgui.hpp> #include <opencv2/highgui/highgui.hpp>
#include "mynteye/api.h" #include "mynteye/api/api.h"
MYNTEYE_USE_NAMESPACE MYNTEYE_USE_NAMESPACE

View File

@ -11,8 +11,8 @@
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
#include "mynteye/api.h"
#include "mynteye/logger.h" #include "mynteye/logger.h"
#include "mynteye/api/api.h"
MYNTEYE_USE_NAMESPACE MYNTEYE_USE_NAMESPACE

View File

@ -13,7 +13,7 @@
// limitations under the License. // limitations under the License.
#include <opencv2/highgui/highgui.hpp> #include <opencv2/highgui/highgui.hpp>
#include "mynteye/api.h" #include "mynteye/api/api.h"
MYNTEYE_USE_NAMESPACE MYNTEYE_USE_NAMESPACE

View File

@ -11,15 +11,15 @@
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
#include <opencv2/highgui/highgui.hpp>
#include <atomic> #include <atomic>
#include <memory> #include <memory>
#include <mutex> #include <mutex>
#include <sstream> #include <sstream>
#include "mynteye/api.h" #include <opencv2/highgui/highgui.hpp>
#include "mynteye/logger.h" #include "mynteye/logger.h"
#include "mynteye/api/api.h"
#include "util/cv_painter.h" #include "util/cv_painter.h"

View File

@ -11,8 +11,8 @@
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
#include "mynteye/api.h"
#include "mynteye/logger.h" #include "mynteye/logger.h"
#include "mynteye/api/api.h"
MYNTEYE_USE_NAMESPACE MYNTEYE_USE_NAMESPACE

View File

@ -13,8 +13,8 @@
// limitations under the License. // limitations under the License.
#include <opencv2/highgui/highgui.hpp> #include <opencv2/highgui/highgui.hpp>
#include "mynteye/api.h"
#include "mynteye/logger.h" #include "mynteye/logger.h"
#include "mynteye/api/api.h"
#include "util/cv_painter.h" #include "util/cv_painter.h"

View File

@ -11,8 +11,8 @@
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
#include "mynteye/api.h"
#include "mynteye/logger.h" #include "mynteye/logger.h"
#include "mynteye/api/api.h"
MYNTEYE_USE_NAMESPACE MYNTEYE_USE_NAMESPACE

View File

@ -13,7 +13,7 @@
// limitations under the License. // limitations under the License.
#include <opencv2/highgui/highgui.hpp> #include <opencv2/highgui/highgui.hpp>
#include "mynteye/api.h" #include "mynteye/api/api.h"
#include "util/pc_viewer.h" #include "util/pc_viewer.h"

View File

@ -13,7 +13,7 @@
// limitations under the License. // limitations under the License.
#include <opencv2/highgui/highgui.hpp> #include <opencv2/highgui/highgui.hpp>
#include "mynteye/api.h" #include "mynteye/api/api.h"
MYNTEYE_USE_NAMESPACE MYNTEYE_USE_NAMESPACE

View File

@ -13,7 +13,7 @@
// limitations under the License. // limitations under the License.
#include <opencv2/highgui/highgui.hpp> #include <opencv2/highgui/highgui.hpp>
#include "mynteye/api.h" #include "mynteye/api/api.h"
MYNTEYE_USE_NAMESPACE MYNTEYE_USE_NAMESPACE

View File

@ -13,7 +13,7 @@
// limitations under the License. // limitations under the License.
#include <opencv2/highgui/highgui.hpp> #include <opencv2/highgui/highgui.hpp>
#include "mynteye/api.h" #include "mynteye/api/api.h"
MYNTEYE_USE_NAMESPACE MYNTEYE_USE_NAMESPACE

View File

@ -11,9 +11,9 @@
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
#include "mynteye/context.h"
#include "mynteye/device.h"
#include "mynteye/logger.h" #include "mynteye/logger.h"
#include "mynteye/device/context.h"
#include "mynteye/device/device.h"
MYNTEYE_USE_NAMESPACE MYNTEYE_USE_NAMESPACE

View File

@ -14,8 +14,8 @@
#include <opencv2/highgui/highgui.hpp> #include <opencv2/highgui/highgui.hpp>
#include <opencv2/imgproc/imgproc.hpp> #include <opencv2/imgproc/imgproc.hpp>
#include "mynteye/api.h"
// #include "mynteye/logger.h" // #include "mynteye/logger.h"
#include "mynteye/api/api.h"
#include "util/cv_painter.h" #include "util/cv_painter.h"
#include "util/pc_viewer.h" #include "util/pc_viewer.h"

View File

@ -13,15 +13,15 @@
// limitations under the License. // limitations under the License.
#include "util/cv_painter.h" #include "util/cv_painter.h"
#include <opencv2/imgproc/imgproc.hpp>
#include <iomanip> #include <iomanip>
#include <iostream> #include <iostream>
#include <memory> #include <memory>
#include <utility> #include <utility>
#include <opencv2/imgproc/imgproc.hpp>
#include "mynteye/logger.h" #include "mynteye/logger.h"
#include "mynteye/utils.h" #include "mynteye/device/utils.h"
#define FONT_FACE cv::FONT_HERSHEY_PLAIN #define FONT_FACE cv::FONT_HERSHEY_PLAIN
#define FONT_SCALE 1 #define FONT_SCALE 1

View File

@ -15,10 +15,10 @@
#define MYNTEYE_TUTORIALS_CV_PAINTER_H_ #define MYNTEYE_TUTORIALS_CV_PAINTER_H_
#pragma once #pragma once
#include <opencv2/core/core.hpp>
#include <string> #include <string>
#include <opencv2/core/core.hpp>
#include "mynteye/types.h" #include "mynteye/types.h"
class CVPainter { class CVPainter {

View File

@ -15,12 +15,12 @@
#define MYNTEYE_TUTORIALS_PC_VIEWER_H_ #define MYNTEYE_TUTORIALS_PC_VIEWER_H_
#pragma once #pragma once
#include <memory>
#include <opencv2/core/core.hpp> #include <opencv2/core/core.hpp>
#include <pcl/visualization/pcl_visualizer.h> #include <pcl/visualization/pcl_visualizer.h>
#include <memory>
class PCViewer { class PCViewer {
public: public:
PCViewer(); PCViewer();

View File

@ -11,15 +11,15 @@
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
#include <opencv2/highgui/highgui.hpp>
#include <opencv2/imgproc/imgproc.hpp>
#include <chrono> #include <chrono>
#include <condition_variable> #include <condition_variable>
#include <iomanip> #include <iomanip>
#include <iostream> #include <iostream>
#include <mutex> #include <mutex>
#include <opencv2/highgui/highgui.hpp>
#include <opencv2/imgproc/imgproc.hpp>
#include "mynteye/logger.h" #include "mynteye/logger.h"
#include "mynteye/mynteye.h" #include "mynteye/mynteye.h"
#include "mynteye/types.h" #include "mynteye/types.h"

View File

@ -24,8 +24,8 @@
#include <stdexcept> #include <stdexcept>
#include <utility> #include <utility>
#include "mynteye/files.h"
#include "mynteye/logger.h" #include "mynteye/logger.h"
#include "mynteye/util/files.h"
#define FULL_PRECISION \ #define FULL_PRECISION \
std::fixed << std::setprecision(std::numeric_limits<double>::max_digits10) std::fixed << std::setprecision(std::numeric_limits<double>::max_digits10)

View File

@ -20,8 +20,8 @@
#include <memory> #include <memory>
#include <string> #include <string>
#include "mynteye/callbacks.h"
#include "mynteye/mynteye.h" #include "mynteye/mynteye.h"
#include "mynteye/device/callbacks.h"
MYNTEYE_BEGIN_NAMESPACE MYNTEYE_BEGIN_NAMESPACE

View File

@ -15,11 +15,9 @@
#include <opencv2/imgproc/imgproc.hpp> #include <opencv2/imgproc/imgproc.hpp>
#include "mynteye/logger.h" #include "mynteye/logger.h"
#include "mynteye/device/device.h"
#include "mynteye/device.h" #include "mynteye/device/utils.h"
#include "mynteye/utils.h" #include "mynteye/util/times.h"
#include "mynteye/times.h"
#include "dataset/dataset.h" #include "dataset/dataset.h"

View File

@ -12,9 +12,8 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
#include "mynteye/logger.h" #include "mynteye/logger.h"
#include "mynteye/device/device.h"
#include "mynteye/device.h" #include "mynteye/device/utils.h"
#include "mynteye/utils.h"
#include "writer/device_writer.h" #include "writer/device_writer.h"

View File

@ -13,13 +13,13 @@
// limitations under the License. // limitations under the License.
#include "writer/device_writer.h" #include "writer/device_writer.h"
#include <opencv2/core/core.hpp>
#include <vector> #include <vector>
#include "mynteye/device.h" #include <opencv2/core/core.hpp>
#include "mynteye/files.h"
#include "mynteye/logger.h" #include "mynteye/logger.h"
#include "mynteye/device/device.h"
#include "mynteye/util/files.h"
MYNTEYE_BEGIN_NAMESPACE MYNTEYE_BEGIN_NAMESPACE

View File

@ -12,9 +12,8 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
#include "mynteye/logger.h" #include "mynteye/logger.h"
#include "mynteye/device/device.h"
#include "mynteye/device.h" #include "mynteye/device/utils.h"
#include "mynteye/utils.h"
#include "writer/device_writer.h" #include "writer/device_writer.h"

View File

@ -12,9 +12,8 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
#include "mynteye/logger.h" #include "mynteye/logger.h"
#include "mynteye/device/device.h"
#include "mynteye/device.h" #include "mynteye/device/utils.h"
#include "mynteye/utils.h"
#include "writer/device_writer.h" #include "writer/device_writer.h"

View File

@ -12,9 +12,8 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
#include "mynteye/logger.h" #include "mynteye/logger.h"
#include "mynteye/device/device.h"
#include "mynteye/device.h" #include "mynteye/device/utils.h"
#include "mynteye/utils.h"
#include "writer/device_writer.h" #include "writer/device_writer.h"

View File

@ -11,6 +11,7 @@
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
#include <vector>
// #include <boost/python.hpp> // #include <boost/python.hpp>
#include <boost/python/class.hpp> #include <boost/python/class.hpp>
@ -23,11 +24,9 @@
#include <opencv2/core/core.hpp> #include <opencv2/core/core.hpp>
#include <vector>
#include "mynteye/api.h"
#include "mynteye/logger.h" #include "mynteye/logger.h"
#include "mynteye/utils.h" #include "mynteye/api/api.h"
#include "mynteye/device/utils.h"
#include "array_indexing_suite.hpp" #include "array_indexing_suite.hpp"
#include "array_ref.hpp" #include "array_ref.hpp"

View File

@ -33,10 +33,10 @@
#include <map> #include <map>
#include <string> #include <string>
#include "mynteye/api.h"
#include "mynteye/context.h"
#include "mynteye/device.h"
#include "mynteye/logger.h" #include "mynteye/logger.h"
#include "mynteye/api/api.h"
#include "mynteye/device/context.h"
#include "mynteye/device/device.h"
#define FULL_PRECISION \ #define FULL_PRECISION \
std::fixed << std::setprecision(std::numeric_limits<double>::max_digits10) std::fixed << std::setprecision(std::numeric_limits<double>::max_digits10)