common.cpp
Go to the documentation of this file.
00001 // PCL
00002 #include <pcl/outofcore/visualization/common.h>
00003 
00004 // VTK
00005 #include <vtkPolyData.h>
00006 #include <vtkSmartPointer.h>
00007 #include <vtkCubeSource.h>
00008 
00009 vtkSmartPointer<vtkPolyData>
00010 getVtkCube (double x_min, double x_max, double y_min, double y_max, double z_min, double z_max)
00011 {
00012   vtkSmartPointer<vtkCubeSource> cube = vtkSmartPointer<vtkCubeSource>::New ();
00013   cube->SetBounds (x_min, x_max, y_min, y_max, z_min, z_max);
00014   return cube->GetOutput ();
00015 }


pcl
Author(s): Open Perception
autogenerated on Wed Aug 26 2015 15:22:49