15 #include <vsg/io/ReaderWriter.h>
16 #include <vsg/nodes/TileDatabase.h>
17 #include <vsg/state/GraphicsPipeline.h>
18 #include <vsg/utils/GraphicsPipelineConfigurator.h>
19 #include <vsg/utils/ShaderSet.h>
31 tile& operator=(
const tile&) =
delete;
40 mutable std::mutex statsMutex;
41 mutable uint64_t numTilesRead{0};
42 mutable double totalTimeReadingTiles{0.0};
48 dvec3 computeLatitudeLongitudeAltitude(
const dvec3& src)
const;
49 dbox computeTileExtents(uint32_t x, uint32_t y, uint32_t level)
const;
50 Path getTilePath(
const Path& src, uint32_t x, uint32_t y, uint32_t level)
const;
55 ref_ptr<Node> createTile(
const dbox& tile_extents, ref_ptr<Data> sourceData)
const;
56 ref_ptr<Node> createECEFTile(
const dbox& tile_extents, ref_ptr<Data> sourceData)
const;
57 ref_ptr<Node> createTextureQuad(
const dbox& tile_extents, ref_ptr<Data> sourceData)
const;
59 ref_ptr<StateGroup> createRoot()
const;
61 ref_ptr<ShaderSet> _shaderSet;
62 ref_ptr<GraphicsPipelineConfigurator> _graphicsPipelineConfig;
63 uint32_t _materialSetIndex = 1;
64 ref_ptr<Sampler> _sampler;
65 ref_ptr<DescriptorBuffer> _material;
tile reader that is used by the vsg::TileDatabase node to implement the reading of external tiles
Definition: tile.h:26
void init(ref_ptr< const Options > options)
initialize internal data structures
ref_ptr< Object > read(const Path &filename, ref_ptr< const Options > options={}) const override
read the tile
ref_ptr< TileDatabaseSettings > settings
settings provided by the vsg::TileDatabase node
Definition: tile.h:34