48#include "orr_octree.h"
49#include <pcl/pcl_exports.h>
166 return (&
sets_[x][y]->get_nodes ());
169 inline std::list<Pixel*>&
That's a very specialized and simple octree class.
std::set< ORROctree::Node *, bool(*)(ORROctree::Node *, ORROctree::Node *)> & get_nodes()
static bool compare_nodes_z(ORROctree::Node *node1, ORROctree::Node *node2)
std::set< ORROctree::Node *, bool(*)(ORROctree::Node *, ORROctree::Node *)> nodes_
void insert(ORROctree::Node *leaf)
ORROctreeZProjection()=default
std::list< Pixel * > & getFullPixels()
const Pixel * getPixel(int i, int j) const
const std::set< ORROctree::Node *, bool(*)(ORROctree::Node *, ORROctree::Node *)> * getOctreeNodes(const float *p) const
void getPixelCoordinates(const float *p, int &x, int &y) const
void getNumberOfPixels(int &num_x, int &num_y) const
Get the width ('num_x') and height ('num_y') of the image.
std::list< Set * > full_sets_
virtual ~ORROctreeZProjection()
void build(const ORROctree &input, float eps_front, float eps_back)
Pixel * getPixel(const float *p)
std::list< Pixel * > full_pixels_
float getPixelSize() const
const Pixel * getPixel(const float *p) const
const float * getBounds() const