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

@@ -25,7 +25,7 @@
#undef OUT
#endif
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgGA::AnimationPathManipulator)
BEGIN_OBJECT_REFLECTOR(osgGA::AnimationPathManipulator)
I_BaseType(osgGA::MatrixManipulator);
I_ConstructorWithDefaults1(IN, osg::AnimationPath *, animationPath, 0,
Properties::NON_EXPLICIT,

View File

@@ -25,7 +25,7 @@
#undef OUT
#endif
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgGA::DriveManipulator)
BEGIN_OBJECT_REFLECTOR(osgGA::DriveManipulator)
I_BaseType(osgGA::MatrixManipulator);
I_Constructor0(____DriveManipulator,
"",

View File

@@ -24,7 +24,7 @@
TYPE_NAME_ALIAS(std::list< osg::ref_ptr< osgGA::GUIEventAdapter > >, osgGA::EventQueue::Events);
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgGA::EventQueue)
BEGIN_OBJECT_REFLECTOR(osgGA::EventQueue)
I_BaseType(osg::Referenced);
I_ConstructorWithDefaults1(IN, osgGA::GUIEventAdapter::MouseYOrientation, mouseYOrientation, osgGA::GUIEventAdapter::Y_INCREASING_DOWNWARDS,
Properties::NON_EXPLICIT,

View File

@@ -35,7 +35,7 @@
TYPE_NAME_ALIAS(std::list< osg::ref_ptr< osgGA::GUIEventAdapter > >, osgGA::EventVisitor::EventList);
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgGA::EventVisitor)
BEGIN_OBJECT_REFLECTOR(osgGA::EventVisitor)
I_BaseType(osg::NodeVisitor);
I_Constructor0(____EventVisitor,
"",

View File

@@ -30,7 +30,7 @@ BEGIN_ENUM_REFLECTOR(osgGA::FlightManipulator::YawControlMode)
I_EnumLabel(osgGA::FlightManipulator::NO_AUTOMATIC_YAW);
END_REFLECTOR
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgGA::FlightManipulator)
BEGIN_OBJECT_REFLECTOR(osgGA::FlightManipulator)
I_BaseType(osgGA::MatrixManipulator);
I_Constructor0(____FlightManipulator,
"",

View File

@@ -208,7 +208,7 @@ BEGIN_ENUM_REFLECTOR(osgGA::GUIEventAdapter::TabletPointerType)
I_EnumLabel(osgGA::GUIEventAdapter::ERASER);
END_REFLECTOR
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgGA::GUIEventAdapter)
BEGIN_OBJECT_REFLECTOR(osgGA::GUIEventAdapter)
I_BaseType(osg::Referenced);
I_Constructor0(____GUIEventAdapter,
"",

View File

@@ -28,7 +28,7 @@
#undef OUT
#endif
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgGA::GUIEventHandler)
BEGIN_OBJECT_REFLECTOR(osgGA::GUIEventHandler)
I_BaseType(osg::NodeCallback);
I_BaseType(osg::Drawable::EventCallback);
I_Constructor0(____GUIEventHandler,

View File

@@ -32,7 +32,7 @@ TYPE_NAME_ALIAS(std::pair< std::string COMMA osg::ref_ptr< osgGA::MatrixManipul
TYPE_NAME_ALIAS(std::map< int COMMA osgGA::KeySwitchMatrixManipulator::NamedManipulator >, osgGA::KeySwitchMatrixManipulator::KeyManipMap);
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgGA::KeySwitchMatrixManipulator)
BEGIN_OBJECT_REFLECTOR(osgGA::KeySwitchMatrixManipulator)
I_BaseType(osgGA::MatrixManipulator);
I_Constructor0(____KeySwitchMatrixManipulator,
"",

View File

@@ -39,7 +39,7 @@ BEGIN_ENUM_REFLECTOR(osgGA::NodeTrackerManipulator::RotationMode)
I_EnumLabel(osgGA::NodeTrackerManipulator::ELEVATION_AZIM);
END_REFLECTOR
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgGA::NodeTrackerManipulator)
BEGIN_OBJECT_REFLECTOR(osgGA::NodeTrackerManipulator)
I_BaseType(osgGA::MatrixManipulator);
I_Constructor0(____NodeTrackerManipulator,
"",

View File

@@ -25,7 +25,7 @@
#undef OUT
#endif
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgGA::StateSetManipulator)
BEGIN_OBJECT_REFLECTOR(osgGA::StateSetManipulator)
I_BaseType(osgGA::GUIEventHandler);
I_ConstructorWithDefaults1(IN, osg::StateSet *, stateset, 0,
Properties::NON_EXPLICIT,

View File

@@ -31,7 +31,7 @@ BEGIN_ENUM_REFLECTOR(osgGA::TerrainManipulator::RotationMode)
I_EnumLabel(osgGA::TerrainManipulator::ELEVATION_AZIM);
END_REFLECTOR
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgGA::TerrainManipulator)
BEGIN_OBJECT_REFLECTOR(osgGA::TerrainManipulator)
I_BaseType(osgGA::MatrixManipulator);
I_Constructor0(____TerrainManipulator,
"",

View File

@@ -28,7 +28,7 @@
#undef OUT
#endif
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgGA::TrackballManipulator)
BEGIN_OBJECT_REFLECTOR(osgGA::TrackballManipulator)
I_BaseType(osgGA::MatrixManipulator);
I_Constructor0(____TrackballManipulator,
"",

View File

@@ -26,7 +26,7 @@
#undef OUT
#endif
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgGA::UFOManipulator)
BEGIN_OBJECT_REFLECTOR(osgGA::UFOManipulator)
I_BaseType(osgGA::MatrixManipulator);
I_Constructor0(____UFOManipulator,
"Default constructor. ",