|
bool | GetExtent (DRECT &rect) |
| Get the extents.
|
|
void | DrawLayer (wxDC *pDC, vtScaledView *pView) |
|
bool | TransformCoords (vtProjection &proj) |
| Transform the coordinates into another CRS.
|
|
bool | OnSave (bool progress_callback(int)=NULL) |
|
bool | OnLoad () |
|
void | GetProjection (vtProjection &proj) |
| Get the CRS.
|
|
void | SetProjection (const vtProjection &proj) |
| Set the CRS, which does not reproject.
|
|
bool | AppendDataFrom (vtLayer *pL) |
| Merge the contents of another layer (of the same type)
|
|
void | Offset (const DPoint2 &p) |
| Shift all the coordinates by a horizontal offset.
|
|
void | GetPropertyText (wxString &str) |
|
bool | AskForSaveFilename () |
|
wxString | GetLayerFilename () |
|
void | SetLayerFilename (const wxString &fname) |
|
void | OnLeftDown (BuilderView *pView, UIContext &ui) |
|
void | OnLeftUp (BuilderView *pView, UIContext &ui) |
|
void | OnRightDown (BuilderView *pView, UIContext &ui) |
|
void | OnMouseMove (BuilderView *pView, UIContext &ui) |
|
void | OnLeftDownEditBuilding (BuilderView *pView, UIContext &ui) |
|
void | OnLeftDownBldAddPoints (BuilderView *pView, UIContext &ui) |
|
void | OnLeftDownBldDeletePoints (BuilderView *pView, UIContext &ui) |
|
void | OnLeftDownEditLinear (BuilderView *pView, UIContext &ui) |
|
void | OnLeftDownAddInstance (BuilderView *pView, UIContext &ui, vtTagArray *tags) |
|
void | UpdateMove (UIContext &ui) |
|
void | UpdateRotate (UIContext &ui) |
|
void | UpdateResizeScale (BuilderView *pView, UIContext &ui) |
|
void | DrawBuildingHighlight (wxDC *pDC, vtScaledView *pView) |
|
bool | AddElementsFromSHP (const wxString &filename, const vtProjection &proj, DRECT rect) |
|
void | AddElementsFromDLG (vtDLGFile *pDlg) |
|
bool | EditBuildingProperties () |
|
void | AddFoundations (vtElevLayer *pEL) |
|
void | DrawBuilding (wxDC *pDC, vtScaledView *pView, vtBuilding *bld) |
|
void | DrawLinear (wxDC *pDC, vtScaledView *pView, vtFence *fen) |
|
void | InvertSelection () |
|
void | DeselectAll () |
|
int | DoBoxSelect (const DRECT &rect, SelectionType st) |
|
virtual void | SetEditedEdge (vtBuilding *bld, int lev, int edge) |
|
void | ResolveInstancesOfItems () |
|
void | CleanFootprints (double epsilon, int °enerate, int &overlapping) |
|
void | SetLayerName (const vtString &fname) |
|
vtString | GetLayerName () |
|
void | SetVisible (bool vis) |
|
bool | GetVisible () |
|
virtual vtBuilding * | NewBuilding () |
|
virtual vtFence * | NewFence () |
|
virtual vtStructInstance * | NewInstance () |
|
vtStructure3d * | GetStructure3d (int i) |
|
vtBuilding3d * | GetBuilding (int i) |
|
vtFence3d * | GetFence (int i) |
|
vtStructInstance3d * | GetInstance (int i) |
|
void | SetTerrain (vtTerrain *pTerr) |
| Indicate the heightfield which will be used for the structures in this array.
|
|
bool | ConstructStructure (vtStructure3d *str) |
| Construct an individual structure, return true if successful.
|
|
bool | ConstructStructure (int index) |
|
void | OffsetSelectedStructures (const DPoint2 &offset) |
|
void | OffsetSelectedStructuresVertical (float offset) |
|
void | VisualDeselectAll () |
| Deselect all structures including turning off their visual highlights.
|
|
void | SetEnabled (bool bTrue) |
| Enable (set visibility of) the structures.
|
|
void | SetShadows (bool bTrue) |
| Set shadows on/off for all structures.
|
|
virtual void | DestroyStructure (int i) |
|
virtual void | DestructItems (uint first, uint last) |
|
void | SetFilename (const vtString &str) |
|
vtString | GetFilename () |
|
int | GetFirstSelected () |
|
int | GetNextSelected () |
|
int | DeleteSelected () |
|
bool | ReadSHP (const char *pathname, StructImportOptions &opt, bool progress_callback(int)=NULL) |
|
void | AddElementsFromOGR (class OGRDataSource *datasource, StructImportOptions &opt, bool progress_callback(int)=NULL) |
|
void | AddElementsFromOGR_SDTS (class OGRDataSource *datasource, bool progress_callback(int)=NULL) |
|
void | AddElementsFromOGR_RAW (class OGRDataSource *datasource, StructImportOptions &opt, bool progress_callback(int)=NULL) |
|
void | AddBuildingsFromOGR (class OGRLayer *pLayer, StructImportOptions &opt, bool progress_callback(int)=NULL) |
|
void | AddLinearsFromOGR (class OGRLayer *pLayer, StructImportOptions &opt, bool progress_callback(int)=NULL) |
|
void | AddInstancesFromOGR (class OGRLayer *pLayer, StructImportOptions &opt, bool progress_callback(int)=NULL) |
|
bool | ReadBCF (const char *pathname) |
|
bool | ReadBCF_Old (FILE *fp) |
|
bool | ReadXML (const char *pathname, bool progress_callback(int)=NULL) |
|
bool | WriteXML (const char *pathname, bool bGZip=false) const |
|
bool | WriteFootprintsToSHP (const char *pathname) |
|
bool | WriteFootprintsToCanoma3DV (const char *pathname, const DRECT *area, const vtHeightField *pHF) |
|
bool | FindClosestBuildingCorner (const DPoint2 &point, double epsilon, int &building, int &corner, double &distance) |
|
bool | FindClosestBuildingCenter (const DPoint2 &point, double epsilon, int &building, double &distance) |
|
bool | FindClosestLinearCorner (const DPoint2 &point, double epsilon, int &structure, int &corner, double &distance) |
|
bool | FindClosestStructure (const DPoint2 &point, double epsilon, int &structure, double &distance, float fMaxInstRadius=1E9f, float fLinearWidthBuffer=0.0f) |
|
bool | FindClosestBuilding (const DPoint2 &point, double epsilon, int &structure, double &closest) |
|
bool | IsEmpty () |
|
void | GetExtents (DRECT &ext) const |
|
void | Offset (const DPoint2 &delta) |
|
int | AddFoundations (vtHeightField *pHF, bool progress_callback(int)=NULL) |
|
void | RemoveFoundations () |
|
int | NumSelected () |
|
void | DeselectAll () |
|
vtBuilding * | AddNewBuilding () |
|
vtFence * | AddNewFence () |
|
vtStructInstance * | AddNewInstance () |
|
vtBuilding * | AddBuildingFromLineString (class OGRLineString *pLineString) |
|
| vtArray (uint size=0) |
|
| vtArray (const vtArray< vtStructure * > &) |
|
uint | GetSize () const |
|
uint | GetMaxSize () const |
|
bool | SetSize (uint) |
|
bool | SetMaxSize (uint) |
|
uint | GetElemSize () const |
|
vtStructure ** | GetData () const |
|
void | FreeData () |
|
bool | IsEmpty () const |
|
vtStructure *& | GetAt (uint i) const |
|
bool | SetAt (uint i, vtStructure *) |
|
vtArray< vtStructure * > & | operator= (const vtArray< vtStructure * > &) |
|
vtStructure *& | operator[] (uint i) |
|
const vtStructure *& | operator[] (uint i) const |
|
void | Empty () |
|
bool | RemoveAt (uint i, int n=1) |
|
int | Append (const vtStructure *&) |
|
int | Append (const vtArray< vtStructure * > &) |
|
int | Find (const vtStructure *&) const |
|
bool | GetEnabled () |
|
| vtLayer (LayerType type) |
|
LayerType | GetType () |
|
bool | SetVisible (bool bVisible) |
|
bool | GetVisible () |
|
void | SetModified (bool bModified) |
|
bool | GetModified () |
|
void | SetSticky (bool bSticky) |
|
bool | GetSticky () |
|
bool | IsNative () |
|
wxString | GetImportedFrom () |
|
void | SetImportedFrom (const wxString &fname) |
|
bool | Save (bool progress_callback(int)=NULL) |
|
bool | SaveAs (const wxString &filename=_T(""), bool progress_callback(int)=NULL) |
|
bool | Load (const wxString &filename=_T("")) |
|
virtual bool | SetExtent (const DRECT &rect) |
|
virtual wxString | GetFileExtension () |
|
virtual bool | CanBeSaved () |
|
vtString | GetExportFilename (const wxString &format_filter) |
|
bool | GetAreaExtent (DRECT &rect) |
|
virtual void | OnRightUp (BuilderView *pView, UIContext &ui) |
|
virtual void | OnLeftDoubleClick (BuilderView *pView, UIContext &ui) |
|