14#ifndef vtkGLTFWriterUtils_h 
   15#define vtkGLTFWriterUtils_h 
   17#include "vtkIOGeometryModule.h"  
   20#include <vtk_nlohmannjson.h> 
   21#include VTK_NLOHMANN_JSON(json.hpp) 
   24VTK_ABI_NAMESPACE_BEGIN
 
   35    bool inlineData, nlohmann::json& buffers, nlohmann::json& bufferViews, 
int bufferViewTarget);
 
   37    bool inlineData, nlohmann::json& buffers, nlohmann::json& bufferViews);
 
   46#define GL_UNSIGNED_BYTE 0x1401 
   47#define GL_SHORT 0x1402 
   48#define GL_UNSIGNED_SHORT 0x1403 
   50#define GL_UNSIGNED_INT 0x1405 
   51#define GL_FLOAT 0x1406 
   53#define GL_CLAMP_TO_EDGE 0x812F 
   54#define GL_REPEAT 0x2901 
   56#define GL_NEAREST 0x2600 
   57#define GL_LINEAR 0x2601 
   59#define ARRAY_BUFFER 34962 
   60#define ELEMENT_ARRAY_BUFFER 34963 
Writes base64-encoded output to a stream.
 
object to represent cell connectivity
 
abstract superclass for arrays of numeric data
 
static VTK_WRAPEXCLUDE void WriteValues(vtkDataArray *ca, std::ostream &myFile)
 
static VTK_WRAPEXCLUDE void WriteBufferAndView(vtkDataArray *inda, const char *fileName, bool inlineData, nlohmann::json &buffers, nlohmann::json &bufferViews, int bufferViewTarget)
 
static VTK_WRAPEXCLUDE void WriteValues(vtkDataArray *ca, vtkBase64OutputStream *ostr)
 
static VTK_WRAPEXCLUDE void WriteCellBufferAndView(vtkCellArray *ca, const char *fileName, bool inlineData, nlohmann::json &buffers, nlohmann::json &bufferViews)
 
const int GLTF_ELEMENT_ARRAY_BUFFER
 
const int GLTF_ARRAY_BUFFER