20#ifndef vtkWebGLExporter_h
21#define vtkWebGLExporter_h
36#include "vtkWebGLExporterModule.h"
71 static void ComputeMD5(
const unsigned char* content,
int size, std::string& hash);
89 double CameraLookAt[10];
91 double Background1[3];
92 double Background2[3];
95 float CenterOfRotation[3];
105 vtkInternal* Internal;
a actor that draws 2D data
represents an object (geometry & properties) in a rendered scene
represent and manipulate cell attribute data
a simple class to control print indentation
abstract class specifies interface to map data to graphics primitives
abstract base class for most VTK objects
represent and manipulate point attribute data
concrete dataset represents vertices, lines, polygons, and triangle strips
an ordered list of renderers
abstract specification for renderers
convert input polygons and strips to triangles
vtkWebGLExporter export the data of the scene to be used in the WebGL.
void parseActor2D(vtkActor2D *actor, vtkMTimeType actorTime, size_t renderId, int layer, bool isWidget)
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkTriangleFilter * GetPolyData(vtkMapper *mapper, vtkMTimeType &dataMTime)
void exportStaticScene(vtkRendererCollection *renderers, int width, int height, std::string path)
Get all the needed information from the vtkRenderer.
bool hasChanged()
Get all the needed information from the vtkRenderer.
void generateRendererData(vtkRendererCollection *renderers, const char *viewId)
void SetCenterOfRotation(float a1, float a2, float a3)
Get all the needed information from the vtkRenderer.
const char * GenerateExportMetadata()
static void ComputeMD5(const unsigned char *content, int size, std::string &hash)
void parseRenderer(vtkRenderer *render, const char *viewId, bool onlyWidget, void *mapTime)
void SetMaxAllowedSize(int size)
Get all the needed information from the vtkRenderer.
void parseScene(vtkRendererCollection *renderers, const char *viewId, int parseType)
Get all the needed information from the vtkRenderer.
int GetNumberOfObjects()
Get all the needed information from the vtkRenderer.
void parseActor(vtkActor *actor, vtkMTimeType actorTime, size_t rendererId, int layer, bool isWidget)
const char * GetId()
Get all the needed information from the vtkRenderer.
static vtkWebGLExporter * New()
std::string renderersMetaData
const char * GenerateMetadata()
Get all the needed information from the vtkRenderer.
void SetMaxAllowedSize(int mesh, int lines)
Get all the needed information from the vtkRenderer.
vtkTriangleFilter * TriangleFilter
~vtkWebGLExporter() override
vtkWebGLObject * GetWebGLObject(int index)
Get all the needed information from the vtkRenderer.
vtkWebGLObject represent and manipulate an WebGL object and its data.
PolyData representation for WebGL.
vtkTypeUInt32 vtkMTimeType