/** @packageDocumentation * @module OrbitGT */ declare type int32 = number; import { AList } from "../../../system/collection/AList"; import { ContentLoader } from "../../../system/storage/ContentLoader"; import { BlockIndex } from "../../model/BlockIndex"; import { TileIndex } from "../../model/TileIndex"; import { DirectoryRecord } from "./DirectoryRecord"; import { FileReader } from "./FileReader"; import { FileRecord } from "./FileRecord"; /** * Class DirectoryReader reads the tile and block directory. * * @version 1.0 January 2014 */ /** @internal */ export declare class DirectoryReader { /** The file reader */ private _fileReader; /** The level */ private _level; /** The location of the tile directory */ private _tileDirPart; /** The location of the block directory */ private _blockDirPart; /** The directory record */ private _directoryRecord; /** The blocks (lazy loading) */ private _blocks; /** * Create a new reader. * @param fileReader the file reader. * @param level the level. */ constructor(fileReader: FileReader, level: int32); /** * Get the directory record. * @return the directory record. */ getDirectoryRecord(): DirectoryRecord; /** * Get the blocks. * @return the blocks. */ getBlocks(): Array; /** * Load the data. * @param readBlockList should the list of blocks be read? * @param fileContents the file content read helper. * @return the reader. */ loadData(readBlockList: boolean, fileContents: ContentLoader): DirectoryReader; /** * Read the blocks. * @param fileRecord the file record. * @param fileContents the file content read helper. * @return the blocks. */ readBlocks(fileRecord: FileRecord, fileContents: ContentLoader): Array; /** * Read the tiles of a block. * @param block the block record. * @return the tile records. */ readTiles2(block: BlockIndex, fileContents: ContentLoader): Array; /** * Get all tile indexes at this level. * @param tileFilter the optional tile filter. * @param selectionType the type of selection in the pointcloud. * @return the list of tiles. */ getAllTileIndexes2(fileContents: ContentLoader): AList; } export {}; //# sourceMappingURL=DirectoryReader.d.ts.map