BrickResolutionCalculator Class Reference
This class is the superclass to all classes that implement the calculation of the brick resolutions used in the bricking of large volumes. More...
#include <brickresolutioncalculator.h>
Public Member Functions | |
| BrickResolutionCalculator (BrickingInformation &brickingInformation) | |
| virtual void | calculateBrickResolutions ()=0 |
| Calculates the available brick resolutions a BrickLodSelector can assign to the VolumeBricks. | |
Protected Attributes | |
| BrickingInformation & | brickingInformation_ |
Detailed Description
This class is the superclass to all classes that implement the calculation of the brick resolutions used in the bricking of large volumes.
Each class implementing that calculation receives all the information it needs by the BrickingInformation struct, including information about the available gpu memory and so on. The calculated resolutions are stored in the same BrickingInformation struct.
Definition at line 44 of file brickresolutioncalculator.h.
Member Function Documentation
| virtual void calculateBrickResolutions | ( | ) | [pure virtual] |
Calculates the available brick resolutions a BrickLodSelector can assign to the VolumeBricks.
The available resolutions are stored in the brickingInformation_ struct.
Implemented in BalancedBrickResolutionCalculator, MaximumBrickResolutionCalculator, and StandardBrickResolutionCalculator.