| TerraLib 4.1

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files
- Examples

- File List
- File Members

E:/Projetos_Primeiro_Semestre_2012/TerraView/terralib/src/terralib/drivers/DXF/tedxflayer.h
Go to the documentation of this file.

    00001 /*********************************
    00002  * FUNCATE - GIS development team
    00003  *
    00004  * Tdk Framework
    00005  *********************************/
    00012 #ifndef _TEDXFLAYER_H
    00013 #define _TEDXFLAYER_H
    00014
    00015 #include "tedxfdefines.h"
    00016 #include <string>
    00017 using namespace std;
    00018 #include "TeGeometry.h"
    00019
    00020 class TePoint;
    00021 class TeLine2D;
    00022 class TePolygon;
    00023
    00027 class TEDXF_DLL TeDXFLayer
    00028 {
    00029   public:
    00032         TeDXFLayer(const string & layerName);
    00033
    00036         ~TeDXFLayer();
    00037
    00040         const string getName() const;
    00041
    00044         void addPoint(const TePoint & pt);
    00045
    00048         void addLine(const TeLine2D & line);
    00049
    00052         void addPolygon(const TePolygon & poly);
    00053
    00054     //Return the point collection.
    00055     const TePointSet getPoints() const;
    00056
    00057     //Returns the line collection.
    00058     const TeLineSet getLines() const;
    00059
    00060     //Returns the polygon collection.
    00061     const TePolygonSet getPolygons() const;
    00062
    00063     void setVisible(const bool & value);
    00064
    00065     const bool getVisible() const;
    00066
    00067
    00068   protected:
    00069     string name_;
    00070
    00071     bool _visible;
    00072
    00073     TePointSet _points;
    00074
    00075     TeLineSet _lines;
    00076
    00077     TePolygonSet _polygons;
    00078
    00079
    00080   private:
    00083         TeDXFLayer(const TeDXFLayer & source);
    00084
    00087         TeDXFLayer & operator=(const TeDXFLayer & source);
    00088
    00089 };
    00090 #endif

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines