vtEdge Class Reference

List of all members.

Public Member Functions

 vtEdge (const vtEdge &lhs)
void Set (int doors, int windows, const char *material)
void AddFeature (int code, float width=-1.0f, float vf1=0.0f, float vf2=1.0f)
size_t NumFeatures () const
int NumFeaturesOfCode (int code)
float FixedFeaturesWidth ()
float ProportionTotal ()

Public Attributes

RGBi m_Color
int m_iSlope
float m_fEaveLength
const vtStringm_pMaterial
std::vector< vtEdgeFeature > m_Features
vtString m_Facade


Detailed Description

Each building level (vtLevel) is composed of a number of edges (vtEdge). There should be one vtEdge for each edge of the level's footprint.

Each edge is in turn composed of a number of vtEdgeFeature objects, which represent such things as walls, doors, and windows. An edge can also simply consist of a Facade texture map.


Generated on Wed Dec 24 13:08:41 2008 for vtdata library by  doxygen 1.5.7.1