Public Member Functions | |
OctreeViewer (std::string &filename, double resolution) | |
Private Member Functions | |
void | clearView () |
bool | DecrementLevel () |
void | extractPointsAtLevel (int depth) |
vtkSmartPointer< vtkPolyData > | GetCuboid (double minX, double maxX, double minY, double maxY, double minZ, double maxZ) |
bool | IncrementLevel () |
void | keyboardEventOccurred (const pcl::visualization::KeyboardEvent &event, void *) |
bool | loadCloud (std::string &filename) |
void | run () |
void | showCubes (double voxelSideLen) |
void | showLegend (bool showCubes) |
void | update () |
Private Attributes | |
pcl::PointCloud< pcl::PointXYZ > ::Ptr | cloud |
pcl::PointCloud< pcl::PointXYZ > ::Ptr | displayCloud |
bool | displayCubes |
int | displayedDepth |
pcl::octree::OctreePointCloudVoxelCentroid < pcl::PointXYZ > | octree |
bool | showPointsWithCubes |
pcl::visualization::PCLVisualizer | viz |
bool | wireframe |
pcl::PointCloud< pcl::PointXYZ > ::Ptr | xyz |
pcl::PointCloud < pcl::PointXYZRGB >::Ptr | xyz_rgb |
Definition at line 59 of file octree_viewer.cpp.
OctreeViewer::OctreeViewer | ( | std::string & | filename, |
double | resolution | ||
) | [inline] |
Definition at line 62 of file octree_viewer.cpp.
void OctreeViewer::clearView | ( | ) | [inline, private] |
Definition at line 259 of file octree_viewer.cpp.
bool OctreeViewer::DecrementLevel | ( | ) | [inline, private] |
Definition at line 369 of file octree_viewer.cpp.
void OctreeViewer::extractPointsAtLevel | ( | int | depth | ) | [inline, private] |
Definition at line 322 of file octree_viewer.cpp.
vtkSmartPointer<vtkPolyData> OctreeViewer::GetCuboid | ( | double | minX, |
double | maxX, | ||
double | minY, | ||
double | maxY, | ||
double | minZ, | ||
double | maxZ | ||
) | [inline, private] |
Definition at line 272 of file octree_viewer.cpp.
bool OctreeViewer::IncrementLevel | ( | ) | [inline, private] |
Definition at line 354 of file octree_viewer.cpp.
void OctreeViewer::keyboardEventOccurred | ( | const pcl::visualization::KeyboardEvent & | event, |
void * | |||
) | [inline, private] |
Definition at line 123 of file octree_viewer.cpp.
bool OctreeViewer::loadCloud | ( | std::string & | filename | ) | [inline, private] |
Definition at line 175 of file octree_viewer.cpp.
void OctreeViewer::run | ( | ) | [inline, private] |
Definition at line 161 of file octree_viewer.cpp.
void OctreeViewer::showCubes | ( | double | voxelSideLen | ) | [inline, private] |
Definition at line 282 of file octree_viewer.cpp.
void OctreeViewer::showLegend | ( | bool | showCubes | ) | [inline, private] |
Definition at line 202 of file octree_viewer.cpp.
void OctreeViewer::update | ( | ) | [inline, private] |
Definition at line 227 of file octree_viewer.cpp.
pcl::PointCloud<pcl::PointXYZ>::Ptr OctreeViewer::cloud [private] |
Definition at line 109 of file octree_viewer.cpp.
pcl::PointCloud<pcl::PointXYZ>::Ptr OctreeViewer::displayCloud [private] |
Definition at line 111 of file octree_viewer.cpp.
bool OctreeViewer::displayCubes [private] |
Definition at line 117 of file octree_viewer.cpp.
int OctreeViewer::displayedDepth [private] |
Definition at line 115 of file octree_viewer.cpp.
Definition at line 113 of file octree_viewer.cpp.
bool OctreeViewer::showPointsWithCubes [private] |
Definition at line 117 of file octree_viewer.cpp.
Definition at line 107 of file octree_viewer.cpp.
bool OctreeViewer::wireframe [private] |
Definition at line 117 of file octree_viewer.cpp.
pcl::PointCloud<pcl::PointXYZ>::Ptr OctreeViewer::xyz [private] |
Definition at line 104 of file octree_viewer.cpp.
pcl::PointCloud<pcl::PointXYZRGB>::Ptr OctreeViewer::xyz_rgb [private] |
Definition at line 105 of file octree_viewer.cpp.