This is a LibCorr3D extension of the GeoTessGrid object for use by LibCorr3D.
More...
#include <LibCorr3DGrid.h>
|
virtual GeoTessGrid * | loadGridBinary (IFStreamBinary &ifs) |
| Builds this grid from the contents of the input binary file stream. More...
|
|
This is a LibCorr3D extension of the GeoTessGrid object for use by LibCorr3D.
It acts as home for the the overloaded GeoTessGrid::loadGridBinary(...) function which actually creates a new GeoTessGrid from an old LibCorr2D file.
This extended grid is only created in the case where a LibCorr2D model file is being read.
◆ LibCorr3DGrid()
geotess::LibCorr3DGrid::LibCorr3DGrid |
( |
const string & |
fileName, |
|
|
const string & |
gridID |
|
) |
| |
Parameterized constructor.
- Parameters
-
fileName | the name of the file that contains the desired grid. |
gridID | the gridID of the grid to be loaded. Only used by the method that loads the old LibCorr2D tessellations. |
◆ ~LibCorr3DGrid()
virtual geotess::LibCorr3DGrid::~LibCorr3DGrid |
( |
| ) |
|
|
inlinevirtual |
◆ getComments()
const string & geotess::LibCorr3DGrid::getComments |
( |
| ) |
const |
|
inline |
Return tessellation comments string.
◆ getDescription()
const string & geotess::LibCorr3DGrid::getDescription |
( |
| ) |
const |
|
inline |
Return tessellation description.
◆ getMemory()
virtual LONG_INT geotess::LibCorr3DGrid::getMemory |
( |
| ) |
|
|
inlinevirtual |
Return the amount of memory currently occupied by all of the LibCorr3DModel objects NOT INCLUDING THE GRIDS.
To retrieve the size of the LibCorr3DGrid call model.getGrid().getMemory(). Note that multiple LibCorr3DModels may reference the same LibCorr3DGrid object so if you are working with multiple models and they might be sharing references to the same grids then the best way to find the memory requirements of the set of LibCorr3DGrid objects currently in use is to call the static method GeoTessModel::getReuseGridMapMemory().
- Returns
- memory in bytes.
◆ getParameters()
const string & geotess::LibCorr3DGrid::getParameters |
( |
| ) |
const |
|
inline |
Return tessellation parameters string.
◆ loadGridBinary()
virtual GeoTessGrid * geotess::LibCorr3DGrid::loadGridBinary |
( |
IFStreamBinary & |
ifs | ) |
|
|
protectedvirtual |
Builds this grid from the contents of the input binary file stream.
The documentation for this class was generated from the following file: