32#ifndef vtkGLTFWriter_h
33#define vtkGLTFWriter_h
35#include "vtkIOGeometryModule.h"
52 vtkSetStringMacro(FileName);
53 vtkGetStringMacro(FileName);
60 vtkSetStringMacro(TextureBaseDirectory);
61 vtkGetStringMacro(TextureBaseDirectory);
69 vtkGetMacro(InlineData,
bool);
70 vtkSetMacro(InlineData,
bool);
71 vtkBooleanMacro(InlineData,
bool);
82 vtkGetMacro(SaveNormal,
bool);
83 vtkSetMacro(SaveNormal,
bool);
84 vtkBooleanMacro(SaveNormal,
bool);
98 vtkGetMacro(SaveBatchId,
bool);
99 vtkSetMacro(SaveBatchId,
bool);
100 vtkBooleanMacro(SaveBatchId,
bool);
106 vtkGetMacro(SaveTextures,
bool);
107 vtkSetMacro(SaveTextures,
bool);
108 vtkBooleanMacro(SaveTextures,
bool);
export a scene into GLTF 2.0 format.
~vtkGLTFWriter() override
std::string WriteToString()
Write the result to a string instead of a file.
void WriteToStream(ostream &out, vtkMultiBlockDataSet *in)
Write the result to a provided ostream.
static vtkGLTFWriter * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
void WriteData() override
char * TextureBaseDirectory
a simple class to control print indentation
Composite dataset that organizes datasets into blocks.
abstract class to write data to file(s)