Gray C++ Libraries  0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
GrayMapData::CTemplateRoll Class Reference

#include <cTemplateRoll.h>

Public Member Functions

 CTemplateRoll ()
 
 ~CTemplateRoll ()
 
bool HasResults () const
 
HRESULT RollResults (cMapBase *pMap, cTemplateList &List, CTemplateGroundParams &Params, const cPolygon3f &Poly, const cPoint3f &vOffset, cRandomBase::SEED_t uSeed, cRectI *pRectClip)
 
HRESULT ClearResults ()
 

Static Public Member Functions

static float GRAYCALL GetElementHeight (cMapBase *pMap, const CTemplateGroundParams &Params, const cPolygon3f &Poly, const cPoint3f &vPos)
 

Public Attributes

cArrayVal< CTemplateRollValuem_aRolledValues
 result set for rolling RollResults( cTemplateList ) More...
 

Constructor & Destructor Documentation

◆ CTemplateRoll()

GrayMapData::CTemplateRoll::CTemplateRoll ( )

◆ ~CTemplateRoll()

GrayMapData::CTemplateRoll::~CTemplateRoll ( )

Member Function Documentation

◆ ClearResults()

HRESULT GrayMapData::CTemplateRoll::ClearResults ( )

◆ GetElementHeight()

float GRAYCALL GrayMapData::CTemplateRoll::GetElementHeight ( cMapBase pMap,
const CTemplateGroundParams Params,
const cPolygon3f Poly,
const cPoint3f vPos 
)
static

We can delay the height placement calculation till the item is actually seen.

◆ HasResults()

bool GrayMapData::CTemplateRoll::HasResults ( ) const
inline

◆ RollResults()

HRESULT GrayMapData::CTemplateRoll::RollResults ( cMapBase pMap,
cTemplateList List,
CTemplateGroundParams Params,
const cPolygon3f Poly,
const cPoint3f vOffset,
cRandomBase::SEED_t  uSeed,
cRectI pRectClip 
)

Member Data Documentation

◆ m_aRolledValues

cArrayVal<CTemplateRollValue> GrayMapData::CTemplateRoll::m_aRolledValues

result set for rolling RollResults( cTemplateList )

< An instantiated template. with a particular seed. Given a cTemplateList, CTemplateGroundParams, cPolygon3f and seed This is the set of things rolled out.

Note
divide this into sectors?

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