Enviro application
Public Member Functions | Public Attributes | List of all members
TParamsDlg Class Reference

Inherits TParamsDlgBase.

Public Member Functions

 TParamsDlg (wxWindow *parent, wxWindowID id, const wxString &title, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE)
 
 ~TParamsDlg ()
 
void OnInitDialog (wxInitDialogEvent &event)
 
bool TransferDataToWindow ()
 
bool TransferDataFromWindow ()
 
void SetParams (const TParams &Params)
 
void GetParams (TParams &Params)
 
void UpdateEnableState ()
 
void RefreshLocationFields ()
 
void UpdateTimeString ()
 
void UpdateColorControl ()
 
void DeleteItem (wxListBox *pBox)
 
int FindLayerByFilename (const vtString &fname)
 
void UpdateScenarioChoices ()
 
wxRadioButton * GetUseExternal ()
 
wxButton * GetMovedownScenario ()
 
wxButton * GetMoveupScenario ()
 
wxButton * GetEditScenario ()
 
wxButton * GetDeleteScenario ()
 
wxStaticBitmap * GetColorBitmap ()
 
wxCheckBox * GetCheckStructureShadows ()
 
wxRadioButton * GetUseGrid ()
 
wxRadioButton * GetUseTin ()
 
wxRadioButton * GetUseTileset ()
 
wxRadioButton * GetDerived ()
 
wxRadioButton * GetSingle ()
 
wxTextCtrl * GetLightFactor ()
 
wxTextCtrl * GetFogDistance ()
 

Public Attributes

TParams m_Params
 
wxString m_strTerrainName
 
bool m_bGrid
 
int m_iLodMethod
 
int m_iTriCount
 
bool m_bTin
 
bool m_bTileset
 
bool m_bExternal
 
wxString m_strExternalData
 
wxString m_strFilename
 
wxString m_strFilenameTin
 
wxString m_strFilenameTileset
 
float m_fTextureLODFactor
 
wxString m_strTextureTileset
 
bool m_bTextureGradual
 
float m_fVerticalExag
 
float m_fMinHeight
 
int m_iNavStyle
 
float m_fNavSpeed
 
float m_fDamping
 
wxString m_strLocFile
 
int m_iInitLocation
 
wxString m_strInitLocation
 
float m_fHither
 
bool m_bAccel
 
bool m_bAllowRoll
 
int m_iVertCount
 
int m_iTileCacheSize
 
bool m_bTileThreading
 
bool m_bTimeOn
 
vtTime m_InitTime
 
float m_fTimeSpeed
 
bool m_bRoads
 
wxString m_strRoadFile
 
bool m_bHwy
 
bool m_bPaved
 
bool m_bDirt
 
float m_fRoadHeight
 
float m_fRoadDistance
 
bool m_bTexRoads
 
bool m_bRoadCulture
 
int m_iVegDistance
 
bool m_bTreesUseShaders
 
bool m_bFog
 
float m_fFogDistance
 
wxString m_strContent
 
std::vector< vtTagArraym_Layers
 
vtStringArray m_AnimPaths
 
int m_iStructDistance
 
bool m_bStructureShadows
 
int m_iShadowRez
 
float m_fDarkness
 
bool m_bShadowsDefaultOn
 
bool m_bShadowsEveryFrame
 
bool m_bLimitShadowArea
 
float m_fShadowRadius
 
bool m_bPagingStructures
 
int m_iPagingStructureMax
 
float m_fPagingStructureDist
 
bool m_bSky
 
wxString m_strSkyTexture
 
bool m_bOceanPlane
 
float m_fOceanPlaneLevel
 
bool m_bWater
 
wxString m_strFilenameWater
 
bool m_bDepressOcean
 
float m_fDepressOceanLevel
 
wxColor m_BgColor
 
wxString m_strUtilFile
 
wxString m_strOverlayFile
 
int m_iOverlayX
 
int m_iOverlayY
 
bool m_bOverview
 
bool m_bCompass
 
wxString m_strInitScenario
 
wxString m_strInitTime
 
std::vector< ScenarioParams > m_Scenarios
 
bool m_bReady
 
bool m_bSetting
 
vtStringArray m_TextureFiles
 

Constructor & Destructor Documentation

TParamsDlg::TParamsDlg ( wxWindow *  parent,
wxWindowID  id,
const wxString &  title,
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxDefaultSize,
long  style = wxDEFAULT_DIALOG_STYLE 
)
TParamsDlg::~TParamsDlg ( )

Member Function Documentation

