25#ifndef vtkJSONSceneExporter_h
26#define vtkJSONSceneExporter_h
29#include "vtkIOExportModule.h"
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);
represents an object (geometry & properties) in a rendered scene
Defines a transfer function for mapping a property to an RGB color value.
general representation of visualization data
abstract class to specify dataset behavior
abstract class to write a scene to a file
a simple class to control print indentation
Export the content of a vtkRenderWindow into a directory with a JSON meta file describing the scene a...
void WriteVolumeCollection(vtkVolumeCollection *volumeCollection, std::ostream &sceneComponents)
std::string CurrentDataSetPath() const
std::string WriteTexture(vtkTexture *texture)
std::string WriteDataSet(vtkDataSet *dataset, const char *addOnMeta)
vtkSmartPointer< vtkPolyData > WritePolyLODSeries(vtkPolyData *polys, std::string &config)
void WriteDataObject(ostream &os, vtkDataObject *dataObject, vtkActor *actor, vtkVolume *volume)
std::string ExtractActorRenderingSetup(vtkActor *actor)
char * TextureLODsBaseUrl
std::string ExtractVolumeRenderingSetup(vtkVolume *volume)
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkSetFilePathMacro(FileName)
Specify file name of vtk data file to write.
std::string ExtractPiecewiseFunctionSetup(vtkPiecewiseFunction *pwf)
std::string ExtractColorTransferFunctionSetup(vtkColorTransferFunction *volume)
~vtkJSONSceneExporter() override
void WritePropCollection(vtkPropCollection *collection, std::ostream &sceneComponents)
void WriteLookupTable(const char *name, vtkScalarsToColors *lookupTable)
void WriteData() override
std::vector< std::string > FilesToZip
static vtkJSONSceneExporter * New()
vtkGetFilePathMacro(FileName)
Specify file name of vtk data file to write.
std::string WriteTextureLODSeries(vtkTexture *texture)
std::map< std::string, std::string > LookupTables
std::map< vtkTexture *, std::string > TextureStrings
size_t TextureLODsBaseSize
std::map< vtkTexture *, std::string > TextureLODStrings
Defines a 1D piecewise function.
concrete dataset represents vertices, lines, polygons, and triangle strips
Superclass for mapping scalar values to colors.
Hold a reference to a vtkObjectBase instance.
handles properties associated with a texture map
an ordered list of volumes
represents a volume (data & properties) in a rendered scene