30#ifndef vtkGLTFWriter_h
31#define vtkGLTFWriter_h
33#include "vtkIOGeometryModule.h"
38VTK_ABI_NAMESPACE_BEGIN
51 vtkSetStringMacro(FileName);
52 vtkGetStringMacro(FileName);
59 vtkSetStringMacro(TextureBaseDirectory);
60 vtkGetStringMacro(TextureBaseDirectory);
71 vtkSetStringMacro(PropertyTextureFile);
72 vtkGetStringMacro(PropertyTextureFile);
80 vtkGetMacro(InlineData,
bool);
81 vtkSetMacro(InlineData,
bool);
82 vtkBooleanMacro(InlineData,
bool);
92 vtkGetMacro(SaveNormal,
bool);
93 vtkSetMacro(SaveNormal,
bool);
94 vtkBooleanMacro(SaveNormal,
bool);
108 vtkGetMacro(SaveBatchId,
bool);
109 vtkSetMacro(SaveBatchId,
bool);
110 vtkBooleanMacro(SaveBatchId,
bool);
122 vtkGetMacro(SaveTextures,
bool);
123 vtkSetMacro(SaveTextures,
bool);
124 vtkBooleanMacro(SaveTextures,
bool);
133 vtkGetMacro(CopyTextures,
bool);
134 vtkSetMacro(CopyTextures,
bool);
135 vtkBooleanMacro(CopyTextures,
bool);
149 vtkGetMacro(SaveActivePointColor,
bool);
150 vtkSetMacro(SaveActivePointColor,
bool);
151 vtkBooleanMacro(SaveActivePointColor,
bool);
165 vtkGetMacro(RelativeCoordinates,
bool);
166 vtkSetMacro(RelativeCoordinates,
bool);
167 vtkBooleanMacro(RelativeCoordinates,
bool);
176 vtkGetMacro(Binary,
bool);
general representation of visualization data
export a scene into GLTF 2.0 format.
~vtkGLTFWriter() override
std::string WriteToString()
Write the result to a string instead of a file.
static vtkGLTFWriter * New()
void WriteToStreamMultiBlock(ostream &out, vtkMultiBlockDataSet *in)
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
char * PropertyTextureFile
void WriteToStream(ostream &out, vtkDataObject *in)
Write the result to a provided ostream.
bool SaveActivePointColor
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
void WriteData() override
static std::vector< std::string > GetFieldAsStringVector(vtkDataObject *obj, const char *name)
This is used to read texture_uri fields that contain a list of texture paths.
char * TextureBaseDirectory
a simple class to control print indentation
Composite dataset that organizes datasets into blocks.
abstract class to write data to file(s)