35 #ifndef vtkGLTFExporter_h
36 #define vtkGLTFExporter_h
39 #include "vtkIOExportModule.h"
63 vtkGetMacro(InlineData,
bool);
64 vtkSetMacro(InlineData,
bool);
65 vtkBooleanMacro(InlineData,
bool);
76 vtkGetMacro(SaveNormal,
bool);
77 vtkSetMacro(SaveNormal,
bool);
78 vtkBooleanMacro(SaveNormal,
bool);
92 vtkGetMacro(SaveBatchId,
bool);
93 vtkSetMacro(SaveBatchId,
bool);
94 vtkBooleanMacro(SaveBatchId,
bool);
abstract class to write a scene to a file
export a scene into GLTF 2.0 format.
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.
static vtkGLTFExporter * New()
void WriteData() override
a simple class to control print indentation