Fire Core  8.0.0.alpha
GIS framework per tutti gli usi
 Tutto Classi Namespace Funzioni Variabili Ridefinizioni di tipo (typedef) Tipi enumerati (enum) Valori del tipo enumerato Friend
Painter.hpp
1 // Copyright 2015 GEOSYSTEMS SRL
2 // All Rights Reserved.
3 
4 #ifndef FIRE_GRAPHICS_PAINTER_HPP_INCLUDED
5 #define FIRE_GRAPHICS_PAINTER_HPP_INCLUDED
6 
7 #include <exception>
8 
9 #include "fire/graphics/IGraphicContext.hpp"
10 #include "fire/source/vector/DataRow.hpp"
11 #include "fire/gear/geom/Geometry.hpp"
12 
19 namespace fire {
26 namespace graphics {
33 class FIRE_GIS_DLL Painter {
34  public:
35  typedef boost::shared_ptr< Painter > PainterShp;
36 
37  public:
44  Painter() {}
61  virtual void draw(const graphics::IGraphicContext& grph, const fire::gear::geom::Geometry & geom) = 0;
83  virtual void draw(const graphics::IGraphicContext& grph, const gear::geom::Geometry& geom, const source::vector::DataRow& data) = 0;
84 };
85 } // namespace graphics
86 } // namespace fire
87 
88 #endif
Definition: IGraphicContext.hpp:15
Painter()
Definition: Painter.hpp:44
Definition: Geometry.hpp:69
Definition: Painter.hpp:33
Oggetto per l'accesso alle colonne di una riga di dati.
Definition: DataRow.hpp:32