|
vtStructInstance & | operator= (const vtStructInstance &v) |
|
void | WriteXML (GZOutput &out, bool bDegrees) const |
|
void | Offset (const DPoint2 &delta) |
|
bool | GetExtents (DRECT &rect) const |
|
bool | IsContainedBy (const DRECT &rect) const |
|
virtual double | DistanceToPoint (const DPoint2 &p, float fMaxRadius) const |
|
void | SetPoint (const DPoint2 &p) |
|
DPoint2 | GetPoint () const |
|
void | SetRotation (float f) |
|
float | GetRotation () const |
|
void | SetScale (float f) |
|
float | GetScale () const |
|
void | SetItem (vtItem *pItem) |
|
vtItem * | GetItem () |
|
void | CopyFrom (const vtStructure &v) |
|
void | SetType (vtStructureType t) |
|
vtStructureType | GetType () const |
|
void | SetElevationOffset (float fOffset) |
|
float | GetElevationOffset () const |
|
void | SetAbsolute (bool b) |
|
bool | GetAbsolute () const |
|
vtBuilding * | GetBuilding () |
|
vtFence * | GetFence () |
|
vtStructInstance * | GetInstance () |
|
void | WriteTags (GZOutput &out) const |
|
void | AddTag (const vtTag &pTag) |
|
void | AddTag (const char *name, const char *value) |
|
vtTag * | FindTag (const char *szTagName) |
|
const vtTag * | FindTag (const char *szTagName) const |
|
vtTag * | GetTag (int index) |
|
const vtTag * | GetTag (int index) const |
|
uint | NumTags () const |
|
void | RemoveTag (int index) |
|
void | RemoveTag (const char *szTagName) |
|
void | Clear () |
|
void | SetValueString (const char *szTagName, const vtString &string, bool bCreating=false) |
|
void | SetValueBool (const char *szTagName, bool value, bool bCreating=false) |
|
void | SetValueInt (const char *szTagName, int value, bool bCreating=false) |
|
void | SetValueFloat (const char *szTagName, float value, bool bCreating=false) |
|
void | SetValueDouble (const char *szTagName, double value, bool bCreating=false) |
|
void | SetValueRGBi (const char *szTagName, const RGBi &value, bool bCreating=false) |
|
const char * | GetValueString (const char *szTagName, bool bSuppressWarning=false) const |
|
bool | GetValueBool (const char *szTagName) const |
|
int | GetValueInt (const char *szTagName) const |
|
float | GetValueFloat (const char *szTagName) const |
|
double | GetValueDouble (const char *szTagName) const |
|
RGBi | GetValueRGBi (const char *szTagName) const |
|
bool | GetValueString (const char *szTagName, vtString &string) const |
|
bool | GetValueBool (const char *szTagName, bool &bValue) const |
|
bool | GetValueInt (const char *szTagName, int &iValue) const |
|
bool | GetValueFloat (const char *szTagName, float &fValue) const |
|
bool | GetValueDouble (const char *szTagName, double &dValue) const |
|
bool | GetValueRGBi (const char *szTagName, RGBi &color) const |
|
vtTagArray & | operator= (const vtTagArray &v) |
|
bool | operator== (const vtTagArray &v) const |
|
bool | operator!= (const vtTagArray &v) const |
|
void | CopyTagsFrom (const vtTagArray &v) |
|
bool | WriteToXML (const char *fname, const char *title) const |
|
void | WriteToXMLBody (FILE *fp, int iIndent) const |
|
bool | LoadFromXML (const char *fname) |
|
virtual bool | OverrideValue (const char *szTagName, const vtString &string) |
|
virtual void | WriteOverridesToXML (FILE *fp) const |
|
void | LogTags () const |
|
This class represents a reference to an external model, such as a unique building which has been created in a 3D Modelling Tool. It is derived from vtTagArray which provides a set of arbitrary tags (name/value pairs). At least one of the following two tags should be present:
- filename, which contains a resolvable path to an external 3d model file. An example is filename="MyModels/GasStation.3ds"
- itemname, which contains the name of a content item which will be resolved by a list maintained by a vtContentManager. An example is itemname="stopsign"