Point Cloud Library (PCL) 1.15.1
Loading...
Searching...
No Matches
pcl::recognition::ORROctreeZProjection Class Reference

#include <pcl/recognition/ransac_based/orr_octree_zprojection.h>

Classes

class  Pixel
class  Set

Public Member Functions

 ORROctreeZProjection ()=default
virtual ~ORROctreeZProjection ()
void build (const ORROctree &input, float eps_front, float eps_back)
void clear ()
void getPixelCoordinates (const float *p, int &x, int &y) const
const PixelgetPixel (const float *p) const
PixelgetPixel (const float *p)
const std::set< ORROctree::Node *, bool(*)(ORROctree::Node *, ORROctree::Node *)> * getOctreeNodes (const float *p) const
std::list< Pixel * > & getFullPixels ()
const PixelgetPixel (int i, int j) const
float getPixelSize () const
const float * getBounds () const
void getNumberOfPixels (int &num_x, int &num_y) const
 Get the width ('num_x') and height ('num_y') of the image.

Protected Attributes

float pixel_size_
float inv_pixel_size_
float bounds_ [4]
float extent_x_
float extent_y_
int num_pixels_x_
int num_pixels_y_
int num_pixels_
Pixel *** pixels_ {nullptr}
Set *** sets_ {nullptr}
std::list< Set * > full_sets_
std::list< Pixel * > full_pixels_

Detailed Description

Definition at line 56 of file orr_octree_zprojection.h.

Constructor & Destructor Documentation

◆ ORROctreeZProjection()

pcl::recognition::ORROctreeZProjection::ORROctreeZProjection ( )
default

◆ ~ORROctreeZProjection()

virtual pcl::recognition::ORROctreeZProjection::~ORROctreeZProjection ( )
inlinevirtual

Definition at line 118 of file orr_octree_zprojection.h.

References clear().

Member Function Documentation

◆ build()

void pcl::recognition::ORROctreeZProjection::build ( const ORROctree & input,
float eps_front,
float eps_back )

◆ clear()

void pcl::recognition::ORROctreeZProjection::clear ( )

Referenced by ~ORROctreeZProjection().

◆ getBounds()

const float * pcl::recognition::ORROctreeZProjection::getBounds ( ) const
inline

Definition at line 185 of file orr_octree_zprojection.h.

References bounds_.

◆ getFullPixels()

std::list< Pixel * > & pcl::recognition::ORROctreeZProjection::getFullPixels ( )
inline

Definition at line 170 of file orr_octree_zprojection.h.

References full_pixels_.

◆ getNumberOfPixels()

void pcl::recognition::ORROctreeZProjection::getNumberOfPixels ( int & num_x,
int & num_y ) const
inline

Get the width ('num_x') and height ('num_y') of the image.

Definition at line 192 of file orr_octree_zprojection.h.

References num_pixels_x_, and num_pixels_y_.

◆ getOctreeNodes()

const std::set< ORROctree::Node *, bool(*)(ORROctree::Node *, ORROctree::Node *)> * pcl::recognition::ORROctreeZProjection::getOctreeNodes ( const float * p) const
inline

◆ getPixel() [1/3]

Pixel * pcl::recognition::ORROctreeZProjection::getPixel ( const float * p)
inline

Definition at line 145 of file orr_octree_zprojection.h.

References getPixelCoordinates(), num_pixels_x_, num_pixels_y_, and pixels_.

◆ getPixel() [2/3]

const Pixel * pcl::recognition::ORROctreeZProjection::getPixel ( const float * p) const
inline

Definition at line 134 of file orr_octree_zprojection.h.

References getPixelCoordinates(), num_pixels_x_, num_pixels_y_, and pixels_.

◆ getPixel() [3/3]

const Pixel * pcl::recognition::ORROctreeZProjection::getPixel ( int i,
int j ) const
inline

Definition at line 173 of file orr_octree_zprojection.h.

References pixels_.

◆ getPixelCoordinates()

void pcl::recognition::ORROctreeZProjection::getPixelCoordinates ( const float * p,
int & x,
int & y ) const
inline

Definition at line 127 of file orr_octree_zprojection.h.

References bounds_, and inv_pixel_size_.

Referenced by getOctreeNodes(), getPixel(), and getPixel().

◆ getPixelSize()

float pcl::recognition::ORROctreeZProjection::getPixelSize ( ) const
inline

Definition at line 179 of file orr_octree_zprojection.h.

References pixel_size_.

Member Data Documentation

◆ bounds_

float pcl::recognition::ORROctreeZProjection::bounds_[4]
protected

Definition at line 199 of file orr_octree_zprojection.h.

Referenced by getBounds(), and getPixelCoordinates().

◆ extent_x_

float pcl::recognition::ORROctreeZProjection::extent_x_
protected

Definition at line 199 of file orr_octree_zprojection.h.

◆ extent_y_

float pcl::recognition::ORROctreeZProjection::extent_y_
protected

Definition at line 199 of file orr_octree_zprojection.h.

◆ full_pixels_

std::list<Pixel*> pcl::recognition::ORROctreeZProjection::full_pixels_
protected

Definition at line 204 of file orr_octree_zprojection.h.

Referenced by getFullPixels().

◆ full_sets_

std::list<Set*> pcl::recognition::ORROctreeZProjection::full_sets_
protected

Definition at line 203 of file orr_octree_zprojection.h.

◆ inv_pixel_size_

float pcl::recognition::ORROctreeZProjection::inv_pixel_size_
protected

Definition at line 199 of file orr_octree_zprojection.h.

Referenced by getPixelCoordinates().

◆ num_pixels_

int pcl::recognition::ORROctreeZProjection::num_pixels_
protected

Definition at line 200 of file orr_octree_zprojection.h.

◆ num_pixels_x_

int pcl::recognition::ORROctreeZProjection::num_pixels_x_
protected

Definition at line 200 of file orr_octree_zprojection.h.

Referenced by getNumberOfPixels(), getOctreeNodes(), getPixel(), and getPixel().

◆ num_pixels_y_

int pcl::recognition::ORROctreeZProjection::num_pixels_y_
protected

Definition at line 200 of file orr_octree_zprojection.h.

Referenced by getNumberOfPixels(), getOctreeNodes(), getPixel(), and getPixel().

◆ pixel_size_

float pcl::recognition::ORROctreeZProjection::pixel_size_
protected

Definition at line 199 of file orr_octree_zprojection.h.

Referenced by getPixelSize().

◆ pixels_

Pixel*** pcl::recognition::ORROctreeZProjection::pixels_ {nullptr}
protected

Definition at line 201 of file orr_octree_zprojection.h.

Referenced by getPixel(), getPixel(), and getPixel().

◆ sets_

Set*** pcl::recognition::ORROctreeZProjection::sets_ {nullptr}
protected

Definition at line 202 of file orr_octree_zprojection.h.

Referenced by getOctreeNodes().


The documentation for this class was generated from the following file: