Point Cloud Library (PCL)  1.9.1-dev
List of all members | Public Member Functions | Static Public Member Functions | Public Attributes
pcl::QuantizedMap Class Reference

#include <pcl/recognition/quantized_map.h>

Public Member Functions

 QuantizedMap ()
 
 QuantizedMap (std::size_t width, std::size_t height)
 
 QuantizedMap (const QuantizedMap &copy_me)
 
virtual ~QuantizedMap ()
 
std::size_t getWidth () const
 
std::size_t getHeight () const
 
unsigned char * getData ()
 
const unsigned char * getData () const
 
QuantizedMap getSubMap (std::size_t x, std::size_t y, std::size_t width, std::size_t height)
 
void resize (std::size_t width, std::size_t height)
 
unsigned char & operator() (const std::size_t x, const std::size_t y)
 
const unsigned char & operator() (const std::size_t x, const std::size_t y) const
 
void serialize (std::ostream &stream) const
 
void deserialize (std::istream &stream)
 

Static Public Member Functions

static void spreadQuantizedMap (const QuantizedMap &input_map, QuantizedMap &output_map, std::size_t spreading_size)
 

Public Attributes

std::vector< unsigned char > data_
 
std::size_t width_
 
std::size_t height_
 

Detailed Description

Definition at line 45 of file quantized_map.h.

Constructor & Destructor Documentation

◆ QuantizedMap() [1/3]

pcl::QuantizedMap::QuantizedMap ( )

◆ QuantizedMap() [2/3]

pcl::QuantizedMap::QuantizedMap ( std::size_t  width,
std::size_t  height 
)

◆ QuantizedMap() [3/3]

pcl::QuantizedMap::QuantizedMap ( const QuantizedMap copy_me)

◆ ~QuantizedMap()

virtual pcl::QuantizedMap::~QuantizedMap ( )
virtual

Member Function Documentation

◆ deserialize()

void pcl::QuantizedMap::deserialize ( std::istream &  stream)
inline

Definition at line 125 of file quantized_map.h.

◆ getData() [1/2]

unsigned char* pcl::QuantizedMap::getData ( )
inline

◆ getData() [2/2]

const unsigned char* pcl::QuantizedMap::getData ( ) const
inline

Definition at line 65 of file quantized_map.h.

◆ getHeight()

std::size_t pcl::QuantizedMap::getHeight ( ) const
inline

Definition at line 59 of file quantized_map.h.

◆ getSubMap()

QuantizedMap pcl::QuantizedMap::getSubMap ( std::size_t  x,
std::size_t  y,
std::size_t  width,
std::size_t  height 
)
inline

Definition at line 68 of file quantized_map.h.

◆ getWidth()

std::size_t pcl::QuantizedMap::getWidth ( ) const
inline

Definition at line 56 of file quantized_map.h.

◆ operator()() [1/2]

unsigned char& pcl::QuantizedMap::operator() ( const std::size_t  x,
const std::size_t  y 
)
inline

Definition at line 93 of file quantized_map.h.

◆ operator()() [2/2]

const unsigned char& pcl::QuantizedMap::operator() ( const std::size_t  x,
const std::size_t  y 
) const
inline

Definition at line 99 of file quantized_map.h.

◆ resize()

void pcl::QuantizedMap::resize ( std::size_t  width,
std::size_t  height 
)

◆ serialize()

void pcl::QuantizedMap::serialize ( std::ostream &  stream) const
inline

Definition at line 108 of file quantized_map.h.

◆ spreadQuantizedMap()

static void pcl::QuantizedMap::spreadQuantizedMap ( const QuantizedMap input_map,
QuantizedMap output_map,
std::size_t  spreading_size 
)
static

Member Data Documentation

◆ data_

std::vector<unsigned char> pcl::QuantizedMap::data_

Definition at line 147 of file quantized_map.h.

◆ height_

std::size_t pcl::QuantizedMap::height_

Definition at line 149 of file quantized_map.h.

◆ width_

std::size_t pcl::QuantizedMap::width_

Definition at line 148 of file quantized_map.h.


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