Enviro application
Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | List of all members
Enviro Class Referenceabstract
Inheritance diagram for Enviro:
Inheritance graph
[legend]

Public Member Functions

 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 &param, 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)
 
- Public Member Functions inherited from vtTerrainScene
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 ()
 

Public Attributes

DPoint3 m_EarthPos
 
TerrainPicker * m_pTerrainPicker
 
GlobePicker * m_pGlobePicker
 
vtMovGeode * m_pCursorMGeom
 
vtTerrainFlyer * m_pTFlyer
 
VFlyer * m_pVFlyer
 
vtOrthoFlyer * m_pOrthoFlyer
 
QuakeFlyer * m_pQuakeFlyer
 
vtTerrainFlyer * m_pCurrentFlyer
 
GrabFlyer * m_pGFlyer
 
FlatFlyer * m_pFlatFlyer
 
vtPanoFlyer * m_pPanoFlyer
 
vtHeightConstrain * m_pHeightEngine
 
VehicleManager m_VehicleManager
 
VehicleSet m_Vehicles
 
AppState m_state
 
MouseMode m_mode
 
NavType m_nav
 
bool m_bOnTerrain
 
vtString m_strMessage1
 
vtString m_strMessage2
 
bool m_bDragging
 
bool m_bDragUpDown
 
bool m_bRotating
 
bool m_bSelectedStruct
 
bool m_bSelectedPlant
 
bool m_bSelectedUtil
 
bool m_bSelectedVehicle
 
vtFence3d * m_pDraggingFence
 
int m_iDraggingFencePoint
 
DPoint3 m_EarthPosDown
 
DPoint3 m_EarthPosLast
 
vtLine3d * m_pCurUtilLine
 
vtPole3d * m_pSelUtilPole
 
IPoint2 m_MouseDown
 
IPoint2 m_MouseLast
 
float m_StartRotation
 
bool m_bConstrainAngles
 
bool m_bShowVerticalLine
 
vtGroup * m_pDemoGroup
 
vtGeode * m_pDemoTrails
 

Protected Member Functions

void LoadTerrainDescriptions (const vtString &path)
 
void SetupScene1 ()
 
void SetupScene2 ()
 
virtual void SetupScene3 ()
 
void DoCursorOnEarth ()
 
void DoCursorOnTerrain ()
 
void MakeGlobe ()
 
void SetupGlobe ()
 
void LookUpTerrainLocations ()
 
void SetupTerrain (vtTerrain *pTerr)
 
void SetupArcMaterials ()
 
void SetupArcMesh ()
 
void FreeArc ()
 
void FreeArcMesh ()
 
void SetTerrainMeasure (const DPoint2 &g1, const DPoint2 &g2)
 
void SetTerrainMeasure (const DLine2 &path)
 
void CreateElevationLegend ()
 
void CreateCompass ()
 
void CreateMapOverview ()
 
void StartFlyIn ()
 
void FlyInStage1 ()
 
void FlyInStage2 ()
 
bool IsFlyingInFromSpace ()
 
void SetWindowBox (const IPoint2 &ul, const IPoint2 &lr)
 
void MakeVerticalLine ()
 
void UpdateVerticalLine ()
 

Protected Attributes

vtSpeciesList3d * m_pSpeciesList
 
PlantingOptions m_PlantOpt
 
bool m_bPlantsLoaded
 
VehicleOptions m_VehicleOpt
 
vtLinearParams m_FenceParams
 
vtBuilding m_BuildingStyle
 
ElasticPolyline m_Elastic
 
bool m_bActiveUtilLine
 
vtString m_sStructType
 
vtGeode * m_pArc
 
vtMaterialArray * m_pArcMats
 
double m_fArcLength
 
float m_fDistToolHeight
 
bool m_bMeasurePath
 
DLine2 m_distance_path
 
vtGeode * m_pVertLine
 
vtCameraPtr m_pNormalCamera
 
vtCameraPtr m_pTopDownCamera
 
bool m_bTopDown
 
vtEngine * m_pNavEngines
 
vtGroup * m_pRoot
 
vtTimeEngine * m_pGlobeTime
 
vtGroup * m_pGlobeContainer
 
vtIcoGlobe * m_pIcoGlobe
 
vtIcoGlobe * m_pOverlayGlobe
 
