8#ifndef vtkWebGLPolyData_h
9#define vtkWebGLPolyData_h
11#include "vtkWebGLExporterModule.h"
14VTK_ABI_NAMESPACE_BEGIN
46 void SetMesh(
float* _vertices,
int _numberOfVertices,
int* _index,
int _numberOfIndexes,
47 float* _normals,
unsigned char* _colors,
float* _tcoords,
int maxSize);
48 void SetLine(
float* _points,
int _numberOfPoints,
int* _index,
int _numberOfIndex,
49 unsigned char* _colors,
int maxSize);
50 void SetPoints(
float* points,
int numberOfPoints,
unsigned char* colors,
int maxSize);
62 vtkInternal* Internal;
represents an object (geometry & properties) in a rendered scene
a simple class to control print indentation
abstract class specifies interface to map data to graphics primitives
represent and manipulate 4x4 transformation matrices
represent and manipulate point attribute data
concrete dataset represents vertices, lines, polygons, and triangle strips
convert input polygons and strips to triangles
vtkWebGLObject represent and manipulate an WebGL object and its data.
PolyData representation for WebGL.
void SetMesh(float *_vertices, int _numberOfVertices, int *_index, int _numberOfIndexes, float *_normals, unsigned char *_colors, float *_tcoords, int maxSize)
void GetColorsFromPolyData(unsigned char *color, vtkPolyData *polydata, vtkActor *actor)
void GenerateBinaryData() override
void GetLines(vtkTriangleFilter *polydata, vtkActor *actor, int lineMaxSize)
int GetBinarySize(int part) override
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void GetColorsFromPointData(unsigned char *color, vtkPointData *pointdata, vtkPolyData *polydata, vtkActor *actor)
void GetPolygonsFromCellData(vtkTriangleFilter *polydata, vtkActor *actor, int maxSize)
void GetPoints(vtkTriangleFilter *polydata, vtkActor *actor, int maxSize)
void GetLinesFromPolygon(vtkMapper *mapper, vtkActor *actor, int lineMaxSize, double *edgeColor)
void SetLine(float *_points, int _numberOfPoints, int *_index, int _numberOfIndex, unsigned char *_colors, int maxSize)
void SetPoints(float *points, int numberOfPoints, unsigned char *colors, int maxSize)
void GetPolygonsFromPointData(vtkTriangleFilter *polydata, vtkActor *actor, int maxSize)
int GetNumberOfParts() override
void SetTransformationMatrix(vtkMatrix4x4 *m)
unsigned char * GetBinaryData(int part) override
~vtkWebGLPolyData() override
static vtkWebGLPolyData * New()