Fixes to removed dependency on RefNodePath.

This commit is contained in:
Robert Osfield
2006-02-28 18:54:29 +00:00
parent a8255f6932
commit deb6632b04
3 changed files with 17 additions and 6 deletions

View File

@@ -262,6 +262,18 @@ Viewer::~Viewer()
{
}
osg::NodePath Viewer::getCoordinateSystemNodePath() const
{
osg::NodePath nodePath;
for(ObserveredNodePath::const_iterator itr = _coordinateSystemNodePath.begin();
itr != _coordinateSystemNodePath.end();
++itr)
{
nodePath.push_back(const_cast<osg::Node*>(itr->get()));
}
return nodePath;
}
void Viewer::setWriteImageFileName(const std::string& filename)
{
_writeImageFileName = filename;