![]() |
VR-Forces Developer's Guide
|
Handler for looking at all the props in the system and translating them into shapefile point features.

Classes | |
| struct | PropInformation |
Public Member Functions | |
| DtPropShapefileCreateHandler (makVrv::DtDe &de) | |
| virtual | ~DtPropShapefileCreateHandler () override |
| virtual const DtFilename & | exportTo () const |
| virtual void | setExportToDirectory (const DtFilename &) |
| virtual const DtFilename & | propInformationFilename () const |
| virtual void | setPropInformationFilename (const DtFilename &) |
| virtual bool | exportPropsToShapefile (const std::string &, makVrv::DtUnicode &sError, DtString &filesCreated) const |
Public Member Functions inherited from makVrv::DtVirtualBaseClass | |
| DtVirtualBaseClass () | |
| virtual | ~DtVirtualBaseClass () |
Static Public Member Functions | |
| static DtPropShapefileCreateHandler & | instance (makVrv::DtDe &de) |
| static void | registerInstance (makVrv::DtDe &de, DtPropShapefileCreateHandler *) |
Protected Types | |
| typedef struct makVrf::DtPropShapefileCreateHandler::PropInformation | PropInformation |
| typedef std::map< std::string, PropInformation > | PropInformationMap |
Protected Member Functions | |
| virtual PropInformationMap | readPropInformation (const DtFilename &) const |
| virtual void | addPropRecords (const std::vector< makArchives::DtPropRecord > &propRecords, OGRLayer *poLayer, const PropInformationMap &propInformationMap, const DtFilename &dataRoot, bool forSpeedTree) const |
| virtual DtFilename | modelDefinitionFilename (const std::string &modelDefinition, const DtFilename &dataRoot, bool &isSpeedtree) const |
| virtual bool | createBuildingsShapefile (const makArchives::DtTerrainRecord &, const PropInformationMap &, const DtFilename &relativePath, GDALDriver *, const DtFilename &, makVrv::DtUnicode &sError, bool &haveSome) const |
| virtual bool | createSpeedTreeShapefile (const makArchives::DtTerrainRecord &, const PropInformationMap &, const DtFilename &relativePath, GDALDriver *, const DtFilename &, makVrv::DtUnicode &sError, bool &haveSome) const |
| virtual void | removeSourceFiles (const DtFilename &, const std::string &type) const |
| virtual GDALDataset * | createDataSource (GDALDriver *, const DtFilename &, const std::string &type, makVrv::DtUnicode &sError) const |
| virtual OGRLayer * | createLayer (GDALDataset *, bool forSpeedTree, makVrv::DtUnicode &sError) const |
| virtual bool | hasBuildings (const makArchives::DtTerrainRecord &terrainRecord, const DtFilename &) const |
| virtual bool | hasSpeedTrees (const makArchives::DtTerrainRecord &terrainRecord, const DtFilename &) const |
| virtual bool | hasBuildings (const makArchives::DtPropSettingsRecord &records, const DtFilename &dataRoot) const |
| virtual bool | hasSpeedTrees (const makArchives::DtPropSettingsRecord &records, const DtFilename &dataRoot) const |
Protected Attributes | |
| DtFilename | myExportToDirectory |
| DtFilename | myPropInformationFilename |
| makVrv::DtDe & | myDe |
|
protected |
|
protected |
| makVrf::DtPropShapefileCreateHandler::DtPropShapefileCreateHandler | ( | makVrv::DtDe & | de | ) |
CTOR.
|
overridevirtual |
DTOR.
|
static |
|
static |
|
virtual |
Directory name to export to. When exporting from a shapefile this will be set to that directory.
|
virtual |
|
virtual |
Accessor/mutator for prop information that will be stored in shapefile. Default is /importConfig/PropAttributes.txt.
|
virtual |
|
virtual |
Exports all the props to the shapefile with the given name. Will overwrite any shapefile and shapefile information of that name that might exist.
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protected |
|
protected |
|
protected |