21 #ifndef vtkWebGLPolyData_h
22 #define vtkWebGLPolyData_h
25 #include "vtkWebGLExporterModule.h"
48 void GetLinesFromPolygon(
vtkMapper* mapper,
vtkActor* actor,
int lineMaxSize,
double* edgeColor);
57 void SetMesh(
float* _vertices,
int _numberOfVertices,
int* _index,
int _numberOfIndexes,
float* _normals,
unsigned char* _colors,
float* _tcoords,
int maxSize);
58 void SetLine(
float* _points,
int _numberOfPoints,
int* _index,
int _numberOfIndex,
unsigned char* _colors,
int maxSize);
59 void SetPoints(
float*
points,
int numberOfPoints,
unsigned char* colors,
int maxSize);
71 vtkInternal* Internal;
represents an object (geometry & properties) in a rendered scene
represent and manipulate 4x4 transformation matrices
represent and manipulate point attribute data
PolyData representation for WebGL.
void SetTransformationMatrix(vtkMatrix4x4 *m)
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
convert input polygons and strips to triangles
virtual int GetBinarySize(int part)
vtkWebGLObject represent and manipulate an WebGL object and its data.
virtual unsigned char * GetBinaryData(int part)
concrete dataset represents vertices, lines, polygons, and triangle strips
a simple class to control print indentation
abstract class specifies interface to map data to graphics primitives
static vtkWebGLObject * New()
virtual void GenerateBinaryData()
virtual int GetNumberOfParts()