Added ability to alter the verbosity of the notify messages with the

running of osgTerrain::DataSet via a static s/getNotifyOffset(int) method.
This commit is contained in:
Robert Osfield
2004-10-05 15:08:54 +00:00
parent 68c7a47388
commit 3b8abfa875
3 changed files with 182 additions and 160 deletions

View File

@@ -991,6 +991,14 @@ class OSGTERRAIN_EXPORT DataSet : public osg::Referenced
const std::string& getCommentString() const { return _comment; }
void setWriteNodeBeforeSimplification(bool flag) { _writeNodeBeforeSimplification = flag; }
bool getWriteNodeBeforeSimplification() const { return _writeNodeBeforeSimplification; }
static void setNotifyOffset(int level);
static int setNotifyOffset();
CompositeDestination* createDestinationGraph(CompositeDestination* parent,
osg::CoordinateSystemNode* cs,
const osg::BoundingBox& extents,
@@ -1067,7 +1075,9 @@ class OSGTERRAIN_EXPORT DataSet : public osg::Referenced
bool _decorateWithCoordinateSystemNode;
std::string _comment;
bool _writeNodeBeforeSimplification;
osg::ref_ptr<osg::Node> _rootNode;
};