17 #ifndef vtkCesium3DTilesReader_h
18 #define vtkCesium3DTilesReader_h
20 #include "vtkIOCesium3DTilesModule.h"
23 #include <vtk_nlohmannjson.h>
24 #include VTK_NLOHMANN_JSON(json.hpp)
26 VTK_ABI_NAMESPACE_BEGIN
70 vtkSetFilePathMacro(FileName);
71 vtkGetFilePathMacro(FileName);
81 vtkSetMacro(Level,
int);
82 vtkGetMacro(Level,
int);
108 std::pair<size_t, size_t> ToLocalIndex(
size_t globalIndex);
110 char* FileName =
nullptr;
121 friend class Tileset;
126 std::vector<std::shared_ptr<Tileset>> Tilesets;
127 std::map<std::string, size_t> FileNameToTilesetIndex;
131 std::vector<vtkSmartPointer<vtkGLTFReader>> TileReaders;
134 VTK_ABI_NAMESPACE_END
composite dataset to encapsulates a dataset consisting of partitions.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
Methods for subclasses to override to handle different pipeline requests.
Hold a reference to a vtkObjectBase instance.
Reads a Cesium 3D Tiles tileset.
virtual int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
Methods for subclasses to override to handle different pipeline requests.
a simple class to control print indentation
Superclass for algorithms that produce vtkPartitionedDataSetCollectionAlgorithm.
static vtkAlgorithm * New()
Composite dataset that groups datasets as a collection.