bool m_bEarthShade
 
bool m_bGlobeFlat
 
float m_fFlattening
 
float m_fFlattenDir
 
bool m_bGlobeUnfolded
 
float m_fFolding
 
float m_fFoldDir
 
vtTrackball * m_pTrackball
 
vtGeode * m_pSpaceAxes
 
vtGeode * m_pEarthLines
 
vtMesh * m_pLineMesh
 
FPQ m_SpaceLoc
 
FPQ m_FlatLoc
 
ControlEngine * m_pControlEng
 
int m_iInitStep
 
vtTerrain * m_pTargetTerrain
 
FPoint3 m_SpaceTrackballState [3]
 
bool m_bFlyIn
 
int m_iFlightStage
 
int m_iFlightStep
 
FPoint3 m_TrackStart [3]
 
FPoint3 m_TrackPosDiff
 
vtAnimPath m_FlyInAnim
 
DPoint2 m_FlyInCenter
 
float m_fTransitionHeight
 
vtMaterialArrayPtr m_pHUDMaterials
 
vtHUD * m_pHUD
 
vtTextMesh * m_pHUDMessage
 
vtFontPtr m_pArial
 
float m_fMessageStart
 
float m_fMessageTime
 
vtGeode * m_pLegendGeom
 
bool m_bCreatedLegend
 
vtSpriteSizer * m_pCompassSizer
 
vtGeode * m_pCompassGeom
 
bool m_bCreatedCompass
 
bool m_bDragCompass
 
float m_fDragAngle
 
vtMesh * m_pWindowBoxMesh
 
MapOverviewEngine * m_pMapOverview
 

Detailed Description

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".

Constructor & Destructor Documentation

Enviro::Enviro ( )
Enviro::~Enviro ( )
virtual

Member Function Documentation

void Enviro::ActivateAStructureLayer ( )
void Enviro::ActivateAVegetationLayer ( )
void Enviro::AddElasticPoint ( const DPoint2 &  p)
int Enviro::AddGlobeAbstractLayer ( const char *  fname)
virtual void Enviro::AddVehicle ( CarEngine *  eng)
inlinevirtual

Reimplemented in EnviroGUI.

virtual void Enviro::CameraChanged ( )
inlinevirtual

Reimplemented in EnviroGUI.

void Enviro::CancelElastic ( )
void Enviro::CopyBuildingStyle ( )
void Enviro::CreateCompass ( )
protected
void Enviro::CreateElevationLegend ( )
protected
CarEngine * Enviro::CreateGroundVehicle ( const VehicleOptions &  opt)
void Enviro::CreateInstance ( )
void Enviro::CreateInstanceAt ( const DPoint2 &  pos,
vtTagArray *  tags 
)
void Enviro::CreateMapOverview ( )
protected
void Enviro::CreateSomeTestVehicles ( vtTerrain *  pTerrain)
void Enviro::DescribeCLOD ( vtString &  str)
void Enviro::DescribeCoordinatesEarth ( vtString &  str1,
vtString &  str2 
)
void Enviro::DescribeCoordinatesTerrain ( vtString &  str1,
vtString &  str2 
)

There are two message strings set by reference.

The first string should contain the part of the message that will be translated (like "Cursor: ").

The second string can contain the part of the message that should not be translated (like "1152.5, 12351.4")

The two strings will be concatenated later.

void Enviro::DoControl ( )
void Enviro::DoControlOrbit ( )
void Enviro::DoControlTerrain ( )
void Enviro::DoCursorOnEarth ( )
protected
void Enviro::DoCursorOnTerrain ( )
protected
void Enviro::DumpCameraInfo ( )
virtual void Enviro::EarthPosUpdated ( )
inlinevirtual

Reimplemented in EnviroGUI.

void Enviro::EnableFlyerEngine ( bool  bEnable)
vtTerrain * Enviro::FindTerrainOnEarth ( const DPoint2 &  p)
void Enviro::FinishBuilding ( )
void Enviro::FinishLinear ( )
void Enviro::FinishPowerline ( )
void Enviro::FlipBuildingFooprints ( )
void Enviro::FlyInStage1 ( )
protected
void Enviro::FlyInStage2 ( )
protected
void Enviro::FlyToSpace ( )
void Enviro::FormatCoordString ( vtString &  str,
const DPoint3 &  coord,
LinearUnits  units,
bool  seconds = false 
)
void Enviro::FreeArc ( )
protected
void Enviro::FreeArcMesh ( )
protected
osgText::Font* Enviro::GetArial ( )
inline
bool Enviro::GetEarthShading ( )
bool Enviro::GetEarthShape ( )
inline
bool Enviro::GetEarthTilt ( )
bool Enviro::GetEarthUnfold ( )
inline
bool Enviro::GetFlightAccel ( )
float Enviro::GetFlightSpeed ( )
vtIcoGlobe* Enviro::GetGlobe ( )
inline
virtual vtTagArray* Enviro::GetInstanceFromGUI ( )
inlinevirtual

Reimplemented in EnviroGUI.

vtAbstractLayer * Enviro::GetLabelLayer ( ) const
bool Enviro::GetMaintain ( )
vtString Enviro::GetMessage1 ( )
inline
vtString Enviro::GetMessage2 ( )
inline
float Enviro::GetNavDamping ( )
NavType Enviro::GetNavType ( )
inline
vtIcoGlobe* Enviro::GetOverlayGlobe ( )
inline
PlantingOptions& Enviro::GetPlantOptions ( )
inline
vtGroup* Enviro::GetRoot ( )
inline
bool Enviro::GetShowCompass ( )
bool Enviro::GetShowElevationLegend ( )
bool Enviro::GetShowMapOverview ( )
bool Enviro::GetShowVerticalLine ( )
bool Enviro::GetSpaceAxes ( )
vtSpeciesList3d* Enviro::GetSpeciesList ( )
inline
float Enviro::GetSpeed ( )
void Enviro::GetStatusString ( int  which,
vtString &  str1,
vtString &  str2 
)
Parameters
which0 for the "fps" field, 1 for the "cursor" field (location of the cursor), 2 for the "cursor val" (value under the cursor).
str1The first part of the string (translated).
str2The seconds part of the string (untranslated).
virtual vtString Enviro::GetStringFromUser ( const vtString &  title,
const vtString &  msg 
)
pure virtual

Implemented in EnviroGUI.

bool Enviro::HaveBuildingStyle ( )
bool Enviro::ImportModelFromKML ( const char *  kmlfile)
virtual bool Enviro::IsAcceptable ( vtTerrain *  pTerr)
inlinevirtual

Reimplemented in EnviroGUI.

bool Enviro::IsFlyingInFromSpace ( )
inlineprotected
bool Enviro::IsMakingElastic ( )
void Enviro::LoadAllTerrainDescriptions ( )
void Enviro::LoadGlobalContent ( )
void Enviro::LoadSpeciesList ( )
void Enviro::LoadTerrainDescriptions ( const vtString &  path)
protected
void Enviro::LookUpTerrainLocations ( )
protected
void Enviro::MakeDemoGlobe ( )
void Enviro::MakeGlobe ( )
protected
void Enviro::MakeOverlayGlobe ( vtImage *  image,
bool   progress_callbackint = NULL 
)
void Enviro::MakeVerticalLine ( )
protected
int Enviro::NumSelectedAbstractFeatures ( ) const
virtual void Enviro::OnCreateTerrain ( vtTerrain *  pTerr)
inlinevirtual

Reimplemented in EnviroGUI.

bool Enviro::OnMouse ( vtMouseEvent &  event)
bool Enviro::OnMouseCompass ( vtMouseEvent &  event)

Mouse handler should return false if it absorbed the event, true if the event should continue to propagate.

virtual bool Enviro::OnMouseEvent ( vtMouseEvent &  event)
inlinevirtual

Reimplemented in EnviroGUI.

void Enviro::OnMouseLeftDownOrbit ( vtMouseEvent &  event)
void Enviro::OnMouseLeftDownTerrain ( vtMouseEvent &  event)
void Enviro::OnMouseLeftDownTerrainMove ( vtMouseEvent &  event)
void Enviro::OnMouseLeftDownTerrainSelect ( vtMouseEvent &  event)
void Enviro::OnMouseLeftUp ( vtMouseEvent &  event)
void Enviro::OnMouseLeftUpBox ( vtMouseEvent &  event)
void Enviro::OnMouseMove ( vtMouseEvent &  event)
void Enviro::OnMouseMoveTerrain ( vtMouseEvent &  event)
void Enviro::OnMouseRightDown ( vtMouseEvent &  event)
void Enviro::OnMouseRightUp ( vtMouseEvent &  event)
void Enviro::OnMouseSelectCursorPick ( vtMouseEvent &  event)
void Enviro::OnMouseSelectRayPick ( vtMouseEvent &  event)
void Enviro::PasteBuildingStyle ( )
bool Enviro::PlantATree ( const DPoint2 &  epos)