void TParamsDlg::DeleteItem ( wxListBox *  pBox)
int TParamsDlg::FindLayerByFilename ( const vtString fname)
wxCheckBox* TParamsDlg::GetCheckStructureShadows ( )
inline
wxStaticBitmap* TParamsDlg::GetColorBitmap ( )
inline
wxButton* TParamsDlg::GetDeleteScenario ( )
inline
wxRadioButton* TParamsDlg::GetDerived ( )
inline
wxButton* TParamsDlg::GetEditScenario ( )
inline
wxTextCtrl* TParamsDlg::GetFogDistance ( )
inline
wxTextCtrl* TParamsDlg::GetLightFactor ( )
inline
wxButton* TParamsDlg::GetMovedownScenario ( )
inline
wxButton* TParamsDlg::GetMoveupScenario ( )
inline
void TParamsDlg::GetParams ( TParams Params)
wxRadioButton* TParamsDlg::GetSingle ( )
inline
wxRadioButton* TParamsDlg::GetUseExternal ( )
inline
wxRadioButton* TParamsDlg::GetUseGrid ( )
inline
wxRadioButton* TParamsDlg::GetUseTileset ( )
inline
wxRadioButton* TParamsDlg::GetUseTin ( )
inline
void TParamsDlg::OnInitDialog ( wxInitDialogEvent &  event)
void TParamsDlg::RefreshLocationFields ( )
void TParamsDlg::SetParams ( const TParams Params)

navigation

bool TParamsDlg::TransferDataFromWindow ( )
bool TParamsDlg::TransferDataToWindow ( )
void TParamsDlg::UpdateColorControl ( )
void TParamsDlg::UpdateEnableState ( )
void TParamsDlg::UpdateScenarioChoices ( )
void TParamsDlg::UpdateTimeString ( )

Member Data Documentation

vtStringArray TParamsDlg::m_AnimPaths
bool TParamsDlg::m_bAccel
bool TParamsDlg::m_bAllowRoll
bool TParamsDlg::m_bCompass
bool TParamsDlg::m_bDepressOcean
bool TParamsDlg::m_bDirt
bool TParamsDlg::m_bExternal
bool TParamsDlg::m_bFog
wxColor TParamsDlg::m_BgColor
bool TParamsDlg::m_bGrid
bool TParamsDlg::m_bHwy
bool TParamsDlg::m_bLimitShadowArea
bool TParamsDlg::m_bOceanPlane
bool TParamsDlg::m_bOverview
bool TParamsDlg::m_bPagingStructures
bool TParamsDlg::m_bPaved
bool TParamsDlg::m_bReady
bool TParamsDlg::m_bRoadCulture
bool TParamsDlg::m_bRoads
bool TParamsDlg::m_bSetting
bool TParamsDlg::m_bShadowsDefaultOn
bool TParamsDlg::m_bShadowsEveryFrame
bool TParamsDlg::m_bSky
bool TParamsDlg::m_bStructureShadows
bool TParamsDlg::m_bTexRoads
bool TParamsDlg::m_bTextureGradual
bool TParamsDlg::m_bTileset
bool TParamsDlg::m_bTileThreading
bool TParamsDlg::m_bTimeOn
bool TParamsDlg::m_bTin
bool TParamsDlg::m_bTreesUseShaders
bool TParamsDlg::m_bWater
float TParamsDlg::m_fDamping
float TParamsDlg::m_fDarkness
float TParamsDlg::m_fDepressOceanLevel
float TParamsDlg::m_fFogDistance
float TParamsDlg::m_fHither
float TParamsDlg::m_fMinHeight
float TParamsDlg::m_fNavSpeed
float TParamsDlg::m_fOceanPlaneLevel
float TParamsDlg::m_fPagingStructureDist
float TParamsDlg::m_fRoadDistance
float TParamsDlg::m_fRoadHeight
float TParamsDlg::m_fShadowRadius
float TParamsDlg::m_fTextureLODFactor
float TParamsDlg::m_fTimeSpeed
float TParamsDlg::m_fVerticalExag
int TParamsDlg::m_iInitLocation
int TParamsDlg::m_iLodMethod
int TParamsDlg::m_iNavStyle
vtTime TParamsDlg::m_InitTime
int TParamsDlg::m_iOverlayX
int TParamsDlg::m_iOverlayY
int TParamsDlg::m_iPagingStructureMax
int TParamsDlg::m_iShadowRez
int TParamsDlg::m_iStructDistance
int TParamsDlg::m_iTileCacheSize
int TParamsDlg::m_iTriCount
int TParamsDlg::m_iVegDistance
int TParamsDlg::m_iVertCount
std::vector<vtTagArray> TParamsDlg::m_Layers
TParams TParamsDlg::m_Params
std::vector<ScenarioParams> TParamsDlg::m_Scenarios
wxString TParamsDlg::m_strContent
wxString TParamsDlg::m_strExternalData
wxString TParamsDlg::m_strFilename
wxString TParamsDlg::m_strFilenameTileset
wxString TParamsDlg::m_strFilenameTin
wxString TParamsDlg::m_strFilenameWater
wxString TParamsDlg::m_strInitLocation
wxString TParamsDlg::m_strInitScenario
wxString TParamsDlg::m_strInitTime
wxString TParamsDlg::m_strLocFile
wxString TParamsDlg::m_strOverlayFile
wxString TParamsDlg::m_strRoadFile
wxString TParamsDlg::m_strSkyTexture
wxString TParamsDlg::m_strTerrainName
wxString TParamsDlg::m_strTextureTileset
wxString TParamsDlg::m_strUtilFile
vtStringArray TParamsDlg::m_TextureFiles