Umasoft
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
FeatInfoDlg.h
1 //
2 // Name: FeatInfoDlg.h
3 //
4 // Copyright (c) 2002-2007 Virtual Terrain Project
5 // Free for all uses, see license.txt for details.
6 //
7 
8 #ifndef __FeatInfoDlg_H__
9 #define __FeatInfoDlg_H__
10 
11 #include "vtui/FeatureTableDlg.h"
12 #include "RawLayer.h"
13 
14 class BuilderView;
15 
17 {
18 public:
19  // constructors and destructors
20  FeatInfoDlg( wxWindow *parent, wxWindowID id, const wxString &title,
21  const wxPoint& pos = wxDefaultPosition,
22  const wxSize& size = wxDefaultSize,
23  long style = wxDEFAULT_DIALOG_STYLE );
24 
25  void SetLayer(vtLayer *pLayer) { m_pLayer = pLayer; }
26  void SetView(BuilderView *pView) { m_pView = pView; }
27  vtLayer *GetLayer() { return m_pLayer; }
28 
29  virtual void OnModified();
30  virtual void RefreshViz();
31 
32 protected:
33  BuilderView *m_pView;
34  vtLayer *m_pLayer;
35 };
36 
37 #endif // __FeatInfoDlg_H__
38