Public Member Functions | Private Attributes | List of all members
Stg::SuperRegion Class Reference

#include <region.hh>

Public Member Functions

void AddBlock ()
 
void DrawOccupancy (void) const
 
void DrawVoxels (unsigned int layer) const
 
const point_int_tGetOrigin () const
 
RegionGetRegion (int32_t x, int32_t y)
 
void RemoveBlock ()
 
 SuperRegion (World *world, point_int_t origin)
 
 ~SuperRegion ()
 

Private Attributes

unsigned long count
 
point_int_t origin
 
Region regions [SUPERREGIONSIZE]
 
Worldworld
 

Detailed Description

Definition at line 98 of file region.hh.

Constructor & Destructor Documentation

◆ SuperRegion()

SuperRegion::SuperRegion ( World world,
point_int_t  origin 
)

Definition at line 36 of file region.cc.

◆ ~SuperRegion()

SuperRegion::~SuperRegion ( )

Definition at line 43 of file region.cc.

Member Function Documentation

◆ AddBlock()

void SuperRegion::AddBlock ( )
inline

Definition at line 47 of file region.cc.

◆ DrawOccupancy()

void SuperRegion::DrawOccupancy ( void  ) const

Definition at line 57 of file region.cc.

◆ DrawVoxels()

void SuperRegion::DrawVoxels ( unsigned int  layer) const

Definition at line 212 of file region.cc.

◆ GetOrigin()

const point_int_t& Stg::SuperRegion::GetOrigin ( ) const
inline

Definition at line 116 of file region.hh.

◆ GetRegion()

Region* Stg::SuperRegion::GetRegion ( int32_t  x,
int32_t  y 
)
inline

Definition at line 109 of file region.hh.

◆ RemoveBlock()

void SuperRegion::RemoveBlock ( )
inline

Definition at line 52 of file region.cc.

Member Data Documentation

◆ count

unsigned long Stg::SuperRegion::count
private

Definition at line 100 of file region.hh.

◆ origin

point_int_t Stg::SuperRegion::origin
private

Definition at line 101 of file region.hh.

◆ regions

Region Stg::SuperRegion::regions[SUPERREGIONSIZE]
private

Definition at line 102 of file region.hh.

◆ world

World* Stg::SuperRegion::world
private

Definition at line 103 of file region.hh.


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


stage
Author(s): Richard Vaughan , Brian Gerkey , Reed Hedges , Andrew Howard , Toby Collett , Pooya Karimian , Jeremy Asher , Alex Couture-Beil , Geoff Biggs , Rich Mattes , Abbas Sadat
autogenerated on Mon Feb 28 2022 23:48:56