Umasoft
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
Public Member Functions | Protected Member Functions | Protected Attributes | Static Protected Attributes | List of all members
BuildingDlg Class Reference
Inheritance diagram for BuildingDlg:
BuildingDlgBase BuildingDlg3d

Public Member Functions

 BuildingDlg (wxWindow *parent, wxWindowID id, const wxString &title, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE)
 
wxTextCtrl * GetFeatures ()
 
wxButton * GetLevelCopy ()
 
wxButton * GetLevelDel ()
 
wxButton * GetLevelDown ()
 
wxButton * GetLevelUp ()
 
wxStaticBitmap * GetColorBitmap1 ()
 
wxStaticBitmap * GetColorBitmap2 ()
 
wxListBox * GetLevelCtrl ()
 
wxListBox * GetEdgeCtrl ()
 
wxChoice * GetFacadeChoice ()
 
void Setup (vtStructureArray *pSA, vtBuilding *bld)
 
void EditColor ()
 
void SetLevel (int i)
 
void SetEdge (int i)
 
void UpdateSlopes ()
 
void RefreshLevelsBox ()
 
void RefreshEdgesBox ()
 
void HighlightSelectedLevel ()
 
void HighlightSelectedEdge ()
 
void UpdateMaterialControl ()
 
void UpdateColorControl ()
 
void UpdateFeatures ()
 
void UpdateFacade ()
 
void SetupControls ()
 
void DeleteCurrentLevel ()
 
void CopyCurrentLevel ()
 
void SetupValidators ()
 
bool AskForTypeAndSlope (bool bAll, RoofType &eType, int &iSlope)
 
void AdjustDialogForEdges ()
 
virtual void EnableRendering (bool bEnable)
 
virtual void Modified ()
 
- Public Member Functions inherited from BuildingDlgBase
 BuildingDlgBase (wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=wxEmptyString, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE|wxTAB_TRAVERSAL)
 

Protected Member Functions

void OnChoiceFacade (wxCommandEvent &event)
 
void OnVertOffset (wxCommandEvent &event)
 
void OnFeatDoor (wxCommandEvent &event)
 
void OnFeatWindow (wxCommandEvent &event)
 
void OnFeatWall (wxCommandEvent &event)
 
void OnFeatClear (wxCommandEvent &event)
 
void OnEdgeSlope (wxCommandEvent &event)
 
void OnLevelDown (wxCommandEvent &event)
 
void OnEdges (wxCommandEvent &event)
 
void OnLevelDelete (wxCommandEvent &event)
 
void OnLevelUp (wxCommandEvent &event)
 
void OnLevelCopy (wxCommandEvent &event)
 
void OnStoryHeight (wxCommandEvent &event)
 
void OnSpinStories (wxSpinEvent &event)
 
void OnColor1 (wxCommandEvent &event)
 
virtual void OnOK (wxCommandEvent &event)
 
void OnCloseWindow (wxCloseEvent &event)
 
void OnInitDialog (wxInitDialogEvent &event)
 
void OnLevel (wxCommandEvent &event)
 
void OnEdge (wxCommandEvent &event)
 
void OnSetRoofType (wxCommandEvent &event)
 
void OnSetEdgeSlopes (wxCommandEvent &event)
 
void OnSetMaterial (wxCommandEvent &event)
 
void OnCharHook (wxKeyEvent &event)
 

Protected Attributes

vtStructureArraym_pSA
 
vtBuildingm_pBuilding
 
vtLevelm_pLevel
 
vtEdgem_pEdge
 
int m_iLevel
 
int m_iEdge
 
int m_iStories
 
float m_fStoryHeight
 
wxString m_strMaterial1
 
wxString m_strMaterial2
 
wxString m_strEdgeSlopes
 
wxString m_strFeatures
 
wxColour m_Color
 
int m_iEdgeSlope
 
wxStaticBitmap * m_pColorBitmapControl
 
wxListBox * m_pLevelListBox
 
wxListBox * m_pEdgeListBox
 
bool m_bSetting
 
bool m_bEdges
 
- Protected Attributes inherited from BuildingDlgBase
wxStaticText * m_text1
 
wxListBox * m_level1
 
wxButton * m_level_copy
 
wxButton * m_level_del
 
wxButton * m_level_up
 
wxButton * m_level_down
 
wxStaticLine * m_line1
 
wxButton * m_editheights
 
wxButton * m_set_roof_type
 
wxPanel * m_panel1
 
wxStaticBoxSizer * sbSizer57
 
wxStaticText * m_text2
 
wxSpinCtrl * m_stories
 
wxStaticText * m_text3
 
wxTextCtrl * m_story_height
 
wxStaticText * m_text4
 
wxStaticText * m_text5
 
wxTextCtrl * m_material1
 
wxButton * m_set_material
 
wxStaticText * m_text6
 
wxStaticBitmap * m_color1
 
wxButton * m_set_color
 
wxStaticText * m_text7
 
wxTextCtrl * m_edge_slopes
 
wxButton * m_set_edge_slopes
 
wxPanel * m_panel2
 
wxListBox * m_edge1
 
wxPanel * m_panel3
 
wxStaticText * m_text131
 
wxTextCtrl * m_material21
 
wxButton * m_set_material11
 
wxStaticText * m_text141
 
wxChoice * m_facade1
 
wxStaticText * m_text151
 
wxStaticBitmap * m_color21
 
wxButton * m_set_color11
 
wxStaticText * m_text161
 
wxTextCtrl * m_edge_slope1
 
wxTextCtrl * m_features1
 
wxButton * m_feat_clear1
 
wxButton * m_feat_wall1
 
wxButton * m_feat_window1
 
wxButton * m_feat_door1
 
wxButton * m_ok1
 
wxButton * m_edges
 

Static Protected Attributes

static wxColourData s_ColorData
 

The documentation for this class was generated from the following files: