![]() |
VR-Forces 4.7 Class Documentation
|
Handler for looking at all the props in the system and translating them into shapefile point features. More...

Classes | |
| struct | PropInformation |
Public Member Functions | |
| DtPropShapefileCreateHandler (makVrv::DtDe &de) | |
| CTOR. | |
| virtual | ~DtPropShapefileCreateHandler () |
| DTOR. | |
| virtual const DtFilename & | exportTo () const |
| Directory name to export to. | |
| virtual void | setExportToDirectory (const DtFilename &) |
| virtual const DtFilename & | propInformationFilename () const |
| Accessor/mutator for prop information that will be stored in shapefile. Default is /importConfig/PropAttributes.txt. | |
| virtual void | setPropInformationFilename (const DtFilename &) |
| virtual bool | exportPropsToShapefile (const std::string &, makVrv::DtUnicode &sError, DtString &filesCreated) const |
| Exports all the props to the shapefile with the given name. | |
Public Member Functions inherited from makVrv::DtVirtualBaseClass | |
| DtVirtualBaseClass () | |
| Do nothing constructor. | |
| virtual | ~DtVirtualBaseClass () |
| Virtual do nothing destructor. | |
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, OGRSFDriver *, const DtFilename &, makVrv::DtUnicode &sError, bool &haveSome) const |
| virtual bool | createSpeedTreeShapefile (const makArchives::DtTerrainRecord &, const PropInformationMap &, const DtFilename &relativePath, OGRSFDriver *, const DtFilename &, makVrv::DtUnicode &sError, bool &haveSome) const |
| virtual void | removeSourceFiles (const DtFilename &, const std::string &type) const |
| virtual OGRDataSource * | createDataSource (OGRSFDriver *, const DtFilename &, const std::string &type, makVrv::DtUnicode &sError) const |
| virtual OGRLayer * | createLayer (OGRDataSource *, 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 |
Protected Attributes | |
| DtFilename | myExportToDirectory |
| DtFilename | myPropInformationFilename |
| makVrv::DtDe & | myDe |
Handler for looking at all the props in the system and translating them into shapefile point features.
|
protected |
|
protected |
| makVrf::DtPropShapefileCreateHandler::DtPropShapefileCreateHandler | ( | makVrv::DtDe & | de | ) |
CTOR.
|
virtual |
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 |
|
protected |
|
protected |
|
protected |