From Jason Beverage, added option to control whether simplification of

tiles is done during osgdem builds.
This commit is contained in:
Robert Osfield
2005-12-15 16:30:31 +00:00
parent 4b269ba9da
commit 72554ca27e
4 changed files with 24 additions and 6 deletions

View File

@@ -1044,6 +1044,9 @@ class OSGTERRAIN_EXPORT DataSet : public osg::Referenced
void setUseLocalTileTransform(bool flag) { _useLocalTileTransform = flag; }
bool getUseLocalTileTransform() const { return _useLocalTileTransform; }
void setSimplifyTerrain(bool flag) { _simplifyTerrain = flag; }
bool getSimplifyTerrain() const { return _simplifyTerrain; }
void setDecorateGeneratedSceneGraphWithCoordinateSystemNode(bool flag) { _decorateWithCoordinateSystemNode = flag; }
bool getDecorateGeneratedSceneGraphWithCoordinateSystemNode() const { return _decorateWithCoordinateSystemNode; }
@@ -1159,6 +1162,8 @@ class OSGTERRAIN_EXPORT DataSet : public osg::Referenced
std::string _comment;
bool _writeNodeBeforeSimplification;
bool _simplifyTerrain;
osg::ref_ptr<osg::Node> _rootNode;
osg::ref_ptr<osg::State> _state;