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