27 #ifndef vtkVtkJSSceneGraphSerializer_h
28 #define vtkVtkJSSceneGraphSerializer_h
30 #include "vtkRenderingVtkJSModule.h"
33 #include <vtk_jsoncpp.h>
35 VTK_ABI_NAMESPACE_BEGIN
75 const Json::Value& GetRoot()
const;
83 Json::ArrayIndex GetDataObjectId(
vtkIdType)
const;
118 virtual Json::Value ToJson(Json::Value&,
vtkActor*,
bool newPropertyId =
false);
119 virtual Json::Value ToJson(Json::Value&, Json::ArrayIndex,
vtkGlyph3DMapper*);
120 virtual Json::Value ToJson(Json::Value&,
vtkCamera*);
122 virtual Json::Value ToJson(Json::Value&,
vtkLight*);
124 virtual Json::Value ToJson(Json::Value&, Json::ArrayIndex,
vtkMapper*,
bool newLUTId =
false);
125 virtual Json::Value ToJson(Json::Value&,
vtkRenderer*);
127 virtual Json::Value ToJson(Json::Value&,
vtkProperty*);
128 virtual Json::Value ToJson(Json::Value&,
vtkTexture*);
129 virtual Json::Value ToJson(Json::Value&,
vtkTransform*);
138 Json::ArrayIndex UniqueId(
void* ptr =
nullptr);
152 void extractRequiredFields(Json::Value& extractedFields,
vtkMapper* mapper,
vtkDataSet* dataSet);
155 VTK_ABI_NAMESPACE_END
represents an object (geometry & properties) in a rendered scene
abstract base class for most VTK objects
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
represent surface properties of a geometric object
abstract class to specify dataset behavior
map scalar values into colors via a lookup table
abstract specification for renderers
concrete dataset represents vertices, lines, polygons, and triangle strips
Superclass for all sources, filters, and sinks in VTK.
a simple class to control print indentation
Converts elements of a VTK scene graph into vtk-js elements.
a virtual camera for 3D rendering
topologically and geometrically regular array of data
a virtual light for 3D rendering
abstract superclass for arrays of numeric data
handles properties associated with a texture map
abstract class specifies interface to map data to graphics primitives
create a window for renderers to draw into
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
general representation of visualization data
a node within a VTK scene graph
a class that renders hierarchical polygonal data