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

#include <pcl/recognition/mask_map.h>

Public Member Functions

 MaskMap ()
 
 MaskMap (size_t width, size_t height)
 
virtual ~MaskMap ()
 
void resize (size_t width, size_t height)
 
size_t getWidth () const
 
size_t getHeight () const
 
unsigned char * getData ()
 
const unsigned char * getData () const
 
void set (const size_t x, const size_t y)
 
void unset (const size_t x, const size_t y)
 
bool isSet (const size_t x, const size_t y) const
 
void reset ()
 
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 erode (MaskMap &eroded_mask) const
 

Static Public Member Functions

static void getDifferenceMask (const MaskMap &mask0, const MaskMap &mask1, MaskMap &diff_mask)
 

Detailed Description

Definition at line 46 of file mask_map.h.

Constructor & Destructor Documentation

pcl::MaskMap::MaskMap ( )
pcl::MaskMap::MaskMap ( size_t  width,
size_t  height 
)
virtual pcl::MaskMap::~MaskMap ( )
virtual

Member Function Documentation

void pcl::MaskMap::erode ( MaskMap eroded_mask) const
unsigned char* pcl::MaskMap::getData ( )
inline
const unsigned char* pcl::MaskMap::getData ( ) const
inline

Definition at line 66 of file mask_map.h.

static void pcl::MaskMap::getDifferenceMask ( const MaskMap mask0,
const MaskMap mask1,
MaskMap diff_mask 
)
static
size_t pcl::MaskMap::getHeight ( ) const
inline
size_t pcl::MaskMap::getWidth ( ) const
inline
bool pcl::MaskMap::isSet ( const size_t  x,
const size_t  y 
) const
inline

Definition at line 86 of file mask_map.h.

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

Definition at line 98 of file mask_map.h.

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

Definition at line 104 of file mask_map.h.

void pcl::MaskMap::reset ( )
inline

Definition at line 92 of file mask_map.h.

void pcl::MaskMap::resize ( size_t  width,
size_t  height 
)
void pcl::MaskMap::set ( const size_t  x,
const size_t  y 
)
inline

Definition at line 74 of file mask_map.h.

void pcl::MaskMap::unset ( const size_t  x,
const size_t  y 
)
inline

Definition at line 80 of file mask_map.h.


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