26#ifndef vtkGLTFExporter_h
27#define vtkGLTFExporter_h
30#include "vtkIOExportModule.h"
34VTK_ABI_NAMESPACE_BEGIN
55 vtkGetMacro(InlineData,
bool);
56 vtkSetMacro(InlineData,
bool);
57 vtkBooleanMacro(InlineData,
bool);
68 vtkGetMacro(SaveNormal,
bool);
69 vtkSetMacro(SaveNormal,
bool);
70 vtkBooleanMacro(SaveNormal,
bool);
84 vtkGetMacro(SaveBatchId,
bool);
85 vtkSetMacro(SaveBatchId,
bool);
86 vtkBooleanMacro(SaveBatchId,
bool);
abstract class to write a scene to a file
export a scene into GLTF 2.0 format.
static vtkGLTFExporter * New()
std::string WriteToString()
Write the result to a string instead of a file.
~vtkGLTFExporter() override
vtkGetFilePathMacro(FileName)
Specify the name of the GLTF file to write.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void WriteToStream(ostream &out)
Write the result to a provided ostream.
vtkSetFilePathMacro(FileName)
Specify the name of the GLTF file to write.
void WriteData() override
a simple class to control print indentation