44#ifndef vtkGLTFExporter_h
45#define vtkGLTFExporter_h
48#include "vtkIOExportModule.h"
72 vtkGetMacro(InlineData,
bool);
73 vtkSetMacro(InlineData,
bool);
74 vtkBooleanMacro(InlineData,
bool);
85 vtkGetMacro(SaveNormal,
bool);
86 vtkSetMacro(SaveNormal,
bool);
87 vtkBooleanMacro(SaveNormal,
bool);
101 vtkGetMacro(SaveBatchId,
bool);
102 vtkSetMacro(SaveBatchId,
bool);
103 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