13 #ifndef vtkJSONSceneExporter_h
14 #define vtkJSONSceneExporter_h
17 #include "vtkIOExportModule.h"
24 VTK_ABI_NAMESPACE_BEGIN
49 vtkSetFilePathMacro(FileName);
50 vtkGetFilePathMacro(FileName);
59 vtkSetMacro(WriteTextures,
bool);
60 vtkGetMacro(WriteTextures,
bool);
73 vtkSetMacro(WriteTextureLODs,
bool);
74 vtkGetMacro(WriteTextureLODs,
bool);
83 vtkSetMacro(TextureLODsBaseSize,
size_t);
84 vtkGetMacro(TextureLODsBaseSize,
size_t);
92 vtkSetStringMacro(TextureLODsBaseUrl);
93 vtkGetStringMacro(TextureLODsBaseUrl);
111 vtkSetMacro(WritePolyLODs,
bool);
112 vtkGetMacro(WritePolyLODs,
bool);
123 vtkSetMacro(PolyLODsBaseSize,
size_t);
124 vtkGetMacro(PolyLODsBaseSize,
size_t);
132 vtkSetStringMacro(PolyLODsBaseUrl);
133 vtkGetStringMacro(PolyLODsBaseUrl);
140 void WritePropCollection(
vtkPropCollection* collection, std::ostream& sceneComponents);
141 void WriteVolumeCollection(
vtkVolumeCollection* volumeCollection, std::ostream& sceneComponents);
190 VTK_ABI_NAMESPACE_END
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