26#ifndef vtkGLTFWriterUtils_h
27#define vtkGLTFWriterUtils_h
29#include "vtkIOGeometryModule.h"
32#include <vtk_nlohmannjson.h>
33#include VTK_NLOHMANN_JSON(json.hpp)
46 bool inlineData, nlohmann::json& buffers, nlohmann::json& bufferViews);
48 bool inlineData, nlohmann::json& buffers, nlohmann::json& bufferViews);
57#define GL_UNSIGNED_BYTE 0x1401
58#define GL_SHORT 0x1402
59#define GL_UNSIGNED_SHORT 0x1403
61#define GL_UNSIGNED_INT 0x1405
62#define GL_FLOAT 0x1406
64#define GL_CLAMP_TO_EDGE 0x812F
65#define GL_REPEAT 0x2901
67#define GL_NEAREST 0x2600
68#define GL_LINEAR 0x2601
70#define ARRAY_BUFFER 34962
71#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 WriteBufferAndView(vtkDataArray *inda, const char *fileName, bool inlineData, nlohmann::json &buffers, nlohmann::json &bufferViews)
static VTK_WRAPEXCLUDE void WriteValues(vtkDataArray *ca, std::ostream &myFile)
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)