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

#include <Elastic.h>

Public Member Functions

void SetTerrain (vtTerrain *pTerr)
 
void SetPostHeight (float fMeters)
 
void SetLineHeight (float fMeters)
 
void SetLineColor (const RGBAf &color)
 
void SetPolyline (const DLine2 &line)
 
void AddPoint (const DPoint2 &point, bool bEnforceRightAngles=false)
 
void RemovePoint (int iPoint)
 
void SetPoint (int iPoint, const DPoint2 &point, bool bEnforceRightAngles=false)
 
void EnforceRightAngles ()
 
void Clear ()
 
DLine2GetPolyline ()
 
uint NumPoints ()
 

Protected Member Functions

void Realize ()
 

Protected Attributes

vtMaterialArrayPtr m_Materials
 
vtGroupPtr m_Container
 
DLine2 m_Line
 
vtGeodePtr m_Marker
 
vtTerrainm_pTerr
 
float m_fPostHeight
 
float m_fLineHeight
 

Detailed Description

A polyline geometry that is easy to use, easy to move around on a terrain surface in an elastic way.


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