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