Plant a tree at the given location (in earth coordinates)

virtual void Enviro::RefreshLayerView ( )
inlinevirtual

Reimplemented in EnviroGUI.

void Enviro::RemoveGlobeAbstractLayer ( GlobeLayer *  glay)
virtual void Enviro::RemoveVehicle ( CarEngine *  eng)
inlinevirtual

Reimplemented in EnviroGUI.

bool Enviro::RequestTerrain ( const char *  name)
void Enviro::RequestTerrain ( vtTerrain *  pTerr)
void Enviro::ResetCamera ( )
void Enviro::ResetDistanceTool ( )
void Enviro::SelectInitialViewpoint ( vtTerrain *  pTerrain)
void Enviro::SetBuildingEaves ( float  fLength)
void Enviro::SetCurrentNavigator ( vtTerrainFlyer *  pE)
void Enviro::SetDisplayedArc ( const DPoint2 &  g1,
const DPoint2 &  g2 
)
void Enviro::SetDisplayedArc ( const DLine2 &  path)
void Enviro::SetDistanceTool ( const DLine2 &  line)
void Enviro::SetDistanceToolMode ( bool  bPath)
void Enviro::SetEarthLines ( double  lon,
double  lat 
)
void Enviro::SetEarthShading ( bool  bShade)
void Enviro::SetEarthShape ( bool  Flat)
void Enviro::SetEarthTilt ( bool  bTilt)
void Enviro::SetEarthUnfold ( bool  Flat)
void Enviro::SetFenceOptions ( const vtLinearParams &  param,
bool  bProfileChanged = false 
)
void Enviro::SetFlightAccel ( bool  bAccel)
void Enviro::SetFlightSpeed ( float  speed)
virtual

Reimplemented in EnviroGUI.

void Enviro::SetHUDMessageText ( const char *  message)
void Enviro::SetMaintain ( bool  bOn)
void Enviro::SetMessage ( const vtString &  str1,
const vtString &  str2 = "",
float  fTime = 0.0f 
)

Display a message in the UI. The surrounding flavor of Enviro might show this in the status bar of the frame window (for wxEnviro) or as a HUD text (for a pure OpenGL version of Enviro).

Parameters
str1The first part of the message, which should be translated.
str2The second part of the message, which should not be translated. The two parts will be concatenated.
fTimeHow long the message should appear, in seconds.
void Enviro::SetMode ( MouseMode  mode)
void Enviro::SetNavDamping ( float  factor)
virtual
void Enviro::SetNavType ( NavType  nav)
void Enviro::SetPlantOptions ( const PlantingOptions &  opt)
void Enviro::SetPowerOptions ( const vtString &  sStructType)
virtual void Enviro::SetProgressTerrain ( vtTerrain *  pTerr)
inlinevirtual

Reimplemented in EnviroGUI.

void Enviro::SetSpaceAxes ( bool  bShow)
void Enviro::SetSpeed ( float  x)
virtual void Enviro::SetState ( AppState  s)
inlinevirtual

Reimplemented in EnviroGUI.

void Enviro::SetTerrainMeasure ( const DPoint2 &  g1,
const DPoint2 &  g2 
)
protected
void Enviro::SetTerrainMeasure ( const DLine2 &  path)
protected
virtual void Enviro::SetTerrainToGUI ( vtTerrain *  pTerrain)
inlinevirtual

Reimplemented in EnviroGUI.

virtual void Enviro::SetTimeEngineToGUI ( vtTimeEngine *  pEngine)
inlinevirtual

Reimplemented in EnviroGUI.

void Enviro::SetTopDown ( bool  bTopDown)
void Enviro::SetupArcMaterials ( )
protected
void Enviro::SetupArcMesh ( )
protected
void Enviro::SetupGlobe ( )
protected
void Enviro::SetupScene1 ( )
protected
void Enviro::SetupScene2 ( )
protected
virtual void Enviro::SetupScene3 ( )
inlineprotectedvirtual

