ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
PclTools.h File Reference
#include <Utils/PCLCloud.h>
#include <Utils/PCLConv.h>
#include "qPCL.h"
#include <CVLog.h>
#include <ecvDrawContext.h>
#include <pcl/surface/texture_mapping.h>
#include <pcl/ModelCoefficients.h>
#include <pcl/point_cloud.h>
#include <vtkPolyData.h>
#include <vtkSmartPointer.h>
Include dependency graph for PclTools.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 cloudViewer
 Generic file read and write utility for python interface.
 
 cloudViewer::geometry
 
 cloudViewer::camera
 
 PclTools
 

Functions

QPCL_ENGINE_LIB_API PCLTextureMesh::Ptr PclTools::CreateTexturingMesh (const std::string &filePath, bool show_cameras=false, bool verbose=false)
 
QPCL_ENGINE_LIB_API PCLTextureMesh::Ptr PclTools::CreateTexturingMesh (const std::string &filePath, const cloudViewer::camera::PinholeCameraTrajectory &cameraTrajectory, bool show_cameras=false, bool verbose=false)
 
PCLTextureMesh::Ptr PclTools::CreateTexturingMesh (const PCLMesh::ConstPtr &triangles, const pcl::texture_mapping::CameraVector &cameras, bool show_cameras=false, bool verbose=false)
 
int PclTools::GetDefaultScalarInterpolationForDataSet (vtkDataSet *data)
 
void PclTools::CreateActorFromVTKDataSet (const vtkSmartPointer< vtkDataSet > &data, vtkSmartPointer< vtkActor > &actor, bool use_scalars=true, bool use_vbos=false)
 Internal method. Creates a vtk actor from a vtk polydata object. More...
 
void PclTools::CreateActorFromVTKDataSet (const vtkSmartPointer< vtkDataSet > &data, vtkSmartPointer< vtkLODActor > &actor, bool use_scalars=true, bool use_vbos=false)
 Internal method. Creates a vtk actor from a vtk polydata object. More...
 
void PclTools::AllocVtkUnstructuredGrid (vtkSmartPointer< vtkUnstructuredGrid > &polydata)
 Allocate a new unstructured grid smartpointer. For internal use only. More...
 
bool PclTools::UpdateScalarBar (vtkAbstractWidget *widget, const CC_DRAW_CONTEXT &CONTEXT)
 
bool PclTools::TransformPolyData (vtkSmartPointer< vtkPolyData > polyData, const ccGLMatrixd &trans)
 
bool PclTools::TransformVtkPoints (vtkSmartPointer< vtkPoints > points, const ccGLMatrixd &trans)
 
vtkSmartPointer< vtkPoints > PclTools::GetVtkPointsFromLineSet (const cloudViewer::geometry::LineSet &lineset)
 
bool PclTools::GetVtkPointsAndLinesFromLineSet (const cloudViewer::geometry::LineSet &lineset, vtkSmartPointer< vtkPoints > points, vtkSmartPointer< vtkCellArray > lines, vtkSmartPointer< vtkUnsignedCharArray > colors)
 
vtkSmartPointer< vtkPolyData > PclTools::CreateCoordinateFromLineSet (const cloudViewer::geometry::LineSet &lineset)
 
vtkSmartPointer< vtkPolyData > PclTools::CreatePolyDataFromLineSet (const cloudViewer::geometry::LineSet &lineset, bool useLineSource=true)
 
void PclTools::SetPolyDataColor (vtkSmartPointer< vtkPolyData > polyData, const ecvColor::Rgb &color, bool is_cell=false)
 
void PclTools::AddPolyDataCell (vtkSmartPointer< vtkPolyData > polyData)
 
vtkSmartPointer< vtkPolyData > PclTools::CreateLine (vtkSmartPointer< vtkPoints > points)
 
vtkSmartPointer< vtkPolyData > PclTools::CreateLine (vtkSmartPointer< vtkPoints > points, vtkSmartPointer< vtkCellArray > lines, vtkSmartPointer< vtkUnsignedCharArray > colors)
 
vtkSmartPointer< vtkPolyData > PclTools::CreateCube (double width, double height, double depth, const ccGLMatrixd &trans)
 
vtkSmartPointer< vtkPolyData > PclTools::CreateCube (double width, double height, double depth)
 
vtkSmartPointer< vtkPolyData > PclTools::CreateGBLSensor (const ccGBLSensor *gBLSensor)
 
vtkSmartPointer< vtkPolyData > PclTools::CreateCameraSensor (const ccCameraSensor *cameraSensor, const ecvColor::Rgb &lineColor, const ecvColor::Rgb &planeColor)
 
vtkSmartPointer< vtkPolyData > PclTools::CreatePlane (const pcl::ModelCoefficients &coefficients, double x, double y, double z, double scale=1)
 
vtkSmartPointer< vtkPolyData > PclTools::CreatePlane (const pcl::ModelCoefficients &coefficients)
 
vtkSmartPointer< vtkPropAssembly > PclTools::CreateCoordinate (double axesLength=1.5, const std::string &xLabel="x", const std::string &yLabel="y", const std::string &zLabel="z", const std::string &xPlus="R", const std::string &xMinus="L", const std::string &yPlus="A", const std::string &yMinus="P", const std::string &zPlus="I", const std::string &zMinus="S")