11 #ifndef vtkGLTFDocumentLoaderInternals_h
12 #define vtkGLTFDocumentLoaderInternals_h
15 #include <vtk_nlohmannjson.h>
16 #include VTK_NLOHMANN_JSON(json.hpp)
21 VTK_ABI_NAMESPACE_BEGIN
54 bool LoadNodeExtensions(
67 bool LoadBuffer(
const nlohmann::json& root, std::vector<char>& buffer);
73 bool LoadFileMetaData(nlohmann::json& gltfRoot);
182 bool LoadKHRLightsPunctualNodeExtension(
const nlohmann::json& root,
189 bool LoadKHRLightsPunctualExtension(
195 bool LoadKHRLightsPunctualExtensionLight(
199 VTK_ABI_NAMESPACE_END
AccessorType
Defines an accessor's type.
This struct describes a glTF animation object.
static const unsigned short GL_LINE_STRIP
static const unsigned short GL_POINTS
This struct describes a glTF textureInfo object, mostly used in material descriptions They contain tw...
This struct describes a glTF scene object.
Internal class for vtkGLTFDocumentLoader.
vtkGLTFDocumentLoaderInternals()=default
This struct describes a glTF texture object.
This struct describes a glTF camera object.
This struct describes a glTF node object.
This struct describes a glTF primitive object.
static const unsigned short GL_TRIANGLES
bool LoadBuffers(bool firstBufferIsGLB)
Reads the model's buffer metadata, then uses it to load all buffers into the model.
This struct describes an accessor.sparse glTF object.
This struct contains extension metadata.
vtkGLTFDocumentLoader * Self
bool LoadModelMetaData(std::vector< std::string > &extensionsUsedByLoader)
Reset internal Model struct, and serialize glTF metadata (all json information) into it...
This struct describes a glTF image object.
This struct describes a glTF material object.
This struct describes a glTF sampler object.
Deserialize a GLTF model file.
This struct describes an accessor glTF object.
This struct describes a glTF bufferView object.
This struct describes a glTF asset.
static const unsigned short GL_LINE_LOOP
static const unsigned short GL_TRIANGLE_FAN
This struct describes a glTF mesh object.
static const unsigned short GL_TRIANGLE_STRIP
static const unsigned short GL_LINES