#include <cloud_mesh.h>
Public Types | |
typedef pcl::PointCloud< PointT > | PointCloud |
typedef PointCloud::ConstPtr | PointCloudConstPtr |
typedef PointCloud::Ptr | PointCloudPtr |
typedef pcl::PointSurfel | PointT |
Public Member Functions | |
CloudMesh () | |
CloudMesh (PointCloudPtr cloud) | |
std::vector< std::string > | getAvaiableFieldNames () const |
PointCloudPtr & | getCloud () |
PointCloudConstPtr | getCloud () const |
void | getColorScalarsFromField (vtkSmartPointer< vtkDataArray > &scalars, const std::string &field) const |
std::vector< pcl::Vertices > & | getPolygons () |
const std::vector < pcl::Vertices > & | getPolygons () const |
vtkSmartPointer< vtkPoints > & | getVtkPoints () |
const vtkSmartPointer < vtkPoints > & | getVtkPoints () const |
vtkSmartPointer< vtkCellArray > & | getVtkPolygons () |
const vtkSmartPointer < vtkCellArray > & | getVtkPolygons () const |
bool | open (const std::string &filename) |
bool | save (const std::string &filename) const |
void | transform (double tx, double ty, double tz, double rx, double ry, double rz) |
void | updateVtkPoints () |
void | updateVtkPolygons () |
~CloudMesh () | |
Static Public Member Functions | |
static bool | save (const std::vector< const CloudMesh * > &cloud_meshes, const std::string &filename) |
Private Attributes | |
PointCloudPtr | cloud_ |
std::vector< pcl::Vertices > | polygons_ |
vtkSmartPointer< vtkPoints > | vtk_points_ |
vtkSmartPointer< vtkCellArray > | vtk_polygons_ |
Definition at line 52 of file cloud_mesh.h.
Definition at line 56 of file cloud_mesh.h.
Definition at line 58 of file cloud_mesh.h.
Definition at line 57 of file cloud_mesh.h.
Definition at line 55 of file cloud_mesh.h.
Definition at line 49 of file cloud_mesh.cpp.
Definition at line 58 of file cloud_mesh.cpp.
Definition at line 68 of file cloud_mesh.cpp.
std::vector< std::string > pcl::modeler::CloudMesh::getAvaiableFieldNames | ( | ) | const |
Definition at line 74 of file cloud_mesh.cpp.
PointCloudPtr& pcl::modeler::CloudMesh::getCloud | ( | ) | [inline] |
Definition at line 65 of file cloud_mesh.h.
PointCloudConstPtr pcl::modeler::CloudMesh::getCloud | ( | ) | const [inline] |
Definition at line 67 of file cloud_mesh.h.
void pcl::modeler::CloudMesh::getColorScalarsFromField | ( | vtkSmartPointer< vtkDataArray > & | scalars, |
const std::string & | field | ||
) | const |
Definition at line 141 of file cloud_mesh.cpp.
std::vector<pcl::Vertices>& pcl::modeler::CloudMesh::getPolygons | ( | ) | [inline] |
Definition at line 70 of file cloud_mesh.h.
const std::vector<pcl::Vertices>& pcl::modeler::CloudMesh::getPolygons | ( | ) | const [inline] |
Definition at line 72 of file cloud_mesh.h.
vtkSmartPointer<vtkPoints>& pcl::modeler::CloudMesh::getVtkPoints | ( | ) | [inline] |
Definition at line 75 of file cloud_mesh.h.
const vtkSmartPointer<vtkPoints>& pcl::modeler::CloudMesh::getVtkPoints | ( | ) | const [inline] |
Definition at line 77 of file cloud_mesh.h.
vtkSmartPointer<vtkCellArray>& pcl::modeler::CloudMesh::getVtkPolygons | ( | ) | [inline] |
Definition at line 80 of file cloud_mesh.h.
const vtkSmartPointer<vtkCellArray>& pcl::modeler::CloudMesh::getVtkPolygons | ( | ) | const [inline] |
Definition at line 82 of file cloud_mesh.h.
bool pcl::modeler::CloudMesh::open | ( | const std::string & | filename | ) |
Definition at line 82 of file cloud_mesh.cpp.
bool pcl::modeler::CloudMesh::save | ( | const std::string & | filename | ) | const |
Definition at line 94 of file cloud_mesh.cpp.
bool pcl::modeler::CloudMesh::save | ( | const std::vector< const CloudMesh * > & | cloud_meshes, |
const std::string & | filename | ||
) | [static] |
Definition at line 109 of file cloud_mesh.cpp.
void pcl::modeler::CloudMesh::transform | ( | double | tx, |
double | ty, | ||
double | tz, | ||
double | rx, | ||
double | ry, | ||
double | rz | ||
) |
Definition at line 242 of file cloud_mesh.cpp.
Definition at line 165 of file cloud_mesh.cpp.
Definition at line 209 of file cloud_mesh.cpp.
PointCloudPtr pcl::modeler::CloudMesh::cloud_ [private] |
Definition at line 112 of file cloud_mesh.h.
std::vector<pcl::Vertices> pcl::modeler::CloudMesh::polygons_ [private] |
Definition at line 113 of file cloud_mesh.h.
vtkSmartPointer<vtkPoints> pcl::modeler::CloudMesh::vtk_points_ [private] |
Definition at line 115 of file cloud_mesh.h.
vtkSmartPointer<vtkCellArray> pcl::modeler::CloudMesh::vtk_polygons_ [private] |
Definition at line 116 of file cloud_mesh.h.