|
| | Enviro () |
| |
| virtual | ~Enviro () |
| |
| void | Startup () |
| |
| void | Shutdown () |
| |
| virtual void | StartupArgument (int i, const char *str) |
| |
| void | LoadAllTerrainDescriptions () |
| |
| void | LoadGlobalContent () |
| |
| void | StartControlEngine () |
| |
| void | DoControl () |
| |
| void | DoControlOrbit () |
| |
| void | DoControlTerrain () |
| |
| void | SwitchToTerrain (vtTerrain *pTerrain) |
| |
| void | SelectInitialViewpoint (vtTerrain *pTerrain) |
| |
| vtGroup * | GetRoot () |
| |
| void | StoreTerrainParameters () |
| |
| osgText::Font * | GetArial () |
| |
| void | ShowElevationLegend (bool bShow) |
| |
| bool | GetShowElevationLegend () |
| |
| void | ShowCompass (bool bShow) |
| |
| bool | GetShowCompass () |
| |
| void | ShowMapOverview (bool bShow) |
| |
| bool | GetShowMapOverview () |
| |
| void | TextureHasChanged () |
| |
| virtual void | SetFlightSpeed (float speed) |
| |
| float | GetFlightSpeed () |
| |
| virtual void | SetNavDamping (float factor) |
| |
| float | GetNavDamping () |
| |
| void | SetFlightAccel (bool bAccel) |
| |
| bool | GetFlightAccel () |
| |
| void | SetTopDown (bool bTopDown) |
| |
| void | SetCurrentNavigator (vtTerrainFlyer *pE) |
| |
| void | EnableFlyerEngine (bool bEnable) |
| |
| void | SetNavType (NavType nav) |
| |
| NavType | GetNavType () |
| |
| void | SetMaintain (bool bOn) |
| |
| bool | GetMaintain () |
| |
| void | ResetCamera () |
| |
| void | SetMode (MouseMode mode) |
| |
| void | DumpCameraInfo () |
| |
| void | SetSpeed (float x) |
| |
| float | GetSpeed () |
| |
| void | GetStatusString (int which, vtString &str1, vtString &str2) |
| |
| void | ActivateAStructureLayer () |
| |
| void | ActivateAVegetationLayer () |
| |
| void | FlyToSpace () |
| |
| bool | RequestTerrain (const char *name) |
| |
| void | RequestTerrain (vtTerrain *pTerr) |
| |
| vtIcoGlobe * | GetGlobe () |
| |
| vtIcoGlobe * | GetOverlayGlobe () |
| |
| void | SetEarthShading (bool bShade) |
| |
| bool | GetEarthShading () |
| |
| void | SetEarthTilt (bool bTilt) |
| |
| bool | GetEarthTilt () |
| |
| void | SetEarthShape (bool Flat) |
| |
| bool | GetEarthShape () |
| |
| void | SetEarthUnfold (bool Flat) |
| |
| bool | GetEarthUnfold () |
| |
| void | SetSpaceAxes (bool bShow) |
| |
| bool | GetSpaceAxes () |
| |
| int | AddGlobeAbstractLayer (const char *fname) |
| |
| void | RemoveGlobeAbstractLayer (GlobeLayer *glay) |
| |
| void | UpdateEarthArc () |
| |
| void | SetDisplayedArc (const DPoint2 &g1, const DPoint2 &g2) |
| |
| void | SetDisplayedArc (const DLine2 &path) |
| |
| void | SetEarthLines (double lon, double lat) |
| |
| void | ShowEarthLines (bool bShow) |
| |
| vtTerrain * | FindTerrainOnEarth (const DPoint2 &p) |
| |
| vtString | GetMessage1 () |
| |
| vtString | GetMessage2 () |
| |
| void | SetMessage (const vtString &str1, const vtString &str2="", float time=0.0f) |
| |
| void | FormatCoordString (vtString &str, const DPoint3 &coord, LinearUnits units, bool seconds=false) |
| |
| void | DescribeCoordinatesEarth (vtString &str1, vtString &str2) |
| |
| void | DescribeCoordinatesTerrain (vtString &str1, vtString &str2) |
| |
| void | DescribeCLOD (vtString &str) |
| |
| bool | OnMouse (vtMouseEvent &event) |
| |
| void | OnMouseLeftDownTerrain (vtMouseEvent &event) |
| |
| void | OnMouseLeftDownTerrainSelect (vtMouseEvent &event) |
| |
| void | OnMouseLeftDownTerrainMove (vtMouseEvent &event) |
| |
| void | OnMouseLeftDownOrbit (vtMouseEvent &event) |
| |
| void | OnMouseLeftUp (vtMouseEvent &event) |
| |
| void | OnMouseLeftUpBox (vtMouseEvent &event) |
| |
| void | OnMouseRightDown (vtMouseEvent &event) |
| |
| void | OnMouseRightUp (vtMouseEvent &event) |
| |
| void | OnMouseMove (vtMouseEvent &event) |
| |
| void | OnMouseMoveTerrain (vtMouseEvent &event) |
| |
| void | OnMouseSelectRayPick (vtMouseEvent &event) |
| |
| void | OnMouseSelectCursorPick (vtMouseEvent &event) |
| |
| bool | OnMouseCompass (vtMouseEvent &event) |
| |
| void | AddElasticPoint (const DPoint2 &p) |
| |
| bool | IsMakingElastic () |
| |
| void | CancelElastic () |
| |
| void | FinishLinear () |
| |
| void | SetFenceOptions (const vtLinearParams ¶m, bool bProfileChanged=false) |
| |
| void | FinishBuilding () |
| |
| void | FlipBuildingFooprints () |
| |
| void | SetBuildingEaves (float fLength) |
| |
| void | CopyBuildingStyle () |
| |
| void | PasteBuildingStyle () |
| |
| bool | HaveBuildingStyle () |
| |
| void | CreateInstance () |
| |
| void | CreateInstanceAt (const DPoint2 &pos, vtTagArray *tags) |
| |
| void | StartPowerline () |
| |
| void | FinishPowerline () |
| |
| void | SetPowerOptions (const vtString &sStructType) |
| |
| void | LoadSpeciesList () |
| |
| vtSpeciesList3d * | GetSpeciesList () |
| |
| PlantingOptions & | GetPlantOptions () |
| |
| bool | PlantATree (const DPoint2 &epos) |
| |
| void | SetPlantOptions (const PlantingOptions &opt) |
| |
| void | SetVehicleOptions (const VehicleOptions &opt) |
| |
| CarEngine * | CreateGroundVehicle (const VehicleOptions &opt) |
| |
| bool | ImportModelFromKML (const char *kmlfile) |
| |
| vtAbstractLayer * | GetLabelLayer () const |
| |
| int | NumSelectedAbstractFeatures () const |
| |
| void | SetDistanceToolMode (bool bPath) |
| |
| void | SetDistanceTool (const DLine2 &line) |
| |
| void | ResetDistanceTool () |
| |
| void | UpdateDistanceTool () |
| |
| void | SetWind (int iDirection, float fSpeed) |
| |
| void | UpdateCompass () |
| |
| void | SetHUDMessageText (const char *message) |
| |
| void | ShowVerticalLine (bool bShow) |
| |
| bool | GetShowVerticalLine () |
| |
| virtual void | ShowPopupMenu (const IPoint2 &pos) |
| |
| virtual void | SetTerrainToGUI (vtTerrain *pTerrain) |
| |
| virtual void | ShowLayerView () |
| |
| virtual void | RefreshLayerView () |
| |
| virtual void | UpdateLayerView () |
| |
| virtual void | CameraChanged () |
| |
| virtual void | EarthPosUpdated () |
| |
| virtual void | ShowDistance (const DPoint2 &p1, const DPoint2 &p2, double fGround, double fVertical) |
| |
| virtual void | ShowDistance (const DLine2 &path, double fGround, double fVertical) |
| |
| virtual vtTagArray * | GetInstanceFromGUI () |
| |
| virtual bool | OnMouseEvent (vtMouseEvent &event) |
| |
| virtual void | SetTimeEngineToGUI (vtTimeEngine *pEngine) |
| |
| virtual bool | IsAcceptable (vtTerrain *pTerr) |
| |
| virtual void | OnCreateTerrain (vtTerrain *pTerr) |
| |
| virtual void | ShowMessage (const vtString &str) |
| |
| virtual void | SetState (AppState s) |
| |
| virtual vtString | GetStringFromUser (const vtString &title, const vtString &msg)=0 |
| |
| virtual void | ShowProgress (bool bShow) |
| |
| virtual void | SetProgressTerrain (vtTerrain *pTerr) |
| |
| virtual void | UpdateProgress (const char *msg1, const char *msg2, int amount1, int amount2) |
| |
| virtual void | AddVehicle (CarEngine *eng) |
| |
| virtual void | RemoveVehicle (CarEngine *eng) |
| |
| void | MakeDemoGlobe () |
| |
| void | ToggleDemo () |
| |
| void | CreateSomeTestVehicles (vtTerrain *pTerrain) |
| |
| void | MakeOverlayGlobe (vtImage *image, bool progress_callback(int)=NULL) |
| |
| vtGroup * | BeginTerrainScene () |
| |
| void | AppendTerrain (vtTerrain *pTerrain) |
| |
| void | SetCurrentTerrain (vtTerrain *pTerrain) |
| |
| vtGroup * | BuildTerrain (vtTerrain *pTerrain) |
| |
| uint | NumTerrains () |
| |
| vtTerrain * | GetCurrentTerrain () const |
| |
| vtTerrain * | FindTerrainByName (const char *name) |
| |
| vtTransform * | GetSunLightTransform () |
| |
The central, core class of the Enviro applcation. It maintains a collection of terrains (by extending vtTerrainScene) and adds all the non-GUI functionality, including handling mouse events in the 3D view, navigating, creating and editing objects.
It is extended by the GUI code as the class EnviroGUI, of which there is one global instance (singleton), called "g_App".