25 #ifndef vtkJSONSceneExporter_h 26 #define vtkJSONSceneExporter_h 29 #include "vtkIOExportModule.h" 55 vtkSetStringMacro(FileName);
56 vtkGetStringMacro(FileName);
65 vtkSetMacro(WriteTextures,
bool);
66 vtkGetMacro(WriteTextures,
bool);
79 vtkSetMacro(WriteTextureLODs,
bool);
80 vtkGetMacro(WriteTextureLODs,
bool);
89 vtkSetMacro(TextureLODsBaseSize,
size_t);
90 vtkGetMacro(TextureLODsBaseSize,
size_t);
98 vtkSetStringMacro(TextureLODsBaseUrl);
99 vtkGetStringMacro(TextureLODsBaseUrl);
117 vtkSetMacro(WritePolyLODs,
bool);
118 vtkGetMacro(WritePolyLODs,
bool);
129 vtkSetMacro(PolyLODsBaseSize,
size_t);
130 vtkGetMacro(PolyLODsBaseSize,
size_t);
138 vtkSetStringMacro(PolyLODsBaseUrl);
139 vtkGetStringMacro(PolyLODsBaseUrl);
abstract class to write a scene to a file
represents an object (geometry & properties) in a rendered scene
virtual void WriteData()=0
std::map< vtkTexture *, std::string > TextureStrings
Export the content of a vtkRenderWindow into a directory with a JSON meta file describing the scene a...
abstract class to specify dataset behavior
char * TextureLODsBaseUrl
concrete dataset represents vertices, lines, polygons, and triangle strips
Superclass for mapping scalar values to colors.
a simple class to control print indentation
size_t TextureLODsBaseSize
std::vector< std::string > FilesToZip
handles properties associated with a texture map
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
std::map< vtkTexture *, std::string > TextureLODStrings
void WriteDataSet(vtkUnstructuredGrid *grid, const std::string &file)
std::map< std::string, std::string > LookupTables
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
general representation of visualization data