11 #include "vtdata/shapelib/shapefil.h"
12 #include "vtdata/Features.h"
13 #include "vtdata/StructArray.h"
14 #include "vtdata/Features.h"
32 bool OnSave(
bool progress_callback(
int) = NULL);
38 void GetPropertyText(wxString &str);
39 bool AskForSaveFilename();
41 wxString GetLayerFilename() {
return wxString(GetFilename(), wxConvUTF8); }
42 void SetLayerFilename(
const wxString &fname)
44 SetFilename((
const char *) fname.mb_str(wxConvUTF8));
45 vtLayer::SetLayerFilename(fname);
63 void DrawBuildingHighlight(wxDC *pDC,
vtScaledView *pView);
64 bool AddElementsFromSHP(
const wxString &filename,
const vtProjection &proj,
DRECT rect);
67 bool EditBuildingProperties();
74 void InvertSelection();
76 int DoBoxSelect(
const DRECT &rect, SelectionType st);
79 virtual void SetEditedEdge(
vtBuilding *bld,
int lev,
int edge);
81 void ResolveInstancesOfItems();
82 void CleanFootprints(
double epsilon,
int °enerate,
int &overlapping);
85 void DrawStructures(wxDC *pDC,
vtScaledView *pView,
bool bOnlySelected);
92 #endif // STRUCTLAYER_H