Reimplemented in EnviroGUI.

void Enviro::SetupTerrain ( vtTerrain *  pTerr)
protected
void Enviro::SetVehicleOptions ( const VehicleOptions &  opt)
void Enviro::SetWind ( int  iDirection,
float  fSpeed 
)
void Enviro::SetWindowBox ( const IPoint2 &  ul,
const IPoint2 &  lr 
)
protected
void Enviro::ShowCompass ( bool  bShow)
virtual void Enviro::ShowDistance ( const DPoint2 &  p1,
const DPoint2 &  p2,
double  fGround,
double  fVertical 
)
inlinevirtual

Reimplemented in EnviroGUI.

virtual void Enviro::ShowDistance ( const DLine2 &  path,
double  fGround,
double  fVertical 
)
inlinevirtual

Reimplemented in EnviroGUI.

void Enviro::ShowEarthLines ( bool  bShow)
void Enviro::ShowElevationLegend ( bool  bShow)
virtual void Enviro::ShowLayerView ( )
inlinevirtual

Reimplemented in EnviroGUI.

void Enviro::ShowMapOverview ( bool  bShow)
virtual void Enviro::ShowMessage ( const vtString &  str)
inlinevirtual

Reimplemented in EnviroGUI.

virtual void Enviro::ShowPopupMenu ( const IPoint2 &  pos)
inlinevirtual

Reimplemented in EnviroGUI.

virtual void Enviro::ShowProgress ( bool  bShow)
inlinevirtual

Reimplemented in EnviroGUI.

void Enviro::ShowVerticalLine ( bool  bShow)
void Enviro::Shutdown ( )
void Enviro::StartControlEngine ( )
void Enviro::StartFlyIn ( )
protected
void Enviro::StartPowerline ( )
void Enviro::Startup ( )
void Enviro::StartupArgument ( int  i,
const char *  str 
)
virtual
void Enviro::StoreTerrainParameters ( )
void Enviro::SwitchToTerrain ( vtTerrain *  pTerrain)
void Enviro::TextureHasChanged ( )
void Enviro::ToggleDemo ( )
void Enviro::UpdateCompass ( )
void Enviro::UpdateDistanceTool ( )
void Enviro::UpdateEarthArc ( )
virtual void Enviro::UpdateLayerView ( )
inlinevirtual

Reimplemented in EnviroGUI.

virtual void Enviro::UpdateProgress ( const char *  msg1,
const char *  msg2,
int  amount1,
int  amount2 
)
inlinevirtual

Reimplemented in EnviroGUI.

void Enviro::UpdateVerticalLine ( )
protected

Member Data Documentation

