14 #include <osgEarth/GeoData>
23 class SpatialReference;
27 namespace makVrv {
namespace oe {
namespace CDB {
40 static void addDebugText(
const std::string& text,
const osgEarth::GeoPoint& point,
41 osg::Group* groupNode, osgEarth::MapNode* mapNode,
float lodDistance=500.0f);
45 , osgEarth::SpatialReference* srs
46 , osgEarth::MapNode* mapNode);
Hold the unique CDB tile key information CDB LOD goes from -10 to 23.
Definition: DtCDBTileKey.h:28
static void addTileLabel(const CDBTileKey &key, osg::Group *groupNode, osgEarth::SpatialReference *srs, osgEarth::MapNode *mapNode)
Display debug information (boxes and Lod text)
static const bool debugColorMapInitialized
bool that tell id the table map was initialized
Definition: DtCDBDebugUtils.h:59
static bool initDebugColorMap()
Create a color map table for debug mode.
static MapLODToDebugColor myMapLODToDebugColor
A color map mapping lods to colors.
Definition: DtCDBDebugUtils.h:54
std::map< int, osg::Vec4f > MapLODToDebugColor
A color map mapping lods to colors typedef.
Definition: DtCDBDebugUtils.h:52
static osg::Vec4f getDebugColor(int lod)
return a different debug color based on the CDB lod.
static void addDebugText(const std::string &text, const osgEarth::GeoPoint &point, osg::Group *groupNode, osgEarth::MapNode *mapNode, float lodDistance=500.0f)
Display debug information (ex. light point code)
static void setupDebugColor(int lod, osg::Group *attachPoint)
setup the debug color for models
Debug utility class.
Definition: DtCDBDebugUtils.h:32