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