VTK
|
#include <vtkWebGLPolyData.h>
Public Types | |
typedef vtkWebGLObject | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkWebGLPolyData * | NewInstance () const |
void | PrintSelf (ostream &os, vtkIndent indent) |
void | GenerateBinaryData () |
unsigned char * | GetBinaryData (int part) |
int | GetBinarySize (int part) |
int | GetNumberOfParts () |
void | GetPoints (vtkTriangleFilter *polydata, vtkActor *actor, int maxSize) |
void | GetLinesFromPolygon (vtkMapper *mapper, vtkActor *actor, int lineMaxSize, double *edgeColor) |
void | GetLines (vtkTriangleFilter *polydata, vtkActor *actor, int lineMaxSize) |
void | GetColorsFromPolyData (unsigned char *color, vtkPolyData *polydata, vtkActor *actor) |
void | GetPolygonsFromPointData (vtkTriangleFilter *polydata, vtkActor *actor, int maxSize) |
void | GetPolygonsFromCellData (vtkTriangleFilter *polydata, vtkActor *actor, int maxSize) |
void | GetColorsFromPointData (unsigned char *color, vtkPointData *pointdata, vtkPolyData *polydata, vtkActor *actor) |
void | SetMesh (float *_vertices, int _numberOfVertices, int *_index, int _numberOfIndexes, float *_normals, unsigned char *_colors, float *_tcoords, int maxSize) |
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 | SetTransformationMatrix (vtkMatrix4x4 *m) |
Static Public Member Functions | |
static vtkWebGLPolyData * | New () |
static int | IsTypeOf (const char *type) |
static vtkWebGLPolyData * | SafeDownCast (vtkObjectBase *o) |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkWebGLPolyData () | |
~vtkWebGLPolyData () |
PolyData representation for WebGL.
Definition at line 33 of file vtkWebGLPolyData.h.
Reimplemented from vtkWebGLObject.
Definition at line 37 of file vtkWebGLPolyData.h.
vtkWebGLPolyData::vtkWebGLPolyData | ( | ) | [protected] |
vtkWebGLPolyData::~vtkWebGLPolyData | ( | ) | [protected] |
static vtkWebGLPolyData* vtkWebGLPolyData::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkWebGLObject.
static int vtkWebGLPolyData::IsTypeOf | ( | const char * | name | ) | [static] |
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkWebGLObject.
virtual int vtkWebGLPolyData::IsA | ( | const char * | name | ) | [virtual] |
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkWebGLObject.
static vtkWebGLPolyData* vtkWebGLPolyData::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkWebGLObject.
virtual vtkObjectBase* vtkWebGLPolyData::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkWebGLObject.
vtkWebGLPolyData* vtkWebGLPolyData::NewInstance | ( | ) | const |
Reimplemented from vtkWebGLObject.
void vtkWebGLPolyData::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) | [virtual] |
Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.
Reimplemented from vtkWebGLObject.
void vtkWebGLPolyData::GenerateBinaryData | ( | ) | [virtual] |
Reimplemented from vtkWebGLObject.
unsigned char* vtkWebGLPolyData::GetBinaryData | ( | int | part | ) | [virtual] |
Reimplemented from vtkWebGLObject.
int vtkWebGLPolyData::GetBinarySize | ( | int | part | ) | [virtual] |
Reimplemented from vtkWebGLObject.
int vtkWebGLPolyData::GetNumberOfParts | ( | ) | [virtual] |
Reimplemented from vtkWebGLObject.
void vtkWebGLPolyData::GetPoints | ( | vtkTriangleFilter * | polydata, |
vtkActor * | actor, | ||
int | maxSize | ||
) |
void vtkWebGLPolyData::GetLinesFromPolygon | ( | vtkMapper * | mapper, |
vtkActor * | actor, | ||
int | lineMaxSize, | ||
double * | edgeColor | ||
) |
void vtkWebGLPolyData::GetLines | ( | vtkTriangleFilter * | polydata, |
vtkActor * | actor, | ||
int | lineMaxSize | ||
) |
void vtkWebGLPolyData::GetColorsFromPolyData | ( | unsigned char * | color, |
vtkPolyData * | polydata, | ||
vtkActor * | actor | ||
) |
void vtkWebGLPolyData::GetPolygonsFromPointData | ( | vtkTriangleFilter * | polydata, |
vtkActor * | actor, | ||
int | maxSize | ||
) |
void vtkWebGLPolyData::GetPolygonsFromCellData | ( | vtkTriangleFilter * | polydata, |
vtkActor * | actor, | ||
int | maxSize | ||
) |
void vtkWebGLPolyData::GetColorsFromPointData | ( | unsigned char * | color, |
vtkPointData * | pointdata, | ||
vtkPolyData * | polydata, | ||
vtkActor * | actor | ||
) |
void vtkWebGLPolyData::SetMesh | ( | float * | _vertices, |
int | _numberOfVertices, | ||
int * | _index, | ||
int | _numberOfIndexes, | ||
float * | _normals, | ||
unsigned char * | _colors, | ||
float * | _tcoords, | ||
int | maxSize | ||
) |
void vtkWebGLPolyData::SetLine | ( | float * | _points, |
int | _numberOfPoints, | ||
int * | _index, | ||
int | _numberOfIndex, | ||
unsigned char * | _colors, | ||
int | maxSize | ||
) |
void vtkWebGLPolyData::SetPoints | ( | float * | points, |
int | numberOfPoints, | ||
unsigned char * | colors, | ||
int | maxSize | ||
) |
Reimplemented from vtkWebGLObject.