Umasoft
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
Public Member Functions | Protected Attributes | List of all members
vtRawLayer Class Reference
Inheritance diagram for vtRawLayer:
vtLayer vtVegLayer

Public Member Functions

void SetGeomType (OGRwkbGeometryType type)
 
OGRwkbGeometryType GetGeomType ()
 
vtFeatureSetGetFeatureSet ()
 
void SetFeatureSet (vtFeatureSet *pSet)
 
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 ()
 
bool AppendDataFrom (vtLayer *pL)
 Merge the contents of another layer (of the same type)
 
void GetProjection (vtProjection &proj)
 Get the CRS.
 
void SetProjection (const vtProjection &proj)
 Set the CRS, which does not reproject.
 
void Offset (const DPoint2 &p)
 Shift all the coordinates by a horizontal offset.
 
void GetPropertyText (wxString &strIn)
 
void OnLeftDown (BuilderView *pView, UIContext &ui)
 
void AddPoint (const DPoint2 &p2)
 
bool CreateFromOGRLayer (OGRLayer *pOGRLayer)
 
bool ReadFeaturesFromWFS (const char *szServerURL, const char *layername)
 
bool LoadWithOGR (const char *filename, bool progress_callback(int)=NULL)
 
void ScaleHorizontally (double factor)
 
void ScaleVertically (double factor)
 
void OffsetVertically (double amount)
 
void SetDrawStyle (const DrawStyle &style)
 
DrawStyle GetDrawStyle ()
 
vtProjectionGetAtProjection ()
 
wxString GetLayerFilename ()
 
void SetLayerFilename (const wxString &fname)
 
void ReadGeoURL ()
 
bool ImportFromXML (const char *fname)
 
void CreateIndex (int iSize)
 
void FreeIndex ()
 
- Public Member Functions inherited from vtLayer
 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 ()
 
virtual bool AskForSaveFilename ()
 
vtString GetExportFilename (const wxString &format_filter)
 
bool GetAreaExtent (DRECT &rect)
 
virtual void OnLeftUp (BuilderView *pView, UIContext &ui)
 
virtual void OnRightDown (BuilderView *pView, UIContext &ui)
 
virtual void OnRightUp (BuilderView *pView, UIContext &ui)
 
virtual void OnLeftDoubleClick (BuilderView *pView, UIContext &ui)
 
virtual void OnMouseMove (BuilderView *pView, UIContext &ui)
 
virtual void SetLayerName (const vtString &fname)=0
 
virtual vtString GetLayerName ()=0
 
virtual void SetVisible (bool vis)=0
 
virtual bool GetVisible ()=0
 

Protected Attributes

vtFeatureSetm_pSet
 
DrawStyle m_DrawStyle
 
bool m_bExtentComputed
 
DRECT m_Extents
 
- Protected Attributes inherited from vtLayer
wxString m_wsFilename
 
wxString m_wsImportedFrom
 
LayerType m_type
 
bool m_bVisible
 
bool m_bModified
 
bool m_bNative
 
bool m_bSticky
 

Additional Inherited Members

- Static Public Member Functions inherited from vtLayer
static vtLayerCreateNewLayer (LayerType ltype)
 
- Static Public Attributes inherited from vtLayer
static wxArrayString LayerTypeNames
 
static const wxChar * LayerFileExtension []
 
- Protected Member Functions inherited from vtLayer
wxString GetSaveFileDialogFilter ()
 
void SetMessageText (const wxString &msg)
 

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