Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040
00041 #ifndef PCL_APPS_IN_HAND_SCANNER_COMMON_TYPES_H
00042 #define PCL_APPS_IN_HAND_SCANNER_COMMON_TYPES_H
00043
00044 #include <stdint.h>
00045
00046 #include <pcl/point_cloud.h>
00047 #include <pcl/point_types.h>
00048 #include <pcl/geometry/triangle_mesh.h>
00049
00050 namespace pcl
00051 {
00052 namespace ihs
00053 {
00054 struct PointIHS;
00055 typedef pcl::PointCloud <PointIHS> CloudIHS;
00056 typedef CloudIHS::Ptr CloudIHSPtr;
00057 typedef CloudIHS::ConstPtr CloudIHSConstPtr;
00058 }
00059 }
00060
00061 #include <pcl/apps/in_hand_scanner/impl/common_types.hpp>
00062
00063 POINT_CLOUD_REGISTER_POINT_STRUCT (pcl::ihs::_PointIHS,
00064 (float, x, x)
00065 (float, y, y)
00066 (float, z, z)
00067 (float, normal_x, normal_x)
00068 (float, normal_y, normal_y)
00069 (float, normal_z, normal_z)
00070 (float, rgb, rgb)
00071 (float, weight, weight)
00072 (unsigned int, age, age)
00073 (uint32_t, directions, directions)
00074 )
00075 POINT_CLOUD_REGISTER_POINT_WRAPPER (pcl::ihs::PointIHS, pcl::ihs::_PointIHS)
00076
00077 namespace pcl
00078 {
00079 namespace ihs
00080 {
00081 struct MeshTraits
00082 {
00083 typedef PointIHS VertexData;
00084 typedef pcl::geometry::NoData HalfEdgeData;
00085 typedef pcl::geometry::NoData EdgeData;
00086 typedef pcl::geometry::NoData FaceData;
00087 typedef boost::true_type IsManifold;
00088 };
00089
00090
00091 typedef pcl::geometry::TriangleMesh <MeshTraits> Mesh;
00092 typedef Mesh::Ptr MeshPtr;
00093 typedef Mesh::ConstPtr MeshConstPtr;
00094 }
00095 }
00096
00097 #endif // PCL_APPS_IN_HAND_SCANNER_COMMON_TYPES_H