14 #include <vlpi/entityType.h>
47 virtual std::vector<DtDataFileCreationData> loadDataFile(
const std::string& file,
const std::string& defaultOverlay =
"")
const = 0;
62 virtual std::vector<DtDataFileCreationData> loadDataFile(
const std::string& file,
const std::string& defaultOverlay =
"")
const;
66 virtual bool importLayer(GDALDataset* dataSource, OGRLayer*,
const std::string&,
const std::string& shapeFileName,
67 std::vector<DtDataFileCreationData>& importedData)
const;
70 virtual DtDataFileCreationData importFeature(GDALDataset* dataSource, OGRLayer*, OGRFeature*,
const std::string&,
const std::string& shapeFileName)
const;
73 virtual int getForceFromFeature(GDALDataset* dataSource, OGRLayer*, OGRFeature*,
const std::string&)
const;
79 virtual DtEntityType getEntityTypeToCreateFromFeature(GDALDataset* dataSource, OGRLayer* layer, OGRFeature*,
const std::string& shapeFileName)
const;
82 virtual int geometryType(OGRGeometry*)
const;
85 virtual std::vector<DtVector> getFeatureGeometry(OGRFeature*)
const;
87 virtual DtVector convertPointToLocal(OGRPoint*)
const;
90 virtual std::string nameFromFeature(OGRFeature*,
const std::string& shapeFileName)
const;
100 virtual FeatureStyle getStyleForFeature(GDALDataset* dataSource, OGRLayer*, OGRFeature*)
const;
102 static void GDALErrorHandler(
int eclass,
int code,
const char *msg );
115 virtual DtOGRReader* create(
const std::string& gdalDriver);
121 virtual int getForceFromFeature(GDALDataset* dataSource, OGRLayer*, OGRFeature*,
const std::string&)
const;
123 virtual DtEntityType lineType(GDALDataset* dataSource, OGRLayer* layer, OGRFeature*,
const std::string& shapeFileName)
const;
124 virtual DtEntityType pointType(GDALDataset* dataSource, OGRLayer* layer, OGRFeature*,
const std::string& shapeFileName)
const;
125 virtual DtEntityType areaType(GDALDataset* dataSource, OGRLayer* layer, OGRFeature*,
const std::string& shapeFileName)
const;
137 typedef std::map<std::string, std::pair<DtDataFileReader*, makVrv::DtUnicode> >
Drivers;
149 virtual void setDefaultDriver(
const std::string&);
150 virtual const std::string& defaultDriver()
const;
154 virtual bool importShapeFileOntoOverlay(
const std::string& shapefile,
const std::string& overlay,
bool keepLocal =
false);
158 virtual const DtFilename& importFrom()
const;
int penColor
Definition: overlayShapeFileLoadHandler.h:94
DtEnvironmentalCreationData data
Definition: overlayShapeFileLoadHandler.h:33
Virtual base class. Allows for RTTI and proper virtual destruction. Used by Creators, Factories, Providers, Assemblers and User Interfaces.
Definition: DtVirtualBaseClass.h:19
A unicode string. DtUnicode stores a UTF-16 encoded unicode string. Code Point, a Unicode character...
Definition: DtUnicode.h:33
Definition: environmentalCreationData.h:27
Creator used to create the OGR Reader. Install your own version in an initDeModile to create your own...
Definition: overlayShapeFileLoadHandler.h:109
The DtOverlayShapeFileLoadHandler class is the interface to be used when loading a shape file and hav...
Definition: overlayShapeFileLoadHandler.h:134
DtFilename myImportFromDirectory
Definition: overlayShapeFileLoadHandler.h:173
The structure that needs to be filled in to create the environmental object.
Definition: overlayShapeFileLoadHandler.h:31
#define DT_DLL_VRFGUICORE
Contains DLL export macros.
Definition: vrfGuiCore.h:25
makVrv::DtDe & myDe
Definition: overlayShapeFileLoadHandler.h:172
Contains makVrv::DtVirtualBaseClass class.
const Drivers & drivers() const
Definition: overlayShapeFileLoadHandler.h:166
int force
Definition: overlayShapeFileLoadHandler.h:35
int brushColor
Definition: overlayShapeFileLoadHandler.h:96
makVrv::DtDe & myDe
Definition: overlayShapeFileLoadHandler.h:50
std::string myDefaultDriver
Definition: overlayShapeFileLoadHandler.h:175
Drivers myDrivers
Definition: overlayShapeFileLoadHandler.h:174
int penWidth
Definition: overlayShapeFileLoadHandler.h:95
std::map< std::string, std::pair< DtDataFileReader *, makVrv::DtUnicode > > Drivers
Definition: overlayShapeFileLoadHandler.h:137
DtEntityType entityType
Definition: overlayShapeFileLoadHandler.h:34
Contains makVrv::DtUniqueID type.
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:70
Base OGR Reader class that will use GDAL and OGR to parse file.
Definition: overlayShapeFileLoadHandler.h:54
Definition: overlayShapeFileLoadHandler.h:92
std::string myGDALDriver
Definition: overlayShapeFileLoadHandler.h:105
makVrv::DtDe & myDe
Definition: overlayShapeFileLoadHandler.h:128
std::vector< DtVector > localLocations
Definition: overlayShapeFileLoadHandler.h:36
Base class for loading external data files to convert to local overlay objects. This class is only ex...
Definition: overlayShapeFileLoadHandler.h:41