13 #include <boost/unordered_map.hpp>
18 class DtFlat2DLineRenderer;
19 class DtLineSegmentProxy;
20 class DtOverlayResourceProvider;
21 class DtProjected2DLineEffect;
36 const static unsigned short NoStipple = 0xFFFF;
37 const static unsigned short NoLine = 0x0;
44 virtual int numberOfPrimitives()
const;
47 virtual void render(
bool geocentric,
float geocentricAlpha,
48 const double cameraLocation[3],
49 const double positionMatrix[16],
50 const double projectionMatrix[16],
54 virtual void releaseResources();
57 virtual bool isRenderModeSupported(
int mode);
71 int moveSegmentToOtherList(
72 const float currentWidth,
73 const int currentSegmentIndex,
74 const int currentPrimativeIndex,
75 const float desiredWidth,
76 const int desiredSegmentIndex);
98 return myStippledLines;
104 return mySimpleProxies;
106 return myStippledProxies;
109 void updateRenderData(
void);
110 void releaseResources(
void);
116 typedef boost::unordered_map<float,LineSegmentSets>
LineMap;
120 void updateRenderData();
121 void sortByStipple();
142 void enableStipple();
145 void disableStipple();
148 void setWidth(
float w);
154 void setGroup(
float group);