osgEarth 2.1.1
|
#include <osgEarthSymbology/MeshSubdivider>
#include <osgEarthSymbology/LineFunctor>
#include <osgEarth/GeoMath>
#include <osg/TriangleFunctor>
#include <osg/TriangleIndexFunctor>
#include <climits>
#include <queue>
#include <map>
Go to the source code of this file.
Classes | |
struct | anonymous_namespace{MeshSubdivider.cpp}::Triangle |
struct | anonymous_namespace{MeshSubdivider.cpp}::TriangleData |
struct | anonymous_namespace{MeshSubdivider.cpp}::Edge |
struct | anonymous_namespace{MeshSubdivider.cpp}::Line |
struct | anonymous_namespace{MeshSubdivider.cpp}::LineData |
Namespaces | |
namespace | anonymous_namespace{MeshSubdivider.cpp} |
Defines | |
#define | LC "[MeshSubdivider] " |
Typedefs | |
typedef std::queue< Triangle > | anonymous_namespace{MeshSubdivider.cpp}::TriangleQueue |
typedef std::vector< Triangle > | anonymous_namespace{MeshSubdivider.cpp}::TriangleVector |
typedef std::map< Edge, GLuint > | anonymous_namespace{MeshSubdivider.cpp}::EdgeMap |
typedef std::queue< Line > | anonymous_namespace{MeshSubdivider.cpp}::LineQueue |
typedef std::vector< Line > | anonymous_namespace{MeshSubdivider.cpp}::LineVector |
Functions | |
osg::Vec3d | anonymous_namespace{MeshSubdivider.cpp}::bisector (const osg::Vec3d &v0, const osg::Vec3d &v1) |
void | anonymous_namespace{MeshSubdivider.cpp}::geocentricToGeodetic (const osg::Vec3d &g, osg::Vec2d &out_geod) |
void | anonymous_namespace{MeshSubdivider.cpp}::geodeticMidpoint (const osg::Vec2d &g0, const osg::Vec2d &g1, osg::Vec2d &out_mid) |
osg::Vec3d | anonymous_namespace{MeshSubdivider.cpp}::geocentricMidpoint (const osg::Vec3d &v0, const osg::Vec3d &v1, GeoInterpolation interp) |
double | anonymous_namespace{MeshSubdivider.cpp}::geocentricSurfaceDistance (const osg::Vec3d &v0, const osg::Vec3d &v1) |
double | anonymous_namespace{MeshSubdivider.cpp}::angleBetween (const osg::Vec3d &v0, const osg::Vec3d &v1) |
template<typename ETYPE , typename VTYPE > | |
void | anonymous_namespace{MeshSubdivider.cpp}::populateTriangles (osg::Geometry &geom, const TriangleVector &tris, unsigned int maxElementsPerEBO) |
template<typename ETYPE , typename VTYPE > | |
void | anonymous_namespace{MeshSubdivider.cpp}::populateLines (osg::Geometry &geom, const LineVector &lines, unsigned int maxElementsPerEBO) |
static const osg::Vec3d | anonymous_namespace{MeshSubdivider.cpp}::s_pole (0, 0, 1) |
static const double | anonymous_namespace{MeshSubdivider.cpp}::s_maxLatAdjustment (0.75) |
void | anonymous_namespace{MeshSubdivider.cpp}::subdivideLines (double granularity, GeoInterpolation interp, osg::Geometry &geom, const osg::Matrixd &W2L, const osg::Matrixd &L2W, unsigned int maxElementsPerEBO) |
void | anonymous_namespace{MeshSubdivider.cpp}::subdivideTriangles (double granularity, GeoInterpolation interp, osg::Geometry &geom, const osg::Matrixd &W2L, const osg::Matrixd &L2W, unsigned int maxElementsPerEBO) |
void | anonymous_namespace{MeshSubdivider.cpp}::subdivide (double granularity, GeoInterpolation interp, osg::Geometry &geom, const osg::Matrixd &W2L, const osg::Matrixd &L2W, unsigned int maxElementsPerEBO) |
#define LC "[MeshSubdivider] " |
Definition at line 29 of file MeshSubdivider.cpp.