Renamed osg::CameraNode to osg::Camera, cleaned up osg::View.

Added beginnings of new osgViewer::Scene,View,Viewer,CompositeViewer and GraphicsWindowProxy files.
This commit is contained in:
Robert Osfield
2006-11-27 14:52:07 +00:00
parent b82e521444
commit fd2ffeb310
110 changed files with 2257 additions and 1466 deletions

View File

@@ -11,7 +11,7 @@
#include <osgIntrospection/Attributes>
#include <osg/BoundingBox>
#include <osg/CameraNode>
#include <osg/Camera>
#include <osg/CopyOp>
#include <osg/Drawable>
#include <osg/Matrix>
@@ -166,21 +166,21 @@ BEGIN_OBJECT_REFLECTOR(osgSim::ImpostorSprite)
__osg_BoundingBox__computeBound,
"Compute the bounding box around Drawables's geometry. ",
"");
I_Method1(void, setCameraNode, IN, osg::CameraNode *, camera,
__void__setCameraNode__osg_CameraNode_P1,
I_Method1(void, setCamera, IN, osg::Camera *, camera,
__void__setCamera__osg_Camera_P1,
"Set the camera node to use for pre rendering the impostor sprite's texture. ",
"");
I_Method0(osg::CameraNode *, getCameraNode,
__osg_CameraNode_P1__getCameraNode,
I_Method0(osg::Camera *, getCamera,
__osg_Camera_P1__getCamera,
"Get the camera node to use for pre rendering the impostor sprite's texture. ",
"");
I_Method0(const osg::CameraNode *, getCameraNode,
__C5_osg_CameraNode_P1__getCameraNode,
I_Method0(const osg::Camera *, getCamera,
__C5_osg_Camera_P1__getCamera,
"Get the const camera node to use for pre rendering the impostor sprite's texture. ",
"");
I_SimpleProperty(osg::CameraNode *, CameraNode,
__osg_CameraNode_P1__getCameraNode,
__void__setCameraNode__osg_CameraNode_P1);
I_SimpleProperty(osg::Camera *, Camera,
__osg_Camera_P1__getCamera,
__void__setCamera__osg_Camera_P1);
I_SimpleProperty(osg::Vec3 *, ControlCoords,
__osg_Vec3_P1__getControlCoords,
0);

View File

@@ -10,7 +10,7 @@
#include <osgIntrospection/StaticMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/CameraNode>
#include <osg/Camera>
#include <osg/CopyOp>
#include <osg/Node>
#include <osg/NodeVisitor>
@@ -119,16 +119,16 @@ BEGIN_OBJECT_REFLECTOR(osgSim::OverlayNode)
__unsigned_int__getOverlayTextureSizeHint,
"Get the texture size hint. ",
"");
I_Method0(osg::CameraNode *, getCamera,
__osg_CameraNode_P1__getCamera,
I_Method0(osg::Camera *, getCamera,
__osg_Camera_P1__getCamera,
"Get the camera used to implement the render to texture of the overlay subgraph. ",
"");
I_Method0(const osg::CameraNode *, getCamera,
__C5_osg_CameraNode_P1__getCamera,
I_Method0(const osg::Camera *, getCamera,
__C5_osg_Camera_P1__getCamera,
"Get the const camera used to implement the render to texture of the overlay subgraph. ",
"");
I_SimpleProperty(osg::CameraNode *, Camera,
__osg_CameraNode_P1__getCamera,
I_SimpleProperty(osg::Camera *, Camera,
__osg_Camera_P1__getCamera,
0);
I_SimpleProperty(bool, ContinuousUpdate,
__bool__getContinuousUpdate,