codac 1.5.6
Loading...
Searching...
No Matches
codac_VIBesFigPaving.h
Go to the documentation of this file.
1
12#ifndef __CODAC_VIBESFIGPAVING_H__
13#define __CODAC_VIBESFIGPAVING_H__
14
15#include <map>
16#include <string>
17#include "codac_VIBesFig.h"
18#include "codac_Paving.h"
19
20namespace codac
21{
22 typedef std::map<SetValue,std::string> SetColorMap;
23 extern SetColorMap DEFAULT_SET_COLOR_MAP;
24 extern SetColorMap LIE_SET_COLOR_MAP;
25
33 class VIBesFigPaving : public VIBesFig
34 {
35 public:
36
43 VIBesFigPaving(const std::string& fig_name, const Paving *paving);
44
50 void set_color_map(const SetColorMap& color_map);
51
55 void show();
56
57 protected:
58
66 void draw_paving(const Paving *paving);
67
68 protected:
69
71 std::map<SetValue,std::string> m_color_map;
72 };
73}
74
75#endif
Multi-dimensional paving as representation of a set.
Definition codac_Paving.h:30
Two-dimensional graphical item based on the VIBes viewer.
Definition codac_VIBesFig.h:38
Two-dimensional graphical item to display a Paving object.
Definition codac_VIBesFigPaving.h:34
void set_color_map(const SetColorMap &color_map)
Sets a custom color map.
void draw_paving(const Paving *paving)
Draws a paving object.
std::map< SetValue, std::string > m_color_map
custom color map
Definition codac_VIBesFigPaving.h:71
const Paving * m_paving
const pointer to the object to be displayed
Definition codac_VIBesFigPaving.h:70
VIBesFigPaving(const std::string &fig_name, const Paving *paving)
Creates a VIBesFigPaving.
void show()
Updates the display of the Paving object.
FixPoint of a separator The fixpoint of a separator is computed by calling the "::"separate function ...
Definition codac_capd_helpers.h:9
SetColorMap LIE_SET_COLOR_MAP
predefined LIE_SET_COLOR_MAP
SetColorMap DEFAULT_SET_COLOR_MAP
predefined DEFAULT_SET_COLOR_MAP