21 #ifndef vtkWebGLDataSet_h 22 #define vtkWebGLDataSet_h 25 #include "vtkWebGLExporterModule.h" 35 void PrintSelf(ostream &os,
vtkIndent indent) override;
37 void SetVertices(
float* v,
int size);
38 void SetIndexes(
short* i,
int size);
39 void SetNormals(
float* n);
40 void SetColors(
unsigned char* c);
41 void SetPoints(
float* p,
int size);
42 void SetTCoords(
float *t);
43 void SetMatrix(
float* m);
46 unsigned char* GetBinaryData();
48 void GenerateBinaryData();
55 ~vtkWebGLDataSet() override;
68 unsigned char* colors;
69 unsigned char* binary;
75 vtkWebGLDataSet(const vtkWebGLDataSet&) = delete;
76 void operator=(const vtkWebGLDataSet&) = delete;
abstract base class for most VTK objects
a simple class to control print indentation
std::pair< boost::graph_traits< vtkGraph * >::vertex_iterator, boost::graph_traits< vtkGraph * >::vertex_iterator > vertices(vtkGraph *g)
vtkWebGLDataSet represent vertices, lines, polygons, and triangles.
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...