bool Enviro::m_bActiveUtilLine
protected
bool Enviro::m_bConstrainAngles
bool Enviro::m_bCreatedCompass
protected
bool Enviro::m_bCreatedLegend
protected
bool Enviro::m_bDragCompass
protected
bool Enviro::m_bDragging
bool Enviro::m_bDragUpDown
bool Enviro::m_bEarthShade
protected
bool Enviro::m_bFlyIn
protected
bool Enviro::m_bGlobeFlat
protected
bool Enviro::m_bGlobeUnfolded
protected
bool Enviro::m_bMeasurePath
protected
bool Enviro::m_bOnTerrain
bool Enviro::m_bPlantsLoaded
protected
bool Enviro::m_bRotating
bool Enviro::m_bSelectedPlant
bool Enviro::m_bSelectedStruct
bool Enviro::m_bSelectedUtil
bool Enviro::m_bSelectedVehicle
bool Enviro::m_bShowVerticalLine
bool Enviro::m_bTopDown
protected
vtBuilding Enviro::m_BuildingStyle
protected
DLine2 Enviro::m_distance_path
protected
DPoint3 Enviro::m_EarthPos
DPoint3 Enviro::m_EarthPosDown
DPoint3 Enviro::m_EarthPosLast
ElasticPolyline Enviro::m_Elastic
protected
double Enviro::m_fArcLength
protected
float Enviro::m_fDistToolHeight
protected
float Enviro::m_fDragAngle
protected
vtLinearParams Enviro::m_FenceParams
protected
float Enviro::m_fFlattenDir
protected
float Enviro::m_fFlattening
protected
float Enviro::m_fFoldDir
protected
float Enviro::m_fFolding
protected
FPQ Enviro::m_FlatLoc
protected
vtAnimPath Enviro::m_FlyInAnim
protected
DPoint2 Enviro::m_FlyInCenter
protected
float Enviro::m_fMessageStart
protected
float Enviro::m_fMessageTime
protected
float Enviro::m_fTransitionHeight
protected
int Enviro::m_iDraggingFencePoint
int Enviro::m_iFlightStage
protected
int Enviro::m_iFlightStep
protected
int Enviro::m_iInitStep
protected
MouseMode Enviro::m_mode
IPoint2 Enviro::m_MouseDown
IPoint2 Enviro::m_MouseLast
NavType Enviro::m_nav
vtGeode* Enviro::m_pArc
protected
vtMaterialArray* Enviro::m_pArcMats
protected
vtFontPtr Enviro::m_pArial
protected
vtGeode* Enviro::m_pCompassGeom
protected
vtSpriteSizer* Enviro::m_pCompassSizer
protected
ControlEngine* Enviro::m_pControlEng
protected
vtTerrainFlyer* Enviro::m_pCurrentFlyer
vtMovGeode* Enviro::m_pCursorMGeom
vtLine3d* Enviro::m_pCurUtilLine
vtGroup* Enviro::m_pDemoGroup
vtGeode* Enviro::m_pDemoTrails
vtFence3d* Enviro::m_pDraggingFence
vtGeode* Enviro::m_pEarthLines
protected
FlatFlyer* Enviro::m_pFlatFlyer
GrabFlyer* Enviro::m_pGFlyer
vtGroup* Enviro::m_pGlobeContainer
protected
GlobePicker* Enviro::m_pGlobePicker
vtTimeEngine* Enviro::m_pGlobeTime
protected
vtHeightConstrain* Enviro::m_pHeightEngine
vtHUD* Enviro::m_pHUD
protected
vtMaterialArrayPtr Enviro::m_pHUDMaterials
protected
vtTextMesh* Enviro::m_pHUDMessage
protected
vtIcoGlobe* Enviro::m_pIcoGlobe
protected
PlantingOptions Enviro::m_PlantOpt
protected
vtGeode* Enviro::m_pLegendGeom
protected
vtMesh* Enviro::m_pLineMesh
protected
MapOverviewEngine* Enviro::m_pMapOverview
protected
vtEngine* Enviro::m_pNavEngines
protected
vtCameraPtr Enviro::m_pNormalCamera
protected
vtOrthoFlyer* Enviro::m_pOrthoFlyer
vtIcoGlobe* Enviro::m_pOverlayGlobe
protected
vtPanoFlyer* Enviro::m_pPanoFlyer
QuakeFlyer* Enviro::m_pQuakeFlyer
vtGroup* Enviro::m_pRoot
protected
vtPole3d* Enviro::m_pSelUtilPole
vtGeode* Enviro::m_pSpaceAxes
protected
vtSpeciesList3d* Enviro::m_pSpeciesList
protected
vtTerrain* Enviro::m_pTargetTerrain
protected
TerrainPicker* Enviro::m_pTerrainPicker
vtTerrainFlyer* Enviro::m_pTFlyer
vtCameraPtr Enviro::m_pTopDownCamera
protected
vtTrackball* Enviro::m_pTrackball
protected
vtGeode* Enviro::m_pVertLine
protected
VFlyer* Enviro::m_pVFlyer
vtMesh* Enviro::m_pWindowBoxMesh
protected
FPQ Enviro::m_SpaceLoc
protected
FPoint3 Enviro::m_SpaceTrackballState[3]
protected
vtString Enviro::m_sStructType
protected
float Enviro::m_StartRotation
AppState Enviro::m_state
vtString Enviro::m_strMessage1
vtString Enviro::m_strMessage2
FPoint3 Enviro::m_TrackPosDiff
protected
FPoint3 Enviro::m_TrackStart[3]
protected
VehicleManager Enviro::m_VehicleManager
VehicleOptions Enviro::m_VehicleOpt
protected
VehicleSet Enviro::m_Vehicles