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

#include <Route.h>

Public Member Functions

 vtRoute (vtTerrain *pT)
 
void AddPoint (const DPoint2 &epos, const char *structname)
 
void BuildGeometry (vtHeightField3d *pHeightField)
 
void DestroyGeometry ()
 
void Dirty ()
 
vtGeodeGetGeom ()
 
vtUtilNodeGetAt (uint iter)
 
long GetSize ()
 

Protected Member Functions

bool _LoadStructure (vtUtilNode *node)
 
void _ComputeStructureRotations ()
 
void _CreateStruct (int iNode)
 
void _DeleteStruct (int iNode)
 
void _AddRouteMeshes (vtHeightField3d *pHeightField)
 
void _StringWires (long lTowerIndex, vtHeightField3d *pHeightField)
 
void _DrawCat (FPoint3 p0, FPoint3 p1, double catenary, int iNumSegs, vtMesh *pWireMesh)
 

Static Protected Member Functions

static void _CreateMaterials ()
 

Protected Attributes

vtGeodem_pWireGeom
 
vtTerrainm_pTheTerrain
 
vtArray< vtUtilNode * > m_Nodes
 
bool m_bBuilt
 
bool m_bDirty
 

Static Protected Attributes

static vtMaterialArraym_pRouteMats = NULL
 
static int m_mi_wire
 

Detailed Description

A vtRoute is a set of nodes (vtUtilNode) describing the path of utility components (such as a power line).


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