 |
VTK
9.0.1
|
Go to the documentation of this file.
21 #ifndef vtkWebGLExporter_h
22 #define vtkWebGLExporter_h
37 #include "vtkWebGLExporterModule.h"
90 double CameraLookAt[10];
92 double Background1[3];
93 double Background2[3];
96 float CenterOfRotation[3];
106 vtkInternal* Internal;
void exportStaticScene(vtkRendererCollection *renderers, int width, int height, std::string path)
static vtkWebGLExporter * New()
represent and manipulate point attribute data
vtkTriangleFilter * GetPolyData(vtkMapper *mapper, vtkMTimeType &dataMTime)
void SetMaxAllowedSize(int mesh, int lines)
~vtkWebGLExporter() override
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)
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
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)
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()
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)
void SetMaxAllowedSize(int size)
vtkTypeUInt32 vtkMTimeType