#include <mask_map.h>
Public Member Functions | |
void | erode (MaskMap &eroded_mask) const |
unsigned char * | getData () |
const unsigned char * | getData () const |
size_t | getHeight () const |
size_t | getWidth () const |
bool | isSet (const size_t x, const size_t y) const |
MaskMap () | |
MaskMap (size_t width, size_t height) | |
unsigned char & | operator() (const size_t x, const size_t y) |
const unsigned char & | operator() (const size_t x, const size_t y) const |
void | reset () |
void | resize (size_t width, size_t height) |
void | set (const size_t x, const size_t y) |
void | unset (const size_t x, const size_t y) |
virtual | ~MaskMap () |
Static Public Member Functions | |
static void | getDifferenceMask (const MaskMap &mask0, const MaskMap &mask1, MaskMap &diff_mask) |
Private Attributes | |
std::vector< unsigned char > | data_ |
size_t | height_ |
size_t | width_ |
Definition at line 47 of file mask_map.h.
Definition at line 43 of file mask_map.cpp.
pcl::MaskMap::MaskMap | ( | size_t | width, |
size_t | height | ||
) |
Definition at line 49 of file mask_map.cpp.
pcl::MaskMap::~MaskMap | ( | ) | [virtual] |
Definition at line 56 of file mask_map.cpp.
void pcl::MaskMap::erode | ( | MaskMap & | eroded_mask | ) | const |
Definition at line 100 of file mask_map.cpp.
unsigned char* pcl::MaskMap::getData | ( | ) | [inline] |
Definition at line 64 of file mask_map.h.
const unsigned char* pcl::MaskMap::getData | ( | ) | const [inline] |
Definition at line 67 of file mask_map.h.
void pcl::MaskMap::getDifferenceMask | ( | const MaskMap & | mask0, |
const MaskMap & | mask1, | ||
MaskMap & | diff_mask | ||
) | [static] |
Definition at line 72 of file mask_map.cpp.
size_t pcl::MaskMap::getHeight | ( | ) | const [inline] |
Definition at line 61 of file mask_map.h.
size_t pcl::MaskMap::getWidth | ( | ) | const [inline] |
Definition at line 58 of file mask_map.h.
bool pcl::MaskMap::isSet | ( | const size_t | x, |
const size_t | y | ||
) | const [inline] |
Definition at line 87 of file mask_map.h.
unsigned char& pcl::MaskMap::operator() | ( | const size_t | x, |
const size_t | y | ||
) | [inline] |
Definition at line 99 of file mask_map.h.
const unsigned char& pcl::MaskMap::operator() | ( | const size_t | x, |
const size_t | y | ||
) | const [inline] |
Definition at line 105 of file mask_map.h.
void pcl::MaskMap::reset | ( | ) | [inline] |
Definition at line 93 of file mask_map.h.
void pcl::MaskMap::resize | ( | size_t | width, |
size_t | height | ||
) |
Definition at line 62 of file mask_map.cpp.
void pcl::MaskMap::set | ( | const size_t | x, |
const size_t | y | ||
) | [inline] |
Definition at line 75 of file mask_map.h.
void pcl::MaskMap::unset | ( | const size_t | x, |
const size_t | y | ||
) | [inline] |
Definition at line 81 of file mask_map.h.
std::vector<unsigned char> pcl::MaskMap::data_ [private] |
Definition at line 115 of file mask_map.h.
size_t pcl::MaskMap::height_ [private] |
Definition at line 117 of file mask_map.h.
size_t pcl::MaskMap::width_ [private] |
Definition at line 116 of file mask_map.h.