9 #ifndef GlobeEngine_StyleCollection_h
10 #define GlobeEngine_StyleCollection_h
12 #include <vmmlib/vmmlib.hpp>
13 #include "OpenGL_Includes.h"
39 std::vector< std::shared_ptr<StylePiece> >
strokes;
41 Style(std::string _name, std::string _value,
double _strokeWidth) :
42 name(_name), value(_value), strokeWidth(_strokeWidth){}
63 void addStyle(std::shared_ptr<Style> _style);
84 std::string attribute;
85 std::string attributeType;
86 std::vector< std::shared_ptr<Style> > styles;
88 double lineConfigRadius;
89 double lineConfigMaxRadius;
std::vector< std::shared_ptr< StylePiece > > strokes
Definition: StyleCollection.h:39
int getStyleCount()
Definition: StyleCollection.cpp:45
~StyleCollection()
Definition: StyleCollection.cpp:16
void setLineConfigRadius(double _radius)
Definition: StyleCollection.cpp:342
Style(std::string _name, std::string _value, double _strokeWidth)
Definition: StyleCollection.h:41
StylePiece()
Definition: StyleCollection.h:26
std::string getAttributeName()
Definition: StyleCollection.cpp:33
std::string iconurl
Definition: StyleCollection.h:35
Definition: ClusterGrid.h:17
double borderWidth
Definition: StyleCollection.h:37
int getTypeIDForStyleType(std::string _type)
Definition: StyleCollection.cpp:289
std::string type
Definition: StyleCollection.h:34
double strokeWidth
Definition: StyleCollection.h:36
Definition: StyleCollection.h:30
int getStyleIndexForString(std::string _in)
Definition: StyleCollection.cpp:324
int getStyleIndexForInt(int _in)
Definition: StyleCollection.cpp:314
Definition: BufferArray.h:18
void addStyle(std::shared_ptr< Style > _style)
Definition: StyleCollection.cpp:29
std::string getAttributeType()
Definition: StyleCollection.cpp:20
Definition: StyleCollection.h:22
void setAttributeType(std::string _type)
Definition: StyleCollection.cpp:41
void setLineConfigMaxRadius(double _radius)
Definition: StyleCollection.cpp:346
void copyStyleCollectionToUniformBuffers(std::shared_ptr< ge::Shader > _shader)
Definition: StyleCollection.cpp:56
StylePiece(vmml::Vector4f _color)
Definition: StyleCollection.h:27
double getLineConfigRadius() const
Definition: StyleCollection.cpp:334
std::string name
Definition: StyleCollection.h:32
Style()
Definition: StyleCollection.h:40
StyleCollectionUniformHandles getUniformBufferHandles()
Definition: StyleCollection.cpp:274
vmml::Vector4f color
Definition: StyleCollection.h:24
int getStyleIndexForChar(unsigned char _in)
Definition: StyleCollection.cpp:304
double midBorderWidth
Definition: StyleCollection.h:38
std::shared_ptr< Style > getStyleAt(int _idx)
Definition: StyleCollection.cpp:25
StyleCollection()
Definition: StyleCollection.cpp:7
double getLineConfigMaxRadius() const
Definition: StyleCollection.cpp:338
void setAttributeName(std::string _name)
Definition: StyleCollection.cpp:37
std::string value
Definition: StyleCollection.h:33
Definition: StyleCollection.h:54