vtStructure Class Reference
List of all members.
|
Public Member Functions |
|
void | CopyFrom (const vtStructure &v) |
|
void | SetType (vtStructureType t) |
|
vtStructureType | GetType () |
|
void | SetElevationOffset (float fOffset) |
|
float | GetElevationOffset () const |
|
void | SetAbsolute (bool b) |
|
bool | GetAbsolute () const |
|
vtBuilding * | GetBuilding () |
|
vtFence * | GetFence () |
|
vtStructInstance * | GetInstance () |
|
virtual bool | GetExtents (DRECT &rect) const =0 |
|
virtual bool | IsContainedBy (const DRECT &rect) const =0 |
|
virtual void | WriteXML (GZOutput &out, bool bDegrees) const =0 |
|
void | WriteTags (GZOutput &out) const |
Protected Attributes |
|
vtStructureType | m_type |
|
float | m_fElevationOffset |
|
bool | m_bAbsolute |
Detailed Description
The
vtStructure class represents any "built structure". These are generally immobile, artificial entities of human-scale and larger, such as buildings and fences.
- Structures are implemented as 3 types:
- For enclosed and linear structures which can be well-described parametrically, vtBuilding and vtFence provide efficient data representation. For other structures which are not easily reduced to parameters, the Instance type allows you to reference any external model, such as a unique building which has been created in a 3D Modelling Tool.