
Public Member Functions | |
| void | AddCityObject (_CityObject *pObject) |
| Add a city object to the model. | |
| CityModel () | |
| Ctor. | |
Private Attributes | |
| CityObjectList | cCityObjectMemberList |
| List of included objects. | |
Root node for a city model. Add this to an wxXmlDocument. Example:
wxXmlDocument cityModelDoc; CityModel *pCM = new CityModel(); cityModel.SetRoot( pCM ); cityModelDoc.Save("MyCityModel.gml");
<?xml version="1.0" encoding="utf-8"?> <core:CityModel xmlns="http://www.citygml.org/citygml/profiles/base/1.0" xmlns:core="http://www.opengis.net/citygml/1.0" xmlns:bldg="http://www.opengis.net/citygml/building/1.0" xmlns:grp="http://www.opengis.net/citygml/cityobjectgroup/1.0" xmlns:tex="http://www.opengis.net/citygml/texturedsurface/1.0" xmlns:gml="http://www.opengis.net/gml" xmlns:xAL="urn:oasis:names:tc:ciq:xsdschema:xAL:2.0" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.citygml.org/citygml/profiles/base/1.0 CityGML.xsd" />
| cgml::CityModel::CityModel | ( | ) |
Ctor.
Adds all XML namespaces
| void cgml::CityModel::AddCityObject | ( | _CityObject * | pObject | ) |
Add a city object to the model.
Adds nodes for city object. E.g.:
<cityObjectMember>
<Building>
...
</Building>
</cityObjectMember>
| pObject | The object to add |