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],
bool picking);
52 virtual void releaseResources();
55 virtual bool isRenderModeSupported(
int mode);
69 int moveSegmentToOtherList(
70 const float currentWidth,
71 const int currentSegmentIndex,
72 const int currentPrimativeIndex,
73 const float desiredWidth,
74 const int desiredSegmentIndex);
94 return myStippledLines;
100 return mySimpleProxies;
102 return myStippledProxies;
106 typedef boost::unordered_map<float,LineSegmentSets>
LineMap;
111 void updateRenderData();
112 void sortByStipple();
134 void enableStipple();
137 void disableStipple();
140 void setWidth(
float w);
146 void setGroup(
float group);