BrickingRegion Class Reference

This class defines a region inside a bricked volume and returns all bricks inside it. More...

#include <brickingregion.h>

Inheritance diagram for BrickingRegion:
BoxBrickingRegion SimpleBrickingRegion

List of all members.

Public Member Functions

 BrickingRegion (BrickingInformation &brickingInformation)
virtual void calculateBricksInRegion ()
 Determines which VolumeBricks lie inside the defined region and stores them in the bricksInTheRegion_ vector.
std::vector< Brick * > getBricks ()
 Gets the VolumeBricks inside the region.
void setPriority (int priority)
 Sets the priority of this region.
int getPriority ()
 Gets the priority of this region.

Protected Attributes

BrickingInformationbrickingInformation_
 All the information about bricking.
std::vector< Brick * > bricksInTheRegion_
 Vector containing all the bricks inside the defined region.
int priority_
 The priority of this region.

Detailed Description

This class defines a region inside a bricked volume and returns all bricks inside it.

The region also has a priority. Regions are used to determine which bricks get which resolution in bricking. Bricks inside a region with a high priority get a higher resolution. The kind of the region is defined by the subclasses.

Definition at line 41 of file brickingregion.h.


Constructor & Destructor Documentation

BrickingRegion ( BrickingInformation brickingInformation  ) 
Parameters:
brickingInformation Struct containing all the information about bricking, including all the VolumeBricks.

Definition at line 32 of file brickingregion.cpp.