20 #ifndef vtkWebGLExporter_h
21 #define vtkWebGLExporter_h
51 void PrintSelf(ostream& os,
vtkIndent indent);
58 const
char* GenerateMetadata();
61 int GetNumberOfObjects();
63 void SetCenterOfRotation(
float a1,
float a2,
float a3);
64 void SetMaxAllowedSize(
int mesh,
int lines);
65 void SetMaxAllowedSize(
int size);
69 static
void ComputeMD5(const
unsigned char*
content,
int size, std::
string &hash);
74 void parseRenderer(
vtkRenderer* render, const
char* viewId,
bool onlyWidget,
void* mapTime);
76 void parseActor(
vtkActor* actor,
unsigned long actorTime,
size_t rendererId,
int layer,
bool isWidget);
77 void parseActor2D(
vtkActor2D* actor,
long actorTime,
size_t renderId,
int layer,
bool isWidget);
78 const
char* GenerateExportMetadata();
84 double CameraLookAt[10];
85 bool GradientBackground;
86 double Background1[3];
87 double Background2[3];
90 float CenterOfRotation[3];
91 int meshObjMaxSize, lineObjMaxSize;
92 std::
string renderersMetaData;
96 vtkWebGLExporter(const vtkWebGLExporter&);
97 void operator=(const vtkWebGLExporter&);
100 vtkInternal* Internal;
represents an object (geometry & properties) in a rendered scene
abstract base class for most VTK objects
represent and manipulate point attribute data
a actor that draws 2D data
represent and manipulate cell attribute data
convert input polygons and strips to triangles
abstract specification for renderers
concrete dataset represents vertices, lines, polygons, and triangle strips
a simple class to control print indentation
#define VTKWEBGLEXPORTER_EXPORT
abstract class specifies interface to map data to graphics primitives