shapes.h File Reference
Module visualization
`#include <pcl/ModelCoefficients.h>`
`#include <pcl/point_cloud.h>`
`#include <pcl/visualization/eigen.h>`
`#include <pcl/geometry/planar_polygon.h>`
`#include <pcl/visualization/common/impl/shapes.hpp>`

Go to the source code of this file.

## Detailed Description

Define methods or creating 3D shapes from parametric models

Definition in file shapes.h.

## Classes

class | vtkSmartPointer< T >

## Namespaces

| pcl
| This file defines compatibility wrappers for low level I/O functions.
| pcl::visualization

## Functions

template<typename PointT >
vtkSmartPointer< vtkDataSet > | pcl::visualization::createPolygon (const typename pcl::PointCloud< PointT >::ConstPtr &cloud)
| Create a 3d poly line from a set of points. More...
template<typename PointT >
vtkSmartPointer< vtkDataSet > | pcl::visualization::createPolygon (const pcl::PlanarPolygon< PointT > &planar_polygon)
| Create a 3d poly line from a set of points on the boundary of a planar region. More...
PCL_EXPORTS vtkSmartPointer< vtkDataSet > | pcl::visualization::createLine (const Eigen::Vector4f &pt1, const Eigen::Vector4f &pt2)
| Create a line shape from two points. More...
PCL_EXPORTS vtkSmartPointer< vtkDataSet > | pcl::visualization::createSphere (const Eigen::Vector4f &center, double radius, int res=10)
| Create a sphere shape from a point and a radius. More...
PCL_EXPORTS vtkSmartPointer< vtkDataSet > | pcl::visualization::createCylinder (const pcl::ModelCoefficients &coefficients, int numsides=30)
| Create a cylinder shape from a set of model coefficients. More...
PCL_EXPORTS vtkSmartPointer< vtkDataSet > | pcl::visualization::createSphere (const pcl::ModelCoefficients &coefficients, int res=10)
| Create a sphere shape from a set of model coefficients. More...
PCL_EXPORTS vtkSmartPointer< vtkDataSet > | pcl::visualization::createLine (const pcl::ModelCoefficients &coefficients)
| Create a line shape from a set of model coefficients. More...
PCL_EXPORTS vtkSmartPointer< vtkDataSet > | pcl::visualization::createPlane (const pcl::ModelCoefficients &coefficients)
| Create a planar shape from a set of model coefficients. More...
PCL_EXPORTS vtkSmartPointer< vtkDataSet > | pcl::visualization::createPlane (const pcl::ModelCoefficients &coefficients, double x, double y, double z)
| Create a planar shape from a set of model coefficients. More...
PCL_EXPORTS vtkSmartPointer< vtkDataSet > | pcl::visualization::create2DCircle (const pcl::ModelCoefficients &coefficients, double z=0.0)
| Create a 2d circle shape from a set of model coefficients. More...
PCL_EXPORTS vtkSmartPointer< vtkDataSet > | pcl::visualization::createCone (const pcl::ModelCoefficients &coefficients)
| Create a cone shape from a set of model coefficients. More...
PCL_EXPORTS vtkSmartPointer< vtkDataSet > | pcl::visualization::createCube (const pcl::ModelCoefficients &coefficients)
| Create a cube shape from a set of model coefficients. More...
PCL_EXPORTS vtkSmartPointer< vtkDataSet > | pcl::visualization::createCube (const Eigen::Vector3f &translation, const Eigen::Quaternionf &rotation, double width, double height, double depth)
| Create a cube shape from a set of model coefficients. More...
PCL_EXPORTS vtkSmartPointer< vtkDataSet > | pcl::visualization::createCube (double x_min, double x_max, double y_min, double y_max, double z_min, double z_max)
| Create a cube from a set of bounding points. More...
PCL_EXPORTS void | pcl::visualization::allocVtkUnstructuredGrid (vtkSmartPointer< vtkUnstructuredGrid > &polydata)
| Allocate a new unstructured grid smartpointer. More...