ed_rviz_plugins
Namespaces | Functions | Variables
world_model_display.cpp File Reference
#include <boost/make_shared.hpp>
#include <OGRE/OgreSceneNode.h>
#include <OGRE/OgreSceneManager.h>
#include <rviz/visualization_manager.h>
#include <rviz/properties/color_property.h>
#include <rviz/properties/float_property.h>
#include <rviz/properties/int_property.h>
#include <rviz/frame_manager.h>
#include "world_model_display.h"
#include "../visuals/entity_visual.h"
#include <algorithm>
#include <vector>
#include <pluginlib/class_list_macros.h>
Include dependency graph for world_model_display.cpp:

Go to the source code of this file.

Namespaces

 ed_rviz_plugins
 

Functions

unsigned int djb2 (const std::string &str)
 
std::vector< std::stringsplit (const std::string &str_to_split, char delimeter)
 
void stringsToRegexs (const std::string &str_to_split, std::vector< std::regex > &v_regex, char delimeter=';')
 

Variables

float COLORS [27][3]
 

Function Documentation

◆ djb2()

unsigned int djb2 ( const std::string str)

Definition at line 51 of file world_model_display.cpp.

◆ split()

std::vector<std::string> split ( const std::string str_to_split,
char  delimeter 
)

Definition at line 71 of file world_model_display.cpp.

◆ stringsToRegexs()

void stringsToRegexs ( const std::string str_to_split,
std::vector< std::regex > &  v_regex,
char  delimeter = ';' 
)

Definition at line 86 of file world_model_display.cpp.

Variable Documentation

◆ COLORS

float COLORS[27][3]
Initial value:
= { { 0.6, 0.6, 0.6},
{ 0.6, 0.6, 0.4},
{ 0.6, 0.6, 0.2},
{ 0.6, 0.4, 0.6},
{ 0.6, 0.4, 0.4},
{ 0.6, 0.4, 0.2},
{ 0.6, 0.2, 0.6},
{ 0.6, 0.2, 0.4},
{ 0.6, 0.2, 0.2},
{ 0.4, 0.6, 0.6},
{ 0.4, 0.6, 0.4},
{ 0.4, 0.6, 0.2},
{ 0.4, 0.4, 0.6},
{ 0.4, 0.4, 0.4},
{ 0.4, 0.4, 0.2},
{ 0.4, 0.2, 0.6},
{ 0.4, 0.2, 0.4},
{ 0.4, 0.2, 0.2},
{ 0.2, 0.6, 0.6},
{ 0.2, 0.6, 0.4},
{ 0.2, 0.6, 0.2},
{ 0.2, 0.4, 0.6},
{ 0.2, 0.4, 0.4},
{ 0.2, 0.4, 0.2},
{ 0.2, 0.2, 0.6},
{ 0.2, 0.2, 0.4},
{ 0.2, 0.2, 0.2}
}

Definition at line 20 of file world_model_display.cpp.