#include <vtk_utils.h>
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. |
Definition at line 48 of file vtk_utils.h.
void pcl::VTKUtils::convertToPCL | ( | vtkSmartPointer< vtkPolyData > & | vtk_polygons, |
pcl::PolygonMesh & | triangles | ||
) | [static] |
Convert the vtkPolyData object back to PolygonMesh.
[out] | triangles | the 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.
[in] | triangles | PolygonMesh 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.
[in] | mesh | Reference to PCL Polygon Mesh |
[out] | poly_data | Pointer (vtkSmartPointer) to a vtkPolyData object |
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.
[in] | poly_data | Pointer (vtkSmartPointer) to a vtkPolyData object |
[out] | mesh | PCL Polygon Mesh to fill |
Definition at line 83 of file vtk_utils.cpp.