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