123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081 |
- #ifndef __COMMON__H__
- #define __COMMON__H__
- #undef max
- #undef min
- #include "opencv/highgui.h"
- #include "opencv2/opencv.hpp"
- #include <pcl/features/moment_of_inertia_estimation.h>
- #include <pcl/filters/passthrough.h>
- #include <pcl/ModelCoefficients.h>
- #include <pcl/filters/project_inliers.h>
- #include <pcl/surface/convex_hull.h>
- #include <pcl/surface/concave_hull.h>
- #include <pcl/segmentation/sac_segmentation.h>
- #include <pcl/console/parse.h>
- #include <pcl/io/io.h>
- #include <pcl/io/pcd_io.h>
- #include <pcl/point_types.h>
- #include <pcl/common/io.h>
- #include <pcl/common/common.h>
- //#include <pcl/visualization/pcl_visualizer.h>
- #include <pcl/common/transforms.h>
- #include <pcl/common/common.h>
- //#include <pcl/visualization/cloud_viewer.h>
- #include <pcl/filters/extract_indices.h>
- #include <pcl/features/normal_3d.h>
- #include <pcl/kdtree/kdtree.h>
- #include <pcl/sample_consensus/method_types.h>
- #include <pcl/sample_consensus/model_types.h>
- #include <pcl/segmentation/extract_clusters.h>
- #include <pcl/filters/statistical_outlier_removal.h>
- #include <pcl/filters/radius_outlier_removal.h>
- #include <pcl/common/transforms.h>
- #include <pcl/filters/crop_hull.h>
- #include <pcl/filters//voxel_grid.h>
- //vtk
- //#include <vtkRenderWindow.h>
- //#include <vtkRenderWindowInteractor.h>
- //#include "vtkRenderingCoreModule.h" // For export macro
- //#include "vtkViewport.h"
- //#include "vtkConeSource.h"
- //#include "vtkPolyDataMapper.h"
- //#include "vtkCamera.h"
- //#include "vtkActor.h"
- //#include "vtkRenderer.h"
- //#include "vtkProperty.h"
- typedef pcl::PointXYZ PointT;
- typedef pcl::PointCloud<PointT> PointCloudT;
- typedef pcl::PointCloud<PointT>::Ptr PtrCloud;
- typedef Eigen::Matrix4f EMetrix;
- #include <glog/logging.h>
- #include <google/protobuf/io/coded_stream.h>
- #include <google/protobuf/io/zero_copy_stream_impl.h>
- #include <google/protobuf/text_format.h>
- using google::protobuf::io::FileInputStream;
- using google::protobuf::io::FileOutputStream;
- using google::protobuf::io::ZeroCopyInputStream;
- using google::protobuf::io::CodedInputStream;
- using google::protobuf::io::ZeroCopyOutputStream;
- using google::protobuf::io::CodedOutputStream;
- using google::protobuf::Message;
- #endif
|