Point Cloud Library (PCL)  1.12.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 ()=default
 
 MaskMap (std::size_t width, std::size_t height)
 
virtual ~MaskMap ()=default
 
void resize (std::size_t width, std::size_t height)
 
std::size_t getWidth () const
 
std::size_t getHeight () const
 
unsigned char * getData ()
 
const unsigned char * getData () const
 
void set (const std::size_t x, const std::size_t y)
 
void unset (const std::size_t x, const std::size_t y)
 
bool isSet (const std::size_t x, const std::size_t y) const
 
void reset ()
 
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 erode (MaskMap &eroded_mask) const
 

Static Public Member Functions

static PCL_NODISCARD MaskMap getDifferenceMask (const MaskMap &mask0, const MaskMap &mask1)
 

Detailed Description

Definition at line 45 of file mask_map.h.

Constructor & Destructor Documentation

◆ MaskMap() [1/2]

pcl::MaskMap::MaskMap ( )
default

◆ MaskMap() [2/2]

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

◆ ~MaskMap()

virtual pcl::MaskMap::~MaskMap ( )
virtualdefault

Member Function Documentation

◆ erode()

void pcl::MaskMap::erode ( MaskMap eroded_mask) const

◆ getData() [1/2]

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

◆ getData() [2/2]

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

Definition at line 75 of file mask_map.h.

◆ getDifferenceMask()

static PCL_NODISCARD MaskMap pcl::MaskMap::getDifferenceMask ( const MaskMap mask0,
const MaskMap mask1 
)
static

◆ getHeight()

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

◆ getWidth()

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

◆ isSet()

bool pcl::MaskMap::isSet ( const std::size_t  x,
const std::size_t  y 
) const
inline

Definition at line 97 of file mask_map.h.

◆ operator()() [1/2]

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

Definition at line 109 of file mask_map.h.

◆ operator()() [2/2]

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

Definition at line 115 of file mask_map.h.

◆ reset()

void pcl::MaskMap::reset ( )
inline

Definition at line 103 of file mask_map.h.

◆ resize()

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

◆ set()

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

Definition at line 85 of file mask_map.h.

◆ unset()

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

Definition at line 91 of file mask_map.h.


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