|
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 | SetTerrain (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 () |
|
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 () |
|
vtString | GetStatusString (int which) |
|
void | FlyToSpace () |
|
bool | SwitchToTerrain (const char *name) |
|
void | SwitchToTerrain (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 | GetMessage () |
|
void | SetMessage (const vtString &msg, float time=0.0f) |
|
void | FormatCoordString (vtString &str, const DPoint3 &coord, LinearUnits units, bool seconds=false) |
|
void | DescribeCoordinatesEarth (vtString &str) |
|
void | DescribeCoordinatesTerrain (vtString &str) |
|
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 | start_new_fence () |
|
void | finish_fence () |
|
void | close_fence () |
|
void | SetFenceOptions (const vtLinearParams ¶m, bool bProfileChanged=false) |
|
void | start_new_route () |
|
void | finish_route () |
|
void | close_route () |
|
void | SetRouteOptions (const vtString &sStructType) |
|
void | LoadSpeciesList () |
|
vtSpeciesList3d * | GetPlantList () |
|
PlantingOptions & | GetPlantOptions () |
|
bool | PlantATree (const DPoint2 &epos) |
|
void | SetPlantOptions (const PlantingOptions &opt) |
|
void | SetVehicleOptions (const VehicleOptions &opt) |
|
void | CreateVirtualCamera (const Camera3kOptions &opt) |
| Create virtual camaera function.
|
|
bool | ImportModelFromKML (const char *kmlfile) |
|
vtAbstractLayer * | GetLabelLayer () |
|
int | NumSelectedAbstractFeatures () |
|
void | SetDistanceToolMode (bool bPath) |
|
void | SetDistanceTool (const DLine2 &line) |
|
void | ResetDistanceTool () |
|
void | UpdateDistanceTool () |
|
void | SetWind (int iDirection, float fSpeed) |
|
void | UpdateCompass () |
|
void | getViewer () |
|
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 *msg, int amount1, int amount2) |
|
virtual void | ExtendStructure (vtStructInstance *si) |
|
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 | Finish (const vtStringArray &datapath) |
|
void | SetCurrentTerrain (vtTerrain *pTerrain) |
|
vtGroup * | BuildTerrain (vtTerrain *pTerrain) |
|
void | RemoveTerrain (vtTerrain *pTerrain) |
|
void | CleanupScene () |
|
vtGroup * | GetTop () |
|
vtSkyDome * | GetSkyDome () |
|
void | UpdateSkydomeForTerrain (vtTerrain *pTerrain) |
|
uint | NumTerrains () |
| Access the terrains in the list.
|
|
vtTerrain * | GetTerrain (uint i) |
|
vtTerrain * | GetCurrentTerrain () |
| Get the terrain currently being shown.
|
|
vtTerrain * | FindTerrainByName (const char *name) |
| Find a terrain by its name. More...
|
|
vtTimeEngine * | GetTimeEngine () |
|
vtTransform * | GetSunLightTransform () |
| The Sun.
|
|
vtLightSource * | GetSunLightSource () |
|
void | SetTime (const vtTime &time) |
|
vtUtilStruct * | LoadUtilStructure (const vtString &name) |
|
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".