Stg::BlockGroup Class Reference
#include <stage.hh>
List of all members.
Detailed Description
Definition at line 1163 of file stage.hh.
Constructor & Destructor Documentation
Stg::BlockGroup::BlockGroup |
( |
|
) |
|
Stg::BlockGroup::~BlockGroup |
( |
|
) |
|
Member Function Documentation
void Stg::BlockGroup::AppendBlock |
( |
Block * |
block |
) |
|
void Stg::BlockGroup::AppendTouchingModels |
( |
ModelPtrSet & |
touchers |
) |
|
deletes all blocks from the group
void Stg::BlockGroup::BuildDisplayList |
( |
Model * |
mod |
) |
[private] |
void Stg::BlockGroup::CalcSize |
( |
|
) |
|
Establish the min and max of all the blocks, so we can scale this group later.
void Stg::BlockGroup::CallDisplayList |
( |
Model * |
mod |
) |
|
void Stg::BlockGroup::Clear |
( |
|
) |
|
void Stg::BlockGroup::DrawFootPrint |
( |
const Geom & |
geom |
) |
|
Draw the projection of the block onto the z=0 plane.
void Stg::BlockGroup::DrawSolid |
( |
const Geom & |
geom |
) |
|
Draw the block in OpenGL as a solid single color.
uint32_t Stg::BlockGroup::GetCount |
( |
|
) |
[inline] |
const Size& Stg::BlockGroup::GetSize |
( |
|
) |
[inline] |
void Stg::BlockGroup::InvalidateModelPointCache |
( |
|
) |
[inline] |
void Stg::BlockGroup::LoadBitmap |
( |
Model * |
mod, |
|
|
const std::string & |
bitmapfile, |
|
|
Worldfile * |
wf | |
|
) |
| | |
void Stg::BlockGroup::LoadBlock |
( |
Model * |
mod, |
|
|
Worldfile * |
wf, |
|
|
int |
entity | |
|
) |
| | |
void Stg::BlockGroup::Map |
( |
|
) |
|
void Stg::BlockGroup::Rasterize |
( |
uint8_t * |
data, |
|
|
unsigned int |
width, |
|
|
unsigned int |
height, |
|
|
stg_meters_t |
cellwidth, |
|
|
stg_meters_t |
cellheight | |
|
) |
| | |
void Stg::BlockGroup::SwitchToTestedCells |
( |
|
) |
|
Model* Stg::BlockGroup::TestCollision |
( |
|
) |
|
Returns a pointer to the first model detected to be colliding with a block in this group, or NULL, if none are detected.
void Stg::BlockGroup::UnMap |
( |
|
) |
|
Friends And Related Function Documentation
friend class Block [friend] |
friend class Model [friend] |
Member Data Documentation
The documentation for this class was generated from the following file: