From b86431fdf78eb42338c820b8ea2c7ab37ee9cb1c Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Wed, 28 Apr 2010 14:55:07 +0000 Subject: [PATCH] Added colours and different style to drawable and statesets --- src/osgPlugins/dot/SimpleDotVisitor.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/osgPlugins/dot/SimpleDotVisitor.cpp b/src/osgPlugins/dot/SimpleDotVisitor.cpp index a46170853..86f614290 100644 --- a/src/osgPlugins/dot/SimpleDotVisitor.cpp +++ b/src/osgPlugins/dot/SimpleDotVisitor.cpp @@ -32,7 +32,7 @@ namespace osgDot { std::stringstream label; label << " " << node.className(); if ( !node.getName().empty() ) { label << "| " << node.getName(); } - drawNode( id, "record", "solid", label.str(), "black", "white" ); + drawNode( id, "record", "solid", label.str(), "brown", "white" ); } void SimpleDotVisitor::handle(osg::Group& node, int id) { @@ -50,7 +50,7 @@ namespace osgDot { std::stringstream label; label << " " << stateset.className(); if ( !stateset.getName().empty() ) { label << "| " << stateset.getName(); } - drawNode( id, "record", "solid, filled", label.str(), "gray90", "white" ); + drawNode( id, "Mrecord", "solid", label.str(), "green", "white" ); } void SimpleDotVisitor::handle(osg::Node& node, osg::StateSet& stateset, int parentID, int childID ) { @@ -61,7 +61,7 @@ namespace osgDot { std::stringstream label; label << " " << drawable.className(); if ( !drawable.getName().empty() ) { label << "| " << drawable.getName(); } - drawNode( id, "record", "solid, filled", label.str(), "gray90", "white" ); + drawNode( id, "record", "solid", label.str(), "blue", "white" ); } void SimpleDotVisitor::handle(osg::Geode& geode, osg::Drawable& drawable, int parentID, int childID ) {