Added computeDataVariance method into osg::Object and implementations in Drawable and StateSet,

and calling of osgUtil::StaticObjectDetectionVisitor in osgViewer::Viewer
This commit is contained in:
Robert Osfield
2007-02-14 11:24:42 +00:00
parent 5dcb7af6a4
commit 89c99a88fa
256 changed files with 503 additions and 393 deletions

View File

@@ -43,7 +43,7 @@ BEGIN_ENUM_REFLECTOR(osgViewer::CompositeViewer::BarrierPosition)
I_EnumLabel(osgViewer::CompositeViewer::AfterSwapBuffers);
END_REFLECTOR
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgViewer::CompositeViewer)
BEGIN_OBJECT_REFLECTOR(osgViewer::CompositeViewer)
I_BaseType(osg::Referenced);
I_Constructor0(____CompositeViewer,
"",

View File

@@ -23,7 +23,7 @@
#undef OUT
#endif
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgViewer::HelpHandler)
BEGIN_OBJECT_REFLECTOR(osgViewer::HelpHandler)
I_BaseType(osgGA::GUIEventHandler);
I_ConstructorWithDefaults1(IN, osg::ApplicationUsage *, au, 0,
Properties::NON_EXPLICIT,

View File

@@ -23,7 +23,7 @@
#undef OUT
#endif
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgViewer::Scene)
BEGIN_OBJECT_REFLECTOR(osgViewer::Scene)
I_VirtualBaseType(osg::Referenced);
I_Constructor0(____Scene,
"",

View File

@@ -31,7 +31,7 @@ BEGIN_ENUM_REFLECTOR(osgViewer::StatsHandler::StatsType)
I_EnumLabel(osgViewer::StatsHandler::LAST);
END_REFLECTOR
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgViewer::StatsHandler)
BEGIN_OBJECT_REFLECTOR(osgViewer::StatsHandler)
I_BaseType(osgGA::GUIEventHandler);
I_Constructor0(____StatsHandler,
"",

View File

@@ -29,7 +29,7 @@
#undef OUT
#endif
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgViewer::EndOfDynamicDrawBlock)
BEGIN_OBJECT_REFLECTOR(osgViewer::EndOfDynamicDrawBlock)
I_BaseType(osg::State::DynamicObjectRenderingCompletedCallback);
I_Constructor1(IN, unsigned, int,
Properties::NON_EXPLICIT,
@@ -68,7 +68,7 @@ END_REFLECTOR
TYPE_NAME_ALIAS(std::list< osg::ref_ptr< osgGA::GUIEventHandler > >, osgViewer::View::EventHandlers);
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgViewer::View)
BEGIN_OBJECT_REFLECTOR(osgViewer::View)
I_BaseType(osg::View);
I_BaseType(osgGA::GUIActionAdapter);
I_Constructor0(____View,

View File

@@ -49,7 +49,7 @@ BEGIN_ENUM_REFLECTOR(osgViewer::Viewer::BarrierPosition)
I_EnumLabel(osgViewer::Viewer::AfterSwapBuffers);
END_REFLECTOR
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgViewer::Viewer)
BEGIN_OBJECT_REFLECTOR(osgViewer::Viewer)
I_BaseType(osgViewer::View);
I_Constructor0(____Viewer,
"",