19 #include <pcl/point_cloud.h>
20 #include <pcl/point_types.h>
23 #include <Eigen/Dense>
26 #include <vtkSmartPointer.h>
48 PCLCloud::Ptr getGenericField(std::string field_name)
const;
50 unsigned getvisibilityNum()
const;
52 PCLCloud::Ptr getXYZ()
const;
53 pcl::PointCloud<pcl::PointXYZ>::Ptr getXYZ2()
const;
55 PCLCloud::Ptr getNormals()
const;
56 PCLCloud::Ptr getPointNormals()
const;
58 PCLCloud::Ptr getColors()
const;
64 PCLCloud::Ptr getOneOf(Fields field)
const;
66 PCLCloud::Ptr getFloatScalarField(
const std::string& field_name)
const;
68 PCLCloud::Ptr getAsSM(std::list<std::string>& requested_fields)
const;
75 PCLCloud::Ptr getAsSM(
bool ignoreScalars =
false)
const;
76 PCLCloud::Ptr getAsSM(
bool xyz,
79 const QStringList& scalarFields)
const;
82 pcl::PointCloud<pcl::PointXYZ>::Ptr getRawXYZ()
const;
85 pcl::PointCloud<pcl::PointNormal>::Ptr getAsPointNormal()
const;
87 PCLCloud::Ptr getVtkPolyDataAsSM(vtkPolyData*
const polydata)
const;
88 PCLMesh::Ptr getVtkPolyDataAsPclMesh(vtkPolyData*
const polydata)
const;
93 PCLPolygon::Ptr getPclPolygon(
ccPolyline* polyline)
const;
108 bool getVtkPolyDataFromMeshCloud(
123 bool getVtkPolyDataWithTextures(
127 std::vector<std::vector<Eigen::Vector2f>>& tex_coordinates);
129 static std::string GetSimplifiedSFName(
const std::string& ccSfName);
135 bool checkIfFieldExists(
const std::string& field_name)
const;
pcl::TexMaterial PCLMaterial
pcl::PCLPointCloud2 PCLCloud
CC to PCL cloud converter.
const ccPointCloud * m_cc_cloud
Associated cloud.
QSharedPointer< const ccMaterial > CShared
Const + Shared type.
A 3D cloud and its associated features (color, normals, scalar fields, etc.)
#define QPCL_ENGINE_LIB_API