14 #include <boost/unordered_map.hpp>
19 class DtFlat2DLineRenderer;
20 class DtLineSegmentProxy;
21 class DtOverlayResourceProvider;
22 class DtProjected2DLineEffect;
37 const static unsigned short NoStipple = 0xFFFF;
38 const static unsigned short NoLine = 0x0;
45 virtual int numberOfPrimitives()
const;
48 virtual void render(
bool geocentric,
float geocentricAlpha,
49 const double cameraLocation[3],
50 const double positionMatrix[16],
bool picking);
53 virtual void releaseResources();
56 virtual bool isRenderModeSupported(
int mode);
70 int moveSegmentToOtherList(
71 const float currentWidth,
72 const int currentSegmentIndex,
73 const int currentPrimativeIndex,
74 const float desiredWidth,
75 const int desiredSegmentIndex);
95 return myStippledLines;
101 return mySimpleProxies;
103 return myStippledProxies;
107 typedef boost::unordered_map<float,LineSegmentSets>
LineMap;
112 void updateRenderData();
113 void sortByStipple();
135 void enableStipple();
138 void disableStipple();
141 void setWidth(
float w);
147 void setGroup(
float group);