![]() |
VR-Forces 4.8 Class Documentation
|
The DtOverlayShapeFileSaveHandler class is the interface to be used when saving and overlay layer to a shape file. More...

Public Member Functions | |
| DtOverlayShapeFileSaveHandler (makVrv::DtDe &de) | |
| CTOR. More... | |
| virtual | ~DtOverlayShapeFileSaveHandler () |
| DTOR. More... | |
| virtual bool | overlayLayerCanBeExported (const std::string &overlayLayer) const |
| Returns true if there is any valid exportable item on the overlay layer. More... | |
| virtual bool | exportOverlay (const std::string &overlay, const std::string &rootname) |
| Exports all valid overlay items on the given layer to the rootname file. More... | |
| virtual const DtFilename & | exportTo () const |
| Directory name to export to. More... | |
| virtual bool | isExportable (makVrv::DtUniqueID) const |
| Returns true if this id is an exportable id. More... | |
Public Member Functions inherited from makVrv::DtVirtualBaseClass | |
| DtVirtualBaseClass () | |
| Do nothing constructor. More... | |
| virtual | ~DtVirtualBaseClass () |
| Virtual do nothing destructor. More... | |
Static Public Member Functions | |
| static DtOverlayShapeFileSaveHandler & | instance (makVrv::DtDe &de) |
| static void | registerInstance (makVrv::DtDe &de, DtOverlayShapeFileSaveHandler *) |
Protected Member Functions | |
| virtual bool | exportPointModels (const std::set< makVrv::DtUniqueID > &points, const std::string &root, const std::string &type="P") |
| Exports point, linear and area models to the specified root concactinated with the supplied filename. More... | |
| virtual bool | exportAreaModels (const std::set< makVrv::DtUniqueID > &areas, const std::string &root, const std::string &type="A") |
| virtual bool | exportLinearModels (const std::set< makVrv::DtUniqueID > &lines, const std::string &root, const std::string &type="L") |
| virtual void | removeExistingFiles (const std::string &) const |
| Removes any existing shapefiles at the given location. Called before saving new files. More... | |
| virtual bool | isExportableModel (makVrv::DtModel *) const |
| Returns true if this is an exportable model. More... | |
| virtual bool | isPointModel (makVrv::DtModel *) const |
| virtual bool | isAreaModel (makVrv::DtModel *) const |
| virtual bool | isLinearModel (makVrv::DtModel *) const |
| virtual bool | isPointModel (makVrv::DtUniqueID) const |
| virtual bool | isAreaModel (makVrv::DtUniqueID) const |
| virtual bool | isLinearModel (makVrv::DtUniqueID) const |
| virtual makVrv::DtModel * | modelFor (makVrv::DtUniqueID) const |
| virtual makVrv::DtSceneObject * | findSceneObjectFor (makVrv::DtUniqueID) const |
| virtual GDALDriver * | createOGRDriver (const char *driverName="ESRI Shapefile") |
| virtual OGRLayer * | initializeLayerBasedOnType (const std::string &root, const std::string &fileExtension, int ogrType) |
| virtual void | addFeaturesToLayer (const std::set< makVrv::DtUniqueID > &items, OGRLayer *, int type) const |
| virtual void | cleanup () |
| virtual OGRGeometry * | convertObjectToGeometry (makVrv::DtUniqueID, int type) const |
| virtual std::string | objectName (makVrv::DtUniqueID) const |
| virtual std::string | objectPaletteName (makVrv::DtUniqueID) const |
| virtual std::string | objectEntityType (makVrv::DtUniqueID) const |
Protected Attributes | |
| makVrv::DtDe & | myDe |
| GDALDriver * | myCurrentDriver |
| GDALDataset * | myCurrentDataSource |
| DtFilename | myExportToDirectory |
The DtOverlayShapeFileSaveHandler class is the interface to be used when saving and overlay layer to a shape file.
All routes (lines) will be saved to a <rootname>L.shp, areas to <rootname>A.shp and point to <rootname>P.shp
| makVrf::DtOverlayShapeFileSaveHandler::DtOverlayShapeFileSaveHandler | ( | makVrv::DtDe & | de | ) |
CTOR.
|
virtual |
DTOR.
|
static |
|
static |
|
virtual |
Returns true if there is any valid exportable item on the overlay layer.
|
virtual |
Exports all valid overlay items on the given layer to the rootname file.
|
virtual |
Directory name to export to.
When exporting from a shapefile this will be set to that directory
|
virtual |
Returns true if this id is an exportable id.
|
protectedvirtual |
Exports point, linear and area models to the specified root concactinated with the supplied filename.
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
Removes any existing shapefiles at the given location. Called before saving new files.
|
protectedvirtual |
Returns true if this is an exportable model.
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protected |
|
protected |
|
protected |
|
protected |