codac
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 
20 namespace 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 
70  const Paving *m_paving;
71  std::map<SetValue,std::string> m_color_map;
72  };
73 }
74 
75 #endif
FixPoint of a separator The fixpoint of a separator is computed by calling the "::"separate function ...
Definition: codac_capd_helpers.h:9
void show()
Updates the display of the Paving object.
SetColorMap DEFAULT_SET_COLOR_MAP
predefined DEFAULT_SET_COLOR_MAP
SetColorMap LIE_SET_COLOR_MAP
predefined LIE_SET_COLOR_MAP
VIBesFigPaving(const std::string &fig_name, const Paving *paving)
Creates a VIBesFigPaving.
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
void set_color_map(const SetColorMap &color_map)
Sets a custom color map.
void draw_paving(const Paving *paving)
Draws a paving object.
Two-dimensional graphical item based on the VIBes viewer.
Definition: codac_VIBesFig.h:37
Two-dimensional graphical item to display a Paving object.
Definition: codac_VIBesFigPaving.h:33
Multi-dimensional paving as representation of a set.
Definition: codac_Paving.h:29