Umasoft
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
Public Member Functions | Public Attributes | List of all members
vtEdge Class Reference

#include <Building.h>

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< vtEdgeFeaturem_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.


The documentation for this class was generated from the following files: