#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 () |
DLine2 & | GetPolyline () |
uint | NumPoints () |
Protected Member Functions | |
void | Realize () |
Protected Attributes | |
vtMaterialArrayPtr | m_Materials |
vtGroupPtr | m_Container |
DLine2 | m_Line |
vtGeodePtr | m_Marker |
vtTerrain * | m_pTerr |
float | m_fPostHeight |
float | m_fLineHeight |
A polyline geometry that is easy to use, easy to move around on a terrain surface in an elastic way.