8 #ifndef GlobeEngine_PolygonFeatureObject_h
9 #define GlobeEngine_PolygonFeatureObject_h
14 #include "OpenGL_Includes.h"
27 std::vector< vmml::Vector3d >
points;
40 void create(std::shared_ptr<ge::Shader> _shader, std::string _name, vmml::Vector3f _color);
41 void create(std::shared_ptr<ge::Shader> _shader, std::string _name,
const GLuint _uid,
const GLuint _guid, vmml::Vector3f _color, vmml::Vector3d _position, vmml::Vector3d _scale, vmml::Vector3d _rotations);
43 void draw(std::shared_ptr<ge::Camera> _cam);
50 void addPolygon(std::shared_ptr<geData::PolyLine> _polyline);
64 void copyColorInformationToGPU(vmml::Vector3d _pickcolor = vmml::Vector3d(0.0, 0.0, 0.0),
int _picked = -1,
const std::shared_ptr<geData::ColorisationTable>& _colorTable = NULL);
74 shpio::SHPFileExportContainer*
getExportContainer(std::shared_ptr<ReferenceSystem> _referenceSystem);
std::vector< int > entityAssociation
Definition: PolygonFeatureObject.h:85
GEOMETRYDRAWMODE
Definition: FeatureObject.h:37
bool isTriangulated()
Definition: PolygonFeatureObject.h:57
void load3DLines(geGIS::FeatureRange _range)
Definition: PolygonFeatureObject.cpp:105
void addPolygon(std::shared_ptr< geData::PolyLine > _polyline)
Definition: PolygonFeatureObject.cpp:152
std::vector< int > entityStartIndex
Definition: PolygonFeatureObject.h:84
Definition: ClusterGrid.h:17
void create()
Definition: PolygonFeatureObject.cpp:32
void load2DPolygonsWithLimitedLines(geGIS::FeatureRange _entityRange, geGIS::FeatureRange _lineRange)
Definition: PolygonFeatureObject.cpp:114
void resetColor()
Definition: PolygonFeatureObject.cpp:82
void updateColorBuffer(vmml::Vector3f _color)
Definition: PolygonFeatureObject.cpp:168
Definition: FeatureObject.h:28
void clear()
Definition: PolygonFeatureObject.cpp:17
Definition: PolygonFeatureObject.h:23
Definition: PolygonFeatureObject.h:31
void load2DLines(geGIS::FeatureRange _range)
Definition: PolygonFeatureObject.cpp:96
std::shared_ptr< geData::MultiPolygonObject > multipolygonGeometry
Definition: PolygonFeatureObject.h:81
std::shared_ptr< geData::MultiLineObject > multilineGeometry
Definition: PolygonFeatureObject.h:80
virtual void createVAO(enum FeatureObject::GEOMETRYDRAWMODE _in)
Definition: PolygonFeatureObject.cpp:182
std::vector< std::vector< double > > entityWeightInfo
Definition: PolygonFeatureObject.h:88
std::vector< std::string > polygonNames
Definition: PolygonFeatureObject.h:92
std::string getPolygonName(int _idx)
Definition: PolygonFeatureObject.cpp:86
PolygonFeatureObject()
Definition: PolygonFeatureObject.cpp:8
void saveTriangulatedMesh(std::string _path)
Definition: PolygonFeatureObject.cpp:158
void loadData(std::string filename)
std::string nameurl
Definition: PolygonFeatureObject.h:94
std::vector< int > polygonStartIdx
Definition: PolygonFeatureObject.h:28
shpio::SHPFileExportContainer * getExportContainer(std::shared_ptr< ReferenceSystem > _referenceSystem)
Definition: PolygonFeatureObject.cpp:260
void setMinMaxWeightInformationToColumn(int _column)
Definition: PolygonFeatureObject.cpp:216
void update()
Definition: PolygonFeatureObject.cpp:77
void copyColorInformationToGPU(vmml::Vector3d _pickcolor=vmml::Vector3d(0.0, 0.0, 0.0), int _picked=-1, const std::shared_ptr< geData::ColorisationTable > &_colorTable=NULL)
Definition: PolygonFeatureObject.cpp:175
~PolygonFeatureObject()
Definition: PolygonFeatureObject.cpp:13
void draw(std::shared_ptr< ge::Camera > _cam)
Definition: PolygonFeatureObject.cpp:203
void clearInitial()
Definition: PolygonFeatureObject.cpp:22
std::vector< vmml::Vector3d > points
Definition: PolygonFeatureObject.h:27