osgEarth 2.1.1
|
Public Member Functions | |
Manifold () | |
virtual void | initialize (MeshManager *mesh)=0 |
virtual void | cull (osgUtil::CullVisitor *cv)=0 |
virtual osg::Vec3d | midpoint (const osg::Vec3d &mapCoord0, const osg::Vec3d &mapCoord1) const =0 |
virtual osg::BoundingSphere | initialBound () const =0 |
virtual MeshNode | createNode (const osg::Vec3d &manifoldCoord) const =0 |
Abstract base class that represents the layout of a diamond mesh.
Manifold::Manifold | ( | ) |
Definition at line 22 of file Manifold.cpp.
{
//nop
}
virtual MeshNode Manifold::createNode | ( | const osg::Vec3d & | manifoldCoord | ) | const [pure virtual] |
creates a mesh node for a coordinate in manifold profile
Implemented in CubeManifold, and GeodeticManifold.
virtual void Manifold::cull | ( | osgUtil::CullVisitor * | cv | ) | [pure virtual] |
update the culling status of the manifold based on a new eyepoint.
Implemented in CubeManifold, and GeodeticManifold.
virtual osg::BoundingSphere Manifold::initialBound | ( | ) | const [pure virtual] |
calculates an initial bound for the manifold.
Implemented in CubeManifold, and GeodeticManifold.
virtual void Manifold::initialize | ( | MeshManager * | mesh | ) | [pure virtual] |
builds the base diamond framework for this manifold.
Implemented in CubeManifold, and GeodeticManifold.
virtual osg::Vec3d Manifold::midpoint | ( | const osg::Vec3d & | mapCoord0, |
const osg::Vec3d & | mapCoord1 | ||
) | const [pure virtual] |
calculates the midpoint between two coordinates
Implemented in CubeManifold, and GeodeticManifold.