Show
Ignore:
Timestamp:
11/27/06 15:52:07 (8 years ago)
Author:
robert
Message:

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

Added beginnings of new osgViewer::Scene,View,Viewer,CompositeViewer? and GraphicsWindowProxy? files.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/examples/osgcamera/osgcamera.cpp

    r4890 r5757  
    182182    updateVisitor.setFrameStamp(frameStamp.get()); 
    183183     
    184     typedef std::list< osg::ref_ptr<osg::CameraNode> > CameraList; 
     184    typedef std::list< osg::ref_ptr<osg::Camera> > CameraList; 
    185185    typedef std::set< osg::GraphicsContext* > GraphicsContextSet; 
    186186 
     
    193193    for(unsigned int i=0; i< numberCameras; ++i) 
    194194    { 
    195         osg::ref_ptr<osg::CameraNode> camera = new osg::CameraNode; 
     195        osg::ref_ptr<osg::Camera> camera = new osg::Camera; 
    196196        camera->addChild(loadedModel.get()); 
    197197 
     
    285285        ++citr) 
    286286    { 
    287         osg::CameraNode* camera = citr->get(); 
     287        osg::Camera* camera = citr->get(); 
    288288        osg::GraphicsThread* graphicsThread = camera->getGraphicsContext()->getGraphicsThread(); 
    289289