Stg::BlockGroup Class Reference
#include <stage.hh>
List of all members.
Constructor & Destructor Documentation
      
        
          | BlockGroup::BlockGroup  | 
          ( | 
           | 
           )  | 
           | 
        
      
 
 
      
        
          | BlockGroup::~BlockGroup  | 
          ( | 
           | 
           )  | 
           | 
        
      
 
 
Member Function Documentation
      
        
          | void BlockGroup::AppendBlock  | 
          ( | 
          Block *  | 
           block | 
           )  | 
           | 
        
      
 
 
      
        
          | void BlockGroup::AppendTouchingModels  | 
          ( | 
          ModelPtrSet &  | 
           touchers | 
           )  | 
           | 
        
      
 
deletes all blocks from the group 
 
 
      
        
          | void BlockGroup::CalcSize  | 
          ( | 
           | 
           )  | 
           | 
        
      
 
Establish the min and max of all the blocks, so we can scale this group later. 
 
 
      
        
          | void BlockGroup::CallDisplayList  | 
          ( | 
          Model *  | 
           mod | 
           )  | 
           | 
        
      
 
 
      
        
          | void BlockGroup::Clear  | 
          ( | 
           | 
           )  | 
           | 
        
      
 
 
      
        
          | void BlockGroup::DrawFootPrint  | 
          ( | 
          const Geom &  | 
           geom | 
           )  | 
           | 
        
      
 
Draw the projection of the block onto the z=0 plane. 
 
 
      
        
          | void 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 BlockGroup::LoadBitmap  | 
          ( | 
          Model *  | 
           mod,  | 
        
        
           | 
           | 
          const std::string &  | 
           bitmapfile,  | 
        
        
           | 
           | 
          Worldfile *  | 
           wf |   | 
        
        
           | 
          ) | 
           |  |  | 
        
      
 
 
      
        
          | void BlockGroup::LoadBlock  | 
          ( | 
          Model *  | 
           mod,  | 
        
        
           | 
           | 
          Worldfile *  | 
           wf,  | 
        
        
           | 
           | 
          int  | 
           entity |   | 
        
        
           | 
          ) | 
           |  |  | 
        
      
 
 
      
        
          | void BlockGroup::Rasterize  | 
          ( | 
          uint8_t *  | 
           data,  | 
        
        
           | 
           | 
          unsigned int  | 
           width,  | 
        
        
           | 
           | 
          unsigned int  | 
           height,  | 
        
        
           | 
           | 
          stg_meters_t  | 
           cellwidth,  | 
        
        
           | 
           | 
          stg_meters_t  | 
           cellheight |   | 
        
        
           | 
          ) | 
           |  |  | 
        
      
 
 
      
        
          | void BlockGroup::SwitchToTestedCells  | 
          ( | 
           | 
           )  | 
           | 
        
      
 
 
      
        
          | Model * 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 BlockGroup::UnMap  | 
          ( | 
           | 
           )  | 
           | 
        
      
 
 
The documentation for this class was generated from the following files: