vtlib library
|
Public Member Functions | |
virtual bool | CreateNode (vtTerrain *pTerr) |
virtual vtGeode * | GetGeom () |
Access the Geometry node for this structure, if it has one. | |
virtual void | ShowBounds (bool bShow) |
Protected Member Functions | |
void | AddWallSection (vtEdge *pEdge, bool bUniform, const FLine3 &quad, float h1, float h2, float hf1=-1.0f) |
void | AddHighlightSection (vtEdge *pEdge, const FLine3 &quad) |
void | AddDoorSection (vtEdge *pWall, vtEdgeFeature *pFeat, const FLine3 &quad) |
This class extends vtBuilding with the abiliity to construct and operate on a 3D model of a parametric building.
|
protected |
Builds a door section. will also build the wall above the door to ceiling height.
Creates geometry for a highlighted area (an edge).
|
protected |
Builds a wall, given material index, starting and end points, height, and starting height.
|
virtual |
Creates the geometry for the building. Capable of several levels of detail (defaults to full detail). If the geometry was already built previously, it is destroyed and re-created.
pTerr | The terrain on which to plant the building. |
Implements vtStructure3d.
|
virtual |
Display some bounding wires around the object to highlight it.
Reimplemented from vtStructure3d.