Stg::StgBlock Class Reference

#include <stage.hh>

List of all members.


Public Member Functions

stg_color_t Color ()
void Draw ()
void Draw2D ()
void DrawFootPrint ()
void DrawGlobal ()
void DrawSolid ()
bool IntersectGlobalZ (stg_meters_t z)
void Map ()
StgModelModel ()
stg_point_tPoints (unsigned int *count)
void RecordRenderPoint (GSList **head, GSList *link, unsigned int *c1, unsigned int *c2)
 StgBlock (StgModel *mod, stg_point_t *pts, size_t pt_count, stg_meters_t height, stg_meters_t z_offset, stg_color_t color, bool inherit_color)
void UnMap ()
 ~StgBlock ()

Static Public Member Functions

static void ScaleList (GList *blocks, stg_size_t *size)

Constructor & Destructor Documentation

StgBlock::StgBlock ( StgModel mod,
stg_point_t pts,
size_t  pt_count,
stg_meters_t  zmin,
stg_meters_t  zmax,
stg_color_t  color,
bool  inherit_color 
)

Block Constructor. A model's body is a list of these blocks. The point data is copied, so pts can safely be freed after constructing the block.

Create a new block. A model's body is a list of these blocks. The point data is copied, so pts can safely be freed after calling this.

StgBlock::~StgBlock (  ) 

References UnMap().


Member Function Documentation

stg_color_t Stg::StgBlock::Color (  )  [inline]

void StgBlock::Draw (  ) 

void StgBlock::Draw2D (  ) 

void StgBlock::DrawFootPrint (  ) 

void StgBlock::DrawGlobal (  ) 

void StgBlock::DrawSolid ( void   ) 

bool Stg::StgBlock::IntersectGlobalZ ( stg_meters_t  z  )  [inline]

StgModel* Stg::StgBlock::Model (  )  [inline]

stg_point_t* Stg::StgBlock::Points ( unsigned int *  count  )  [inline]

void StgBlock::RecordRenderPoint ( GSList **  head,
GSList *  link,
unsigned int *  c1,
unsigned int *  c2 
)

void StgBlock::ScaleList ( GList *  blocks,
stg_size_t size 
) [static]

void StgBlock::UnMap (  ) 

References PRINT_DEBUG2, and Stg::StgAncestor::Token().

Referenced by ScaleList(), and ~StgBlock().


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

Generated on Thu Jan 7 17:42:17 2010 for Stage by  doxygen 1.5.5