Ignore:
Timestamp:
Jan 31, 2015 11:27:43 PM (6 years ago)
Author:
ldelgass
Message:

First pass at protocol to set ephemeris time (currently uses server local time)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • geovis/trunk/Renderer.h

    r4957 r4973  
    2222#include <osgUtil/IncrementalCompileOperation>
    2323
     24#include <osgEarth/Version>
    2425#include <osgEarth/StringUtils>
    2526#include <osgEarth/Map>
     
    3334#include <osgEarthAnnotation/AnnotationNode>
    3435#include <osgEarthAnnotation/FeatureNode>
     36#if OSGEARTH_MIN_VERSION_REQUIRED(2, 5, 1)
     37#include <osgEarthUtil/Sky>
     38#else
     39#include <osgEarthUtil/SkyNode>
     40#endif
    3541#include <osgEarthUtil/EarthManipulator>
    3642#include <osgEarthUtil/MouseCoordsTool>
     
    195201    void setTerrainWireframe(bool state);
    196202
     203    void setEphemerisTime(int year, int month, int day, double hours);
     204
    197205    // Image raster layers
    198206
     
    517525    osg::ref_ptr<osgEarth::MapNode> _mapNode;
    518526    osg::ref_ptr<osgEarth::Map> _map;
     527    osg::ref_ptr<osgEarth::Util::SkyNode> _skyNode;
    519528    osg::ref_ptr<osgViewer::Viewer> _viewer;
    520529    osg::ref_ptr<ScreenCaptureCallback> _captureCallback;
Note: See TracChangeset for help on using the changeset viewer.