#include <pcl/point_types.h>
#include <pcl/point_cloud.h>
#include <pcl/PolygonMesh.h>
#include <pcl/TextureMesh.h>
#include <pcl/pcl_macros.h>
#include <pcl/conversions.h>
#include <pcl/io/pcd_io.h>
#include <pcl/range_image/range_image_planar.h>
#include <vtkSmartPointer.h>
#include <vtkStructuredGrid.h>
#include <vtkPoints.h>
#include <vtkPointData.h>
#include <vtkCellArray.h>
#include <vtkUnsignedCharArray.h>
#include <vtkFloatArray.h>
#include <vtkPolyDataReader.h>
#include <vtkPolyDataWriter.h>
#include <vtkPLYReader.h>
#include <vtkPLYWriter.h>
#include <vtkOBJReader.h>
#include <vtkSTLReader.h>
#include <vtkSTLWriter.h>
#include <vtkPNGReader.h>
#include <vtkImageData.h>
#include <vtkPolyDataNormals.h>
#include <pcl/io/impl/vtk_lib_io.hpp>
Go to the source code of this file.
Namespaces | |
namespace | pcl |
namespace | pcl::io |
Functions | |
PCL_EXPORTS int | pcl::io::loadPolygonFile (const std::string &file_name, pcl::PolygonMesh &mesh) |
Load a PolygonMesh object given an input file name, based on the file extension. | |
PCL_EXPORTS int | pcl::io::loadPolygonFileOBJ (const std::string &file_name, pcl::PolygonMesh &mesh) |
Load an OBJ file into a PolygonMesh object. | |
PCL_EXPORTS int | pcl::io::loadPolygonFileOBJ (const std::string &file_name, pcl::TextureMesh &mesh) |
Load an OBJ file into a TextureMesh object. | |
PCL_EXPORTS int | pcl::io::loadPolygonFilePLY (const std::string &file_name, pcl::PolygonMesh &mesh) |
Load a PLY file into a PolygonMesh object. | |
PCL_EXPORTS int | pcl::io::loadPolygonFileSTL (const std::string &file_name, pcl::PolygonMesh &mesh) |
Load an STL file into a PolygonMesh object. | |
PCL_EXPORTS int | pcl::io::loadPolygonFileVTK (const std::string &file_name, pcl::PolygonMesh &mesh) |
Load a VTK file into a PolygonMesh object. | |
PCL_EXPORTS int | pcl::io::mesh2vtk (const pcl::PolygonMesh &mesh, vtkSmartPointer< vtkPolyData > &poly_data) |
Convert a PCL PolygonMesh to a vtkPolyData object. | |
template<typename PointT > | |
void | pcl::io::pointCloudTovtkPolyData (const pcl::PointCloud< PointT > &cloud, vtkPolyData *const polydata) |
Convert a pcl::PointCloud object to a VTK PolyData one. | |
PCL_EXPORTS void | pcl::io::pointCloudTovtkPolyData (const pcl::PCLPointCloud2Ptr &cloud, vtkSmartPointer< vtkPolyData > &poly_data) |
Convert a PCLPointCloud2 object to a VTK PolyData object. | |
template<typename PointT > | |
void | pcl::io::pointCloudTovtkStructuredGrid (const pcl::PointCloud< PointT > &cloud, vtkStructuredGrid *const structured_grid) |
Convert a pcl::PointCloud object to a VTK StructuredGrid one. | |
PCL_EXPORTS int | pcl::io::savePolygonFile (const std::string &file_name, const pcl::PolygonMesh &mesh) |
Save a PolygonMesh object given an input file name, based on the file extension. | |
PCL_EXPORTS int | pcl::io::savePolygonFilePLY (const std::string &file_name, const pcl::PolygonMesh &mesh) |
Save a PolygonMesh object into a PLY file. | |
PCL_EXPORTS int | pcl::io::savePolygonFileSTL (const std::string &file_name, const pcl::PolygonMesh &mesh) |
Save a PolygonMesh object into an STL file. | |
PCL_EXPORTS int | pcl::io::savePolygonFileVTK (const std::string &file_name, const pcl::PolygonMesh &mesh) |
Save a PolygonMesh object into a VTK file. | |
PCL_EXPORTS void | pcl::io::saveRangeImagePlanarFilePNG (const std::string &file_name, const pcl::RangeImagePlanar &range_image) |
Write a RangeImagePlanar object to a PNG file. | |
PCL_EXPORTS int | pcl::io::vtk2mesh (const vtkSmartPointer< vtkPolyData > &poly_data, pcl::PolygonMesh &mesh) |
Convert vtkPolyData object to a PCL PolygonMesh. | |
PCL_EXPORTS int | pcl::io::vtk2mesh (const vtkSmartPointer< vtkPolyData > &poly_data, pcl::TextureMesh &mesh) |
Convert vtkPolyData object to a PCL TextureMesh. | |
template<typename PointT > | |
void | pcl::io::vtkPolyDataToPointCloud (vtkPolyData *const polydata, pcl::PointCloud< PointT > &cloud) |
Convert a VTK PolyData object to a pcl::PointCloud one. | |
template<typename PointT > | |
void | pcl::io::vtkStructuredGridToPointCloud (vtkStructuredGrid *const structured_grid, pcl::PointCloud< PointT > &cloud) |
Convert a VTK StructuredGrid object to a pcl::PointCloud one. |