osgEarth 2.1.1
Classes | Namespaces | Defines | Typedefs | Functions | Variables

/home/cube/sources/osgearth/src/osgEarthUtil/Graticule.cpp File Reference

#include <osgEarthUtil/Graticule>
#include <osgEarthUtil/AutoClipPlaneHandler>
#include <osgEarthFeatures/BuildGeometryFilter>
#include <osgEarthFeatures/TransformFilter>
#include <osgEarthFeatures/ResampleFilter>
#include <osgEarthSymbology/Geometry>
#include <osgEarth/Registry>
#include <osgEarth/FindNode>
#include <osgEarth/Utils>
#include <OpenThreads/Mutex>
#include <OpenThreads/ScopedLock>
#include <osg/PagedLOD>
#include <osg/ProxyNode>
#include <osg/MatrixTransform>
#include <osg/Depth>
#include <osg/Program>
#include <osg/LineStipple>
#include <osg/ClusterCullingCallback>
#include <osgDB/FileNameUtils>
#include <osgUtil/Optimizer>
#include <osgText/Text>
#include <sstream>
#include <iomanip>
Include dependency graph for Graticule.cpp:

Go to the source code of this file.

Classes

struct  anonymous_namespace{Graticule.cpp}::HardCodeCellBoundCB
class  osgEarth::Util::GraticuleFactory

Namespaces

namespace  anonymous_namespace{Graticule.cpp}
namespace  osgEarth
namespace  osgEarth::Util

Defines

#define GRATICLE_EXTENSION   "osgearthutil_graticule"
#define TEXT_MARKER   "t"
#define GRID_MARKER   "g"

Typedefs

typedef std::map< unsigned int,
osg::ref_ptr< Graticule > > 
GraticuleRegistry

Functions

Geometryanonymous_namespace{Graticule.cpp}::createCellGeometry (const GeoExtent &tex, double lw, const GeoExtent &profEx, bool isGeocentric)
osg::Node * anonymous_namespace{Graticule.cpp}::createTextTransform (double x, double y, double value, const osg::EllipsoidModel *ell, float size, const osg::Vec4f &color, float rotation=0.0f)

Variables

static Mutex s_graticuleMutex
static GraticuleRegistry s_graticuleRegistry
char anonymous_namespace{Graticule.cpp}::s_vertexShader [] = "} \n"
char anonymous_namespace{Graticule.cpp}::s_fragmentShader [] = "} \n"

Define Documentation

#define GRATICLE_EXTENSION   "osgearthutil_graticule"

Definition at line 53 of file Graticule.cpp.

#define GRID_MARKER   "g"

Definition at line 55 of file Graticule.cpp.

#define TEXT_MARKER   "t"

Definition at line 54 of file Graticule.cpp.


Typedef Documentation

typedef std::map<unsigned int, osg::ref_ptr<Graticule> > GraticuleRegistry

Definition at line 50 of file Graticule.cpp.


Variable Documentation

Mutex s_graticuleMutex [static]

Definition at line 49 of file Graticule.cpp.

Definition at line 51 of file Graticule.cpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines