|  | VTK
    9.0.1
    | 
 
 
 
Go to the documentation of this file.
   39 #ifndef vtkVtkJSSceneGraphSerializer_h 
   40 #define vtkVtkJSSceneGraphSerializer_h 
   42 #include "vtkRenderingVtkJSModule.h"  
   45 #include <vtk_jsoncpp.h>  
   87   const Json::Value& GetRoot() 
const;
 
   95   Json::ArrayIndex GetDataObjectId(
vtkIdType) 
const;
 
  131   virtual Json::Value ToJson(Json::Value&, 
vtkActor*, 
bool newPropertyId = 
false);
 
  132   virtual Json::Value ToJson(Json::Value&, Json::ArrayIndex, 
vtkGlyph3DMapper*);
 
  133   virtual Json::Value ToJson(Json::Value&, 
vtkCamera*);
 
  135   virtual Json::Value ToJson(Json::Value&, 
vtkLight*);
 
  137   virtual Json::Value ToJson(Json::Value&, Json::ArrayIndex, 
vtkMapper*, 
bool newLUTId = 
false);
 
  138   virtual Json::Value ToJson(Json::Value&, 
vtkRenderer*);
 
  140   virtual Json::Value ToJson(Json::Value&, 
vtkProperty*);
 
  141   virtual Json::Value ToJson(Json::Value&, 
vtkTexture*);
 
  142   virtual Json::Value ToJson(Json::Value&, 
vtkTransform*);
 
  151   Json::ArrayIndex UniqueId(
void* ptr = 
nullptr);
 
  163   template <
typename CompositeMapper>
 
  166   void extractRequiredFields(Json::Value& extractedFields, 
vtkMapper* mapper, 
vtkDataSet* dataSet);
 
  
a virtual light for 3D rendering
Superclass for all sources, filters, and sinks in VTK.
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
abstract base class for most VTK objects
a class that renders hierarchical polygonal data
abstract superclass for arrays of numeric data
mapper for composite dataset consisting of polygonal data.
handles properties associated with a texture map
abstract class specifies interface to map data to graphics primitives
represents an object (geometry & properties) in a rendered scene
topologically and geometrically regular array of data
a simple class to control print indentation
a virtual camera for 3D rendering
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
a node within a VTK scene graph
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
represent surface properties of a geometric object
create a window for renderers to draw into
Converts elements of a VTK scene graph into vtk-js elements.
general representation of visualization data