18 #include <boost/unordered_map.hpp>
25 class DtOsgOverlayResourceProvider;
26 class DtChannelManager;
28 class DtOverlayRenderer;
61 virtual void render(
DtChannel* channel,
bool projectedGeocentricEffect,
62 float projectedGeocentricAlpha,
63 double* position,
double* matrix,
double viewportSize[2]);
66 virtual void releaseResources();
84 virtual void enableOverlayOnChannel(
unsigned int layerId,
bool enabled,
90 virtual void enableModelSetOnChannel(
int modelSet,
bool enabled,
105 virtual void destroyOverlayLayer(
unsigned int layerId);
108 virtual bool overlayLayerIsVisible(
unsigned int layerId)
const;
113 virtual void setOverlayLayerVisibility(
unsigned int layerId,
bool visible);
116 virtual void setPerformanceStatsOverlayEnabled(
bool show);
119 virtual bool performanceStatsOverlayEnabled()
const;
123 typedef boost::unordered_map<DtChannel*, unsigned int>
127 typedef boost::unordered_map<DtChannel*, std::map<int, unsigned int> >
131 virtual void slot_channelToBeDestroyed(
DtChannel*);
135 unsigned int allocateChannelSpecificLayerId();
137 void destroyChannelSpecificOverlayLayer(
151 virtual void destroyChannelModelSetOverlayLayers(
DtChannel*);
174 typedef boost::unordered_map<unsigned int,DtPickableOverlay*>
OverlayMap;
177 typedef boost::unordered_map<DtChannel*, std::set<unsigned int> >
187 bool myChannelSpecificLayerIdUsageList[
188 Channel_SpecificEnd - Channel_SpecificStart + 1 ];