25 #ifndef vtkJSONSceneExporter_h
26 #define vtkJSONSceneExporter_h
29 #include "vtkIOExportModule.h"
60 vtkSetFilePathMacro(FileName);
61 vtkGetFilePathMacro(FileName);
70 vtkSetMacro(WriteTextures,
bool);
71 vtkGetMacro(WriteTextures,
bool);
84 vtkSetMacro(WriteTextureLODs,
bool);
85 vtkGetMacro(WriteTextureLODs,
bool);
94 vtkSetMacro(TextureLODsBaseSize,
size_t);
95 vtkGetMacro(TextureLODsBaseSize,
size_t);
103 vtkSetStringMacro(TextureLODsBaseUrl);
104 vtkGetStringMacro(TextureLODsBaseUrl);
122 vtkSetMacro(WritePolyLODs,
bool);
123 vtkGetMacro(WritePolyLODs,
bool);
134 vtkSetMacro(PolyLODsBaseSize,
size_t);
135 vtkGetMacro(PolyLODsBaseSize,
size_t);
143 vtkSetStringMacro(PolyLODsBaseUrl);
144 vtkGetStringMacro(PolyLODsBaseUrl);
151 void WritePropCollection(
vtkPropCollection* collection, std::ostream& sceneComponents);
152 void WriteVolumeCollection(
vtkVolumeCollection* volumeCollection, std::ostream& sceneComponents);
represents a volume (data & properties) in a rendered scene
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
Defines a 1D piecewise function.
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
an ordered list of volumes
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)
Defines a transfer function for mapping a property to an RGB color value.
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