00001 /* 00002 * cpc_point.h 00003 * 00004 * Created on: 26.08.2010 00005 * Author: goa 00006 */ 00007 #include "srs_object_database_msgs/point_types.h" 00008 00009 #ifndef SRS_POINT_TYPES_HPP_ 00010 #define SRS_POINT_TYPES_HPP_ 00011 00012 //using namespace pcl; 00013 00014 struct PointSURF 00015 { 00016 PCL_ADD_POINT4D; 00017 union 00018 { 00019 struct 00020 { 00021 uint32_t rgbr; 00022 uint32_t rgbg; 00023 uint32_t rgbb; 00024 uint32_t id; 00025 float confidence; 00026 float descriptor[64]; 00027 }; 00028 float data_c[4]; 00029 }; 00030 EIGEN_MAKE_ALIGNED_OPERATOR_NEW 00031 } EIGEN_ALIGN16; 00032 00033 struct PointPLY 00034 { 00035 PCL_ADD_POINT4D; 00036 union 00037 { 00038 struct 00039 { 00040 uint32_t rgbr; 00041 uint32_t rgbg; 00042 uint32_t rgbb; 00043 }; 00044 float data_c[4]; 00045 }; 00046 EIGEN_MAKE_ALIGNED_OPERATOR_NEW 00047 } EIGEN_ALIGN16; 00048 #endif /* SRS_POINT_TYPES_HPP_ */