Main MRPT website > C++ reference for MRPT 1.9.9
Classes | Macros | Functions | Variables
PbMapMaker.cpp File Reference
#include "pbmap-precomp.h"
#include <mrpt/math/types_math.h>
#include <pcl/features/integral_image_normal.h>
#include <pcl/features/normal_3d.h>
#include <pcl/ModelCoefficients.h>
#include <pcl/segmentation/organized_multi_plane_segmentation.h>
#include <pcl/segmentation/organized_connected_component_segmentation.h>
#include <pcl/filters/extract_indices.h>
#include <pcl/filters/voxel_grid.h>
#include <pcl/common/transforms.h>
#include <pcl/common/time.h>
#include <mrpt/config/CConfigFile.h>
#include <mrpt/pbmap/PbMapMaker.h>
#include <mutex>
#include <iostream>
Include dependency graph for PbMapMaker.cpp:

Go to the source code of this file.

Classes

struct  config_pbmap
 

Macros

#define WATCH_UNARY   0
 
#define WATCH_BINARY   0
 
#define WATCH_COLOR   1
 

Functions

double BhattacharyyaDist (std::vector< float > &hist1, std::vector< float > &hist2)
 
void readConfigFile (const string &config_file_name)
 
void keyboardEventOccurred (const pcl::visualization::KeyboardEvent &event, void *viewer_void)
 

Variables

std::mutex CS_visualize
 
struct config_pbmap configPbMap
 
bool graphRepresentation = false
 
unsigned char red [10] = {255, 0, 0, 255, 255, 0, 255, 204, 0, 255}
 
unsigned char grn [10] = {0, 255, 0, 255, 0, 255, 160, 51, 128, 222}
 
unsigned char blu [10] = {0, 0, 255, 0, 255, 255, 0, 204, 0, 173}
 
double ared [10] = {1.0, 0, 0, 1.0, 1.0, 0, 1.0, 0.8, 0, 1.0}
 
double agrn [10] = {0, 1.0, 0, 1.0, 0, 1.0, 0.6, 0.2, 0.5, 0.9}
 
double ablu [10] = {0, 0, 1.0, 0, 1.0, 1.0, 0, 0.8, 0, 0.7}
 

Macro Definition Documentation

◆ WATCH_BINARY

#define WATCH_BINARY   0

Definition at line 41 of file PbMapMaker.cpp.

◆ WATCH_COLOR

#define WATCH_COLOR   1

Definition at line 42 of file PbMapMaker.cpp.

◆ WATCH_UNARY

#define WATCH_UNARY   0

Definition at line 40 of file PbMapMaker.cpp.

Function Documentation

◆ BhattacharyyaDist()

double BhattacharyyaDist ( std::vector< float > &  hist1,
std::vector< float > &  hist2 
)

Definition at line 51 of file PbMapMaker.cpp.

Referenced by mrpt::pbmap::PbMapMaker::watchProperties().

◆ keyboardEventOccurred()

void keyboardEventOccurred ( const pcl::visualization::KeyboardEvent &  event,
void viewer_void 
)

Definition at line 1206 of file PbMapMaker.cpp.

References graphRepresentation.

Referenced by mrpt::pbmap::PbMapMaker::run().

◆ readConfigFile()

void readConfigFile ( const string config_file_name)

Variable Documentation

◆ ablu

double ablu[10] = {0, 0, 1.0, 0, 1.0, 1.0, 0, 0.8, 0, 0.7}

Definition at line 1304 of file PbMapMaker.cpp.

Referenced by mrpt::pbmap::PbMapMaker::viz_cb().

◆ agrn

double agrn[10] = {0, 1.0, 0, 1.0, 0, 1.0, 0.6, 0.2, 0.5, 0.9}

Definition at line 1303 of file PbMapMaker.cpp.

Referenced by mrpt::pbmap::PbMapMaker::viz_cb().

◆ ared

double ared[10] = {1.0, 0, 0, 1.0, 1.0, 0, 1.0, 0.8, 0, 1.0}

Definition at line 1302 of file PbMapMaker.cpp.

Referenced by mrpt::pbmap::PbMapMaker::viz_cb().

◆ blu

unsigned char blu[10] = {0, 0, 255, 0, 255, 255, 0, 204, 0, 173}

Definition at line 1300 of file PbMapMaker.cpp.

Referenced by mrpt::pbmap::PbMapMaker::viz_cb().

◆ configPbMap

struct config_pbmap configPbMap

◆ CS_visualize

std::mutex CS_visualize

◆ graphRepresentation

bool graphRepresentation = false

Definition at line 1205 of file PbMapMaker.cpp.

Referenced by keyboardEventOccurred(), and mrpt::pbmap::PbMapMaker::viz_cb().

◆ grn

unsigned char grn[10] = {0, 255, 0, 255, 0, 255, 160, 51, 128, 222}

Definition at line 1299 of file PbMapMaker.cpp.

Referenced by mrpt::pbmap::PbMapMaker::viz_cb().

◆ red

unsigned char red[10] = {255, 0, 0, 255, 255, 0, 255, 204, 0, 255}



Page generated by Doxygen 1.8.17 for MRPT 1.9.9 Git: ad3a9d8ae Tue May 1 23:10:22 2018 -0700 at miƩ 12 jul 2023 10:03:34 CEST