Static Public Member Functions
pcl::VTKUtils Class Reference

#include <vtk_utils.h>

List of all members.

Static Public Member Functions

static void convertToPCL (vtkSmartPointer< vtkPolyData > &vtk_polygons, pcl::PolygonMesh &triangles)
 Convert the vtkPolyData object back to PolygonMesh.
static int convertToVTK (const pcl::PolygonMesh &triangles, vtkSmartPointer< vtkPolyData > &triangles_out_vtk)
 Convert a PCL PolygonMesh to a VTK vtkPolyData.
static int mesh2vtk (const pcl::PolygonMesh &mesh, vtkSmartPointer< vtkPolyData > &poly_data)
 Convert a PCL PolygonMesh to a vtkPolyData object.
static int vtk2mesh (const vtkSmartPointer< vtkPolyData > &poly_data, pcl::PolygonMesh &mesh)
 Convert vtkPolyData object to a PCL PolygonMesh.

Detailed Description

Definition at line 48 of file vtk_utils.h.


Member Function Documentation

void pcl::VTKUtils::convertToPCL ( vtkSmartPointer< vtkPolyData > &  vtk_polygons,
pcl::PolygonMesh triangles 
) [static]

Convert the vtkPolyData object back to PolygonMesh.

Parameters:
[out]trianglesthe PolygonMesh to store the vtkPolyData in.

Definition at line 76 of file vtk_utils.cpp.

int pcl::VTKUtils::convertToVTK ( const pcl::PolygonMesh triangles,
vtkSmartPointer< vtkPolyData > &  triangles_out_vtk 
) [static]

Convert a PCL PolygonMesh to a VTK vtkPolyData.

Parameters:
[in]trianglesPolygonMesh to be converted to vtkPolyData, stored in the object.

Definition at line 54 of file vtk_utils.cpp.

int pcl::VTKUtils::mesh2vtk ( const pcl::PolygonMesh mesh,
vtkSmartPointer< vtkPolyData > &  poly_data 
) [static]

Convert a PCL PolygonMesh to a vtkPolyData object.

Parameters:
[in]meshReference to PCL Polygon Mesh
[out]poly_dataPointer (vtkSmartPointer) to a vtkPolyData object
Returns:
Number of points in the point cloud of mesh.

Definition at line 168 of file vtk_utils.cpp.

int pcl::VTKUtils::vtk2mesh ( const vtkSmartPointer< vtkPolyData > &  poly_data,
pcl::PolygonMesh mesh 
) [static]

Convert vtkPolyData object to a PCL PolygonMesh.

Parameters:
[in]poly_dataPointer (vtkSmartPointer) to a vtkPolyData object
[out]meshPCL Polygon Mesh to fill
Returns:
Number of points in the point cloud of mesh.

Definition at line 83 of file vtk_utils.cpp.


The documentation for this class was generated from the following files:


pcl
Author(s): Open Perception
autogenerated on Wed Aug 26 2015 15:43:44