 |
VTK
9.0.1
|
Go to the documentation of this file.
23 #ifndef vtkGLTFDocumentLoaderInternals_h
24 #define vtkGLTFDocumentLoaderInternals_h
27 #include "vtk_jsoncpp_fwd.h"
62 bool LoadNodeExtensions(
76 const Json::Value& root, std::vector<char>& buffer,
const std::string& glTFFileName);
82 bool LoadFileMetaData(
const std::string& fileName, Json::Value& gltfRoot);
191 bool LoadKHRLightsPunctualNodeExtension(
const Json::Value& root,
198 bool LoadKHRLightsPunctualExtension(
204 bool LoadKHRLightsPunctualExtensionLight(
This struct describes a glTF animation object.
This struct describes a glTF asset.
bool LoadBuffers(bool firstBufferIsGLB)
Reads the model's buffer metadata, then uses it to load all buffers into the model.
This struct describes a glTF scene object.
static const unsigned short GL_LINE_LOOP
static const unsigned short GL_TRIANGLE_FAN
This struct describes a glTF textureInfo object, mostly used in material descriptions They contain tw...
bool LoadModelMetaDataFromFile(std::string &FileName, std::vector< std::string > &usedExtensions)
Reset internal Model struct, and serialize glTF metadata (all json information) into it.
vtkGLTFDocumentLoader * Self
This struct contains extension metadata.
vtkGLTFDocumentLoaderInternals()=default
static const unsigned short GL_TRIANGLES
static const unsigned short GL_LINES
static const unsigned short GL_TRIANGLE_STRIP
This struct describes a glTF texture object.
static const unsigned short GL_POINTS
This struct describes a glTF material object.
This struct describes an accessor glTF object.
This struct describes a glTF bufferView object.
Internal class for vtkGLTFDocumentLoader.
This struct describes a glTF image object.
static const unsigned short GL_LINE_STRIP
This struct describes an accessor.sparse glTF object.
AccessorType
Defines an accessor's type.
This struct describes a glTF node object.
This struct describes a glTF camera object.
Deserialize a GLTF model file.
This struct describes a glTF mesh object.
This struct describes a glTF sampler object.
This struct describes a glTF primitive object.