VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
vtkWebGLDataSet Class Reference

#include <vtkWebGLDataSet.h>

Inheritance diagram for vtkWebGLDataSet:
Inheritance graph
[legend]
Collaboration diagram for vtkWebGLDataSet:
Collaboration graph
[legend]

List of all members.

Public Types

typedef vtkObject Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkWebGLDataSetNewInstance () const
void PrintSelf (ostream &os, vtkIndent indent)
void SetVertices (float *v, int size)
void SetIndexes (short *i, int size)
void SetNormals (float *n)
void SetColors (unsigned char *c)
void SetPoints (float *p, int size)
void SetTCoords (float *t)
void SetMatrix (float *m)
void SetType (WebGLObjectTypes t)
unsigned char * GetBinaryData ()
int GetBinarySize ()
void GenerateBinaryData ()
bool HasChanged ()
std::string GetMD5 ()

Static Public Member Functions

static vtkWebGLDataSetNew ()
static int IsTypeOf (const char *type)
static vtkWebGLDataSetSafeDownCast (vtkObjectBase *o)

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkWebGLDataSet ()
 ~vtkWebGLDataSet ()

Protected Attributes

int NumberOfVertices
int NumberOfPoints
int NumberOfIndexes
WebGLObjectTypes webGLType
floatMatrix
floatvertices
floatnormals
short * indexes
floatpoints
floattcoords
unsigned char * colors
unsigned char * binary
int binarySize
bool hasChanged
std::string MD5

Detailed Description

vtkWebGLDataSet represent vertices, lines, polygons, and triangles.

Definition at line 29 of file vtkWebGLDataSet.h.


Member Typedef Documentation

Reimplemented from vtkObject.

Definition at line 33 of file vtkWebGLDataSet.h.


Constructor & Destructor Documentation


Member Function Documentation

static vtkWebGLDataSet* vtkWebGLDataSet::New ( ) [static]

Create an object with Debug turned off, modified time initialized to zero, and reference counting on.

Reimplemented from vtkObject.

static int vtkWebGLDataSet::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 vtkObject.

virtual int vtkWebGLDataSet::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 vtkObject.

Reimplemented from vtkObject.

virtual vtkObjectBase* vtkWebGLDataSet::NewInstanceInternal ( ) const [protected, virtual]

Reimplemented from vtkObject.

Reimplemented from vtkObject.

void vtkWebGLDataSet::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 vtkObject.

void vtkWebGLDataSet::SetVertices ( float v,
int  size 
)
void vtkWebGLDataSet::SetIndexes ( short *  i,
int  size 
)
void vtkWebGLDataSet::SetColors ( unsigned char *  c)
void vtkWebGLDataSet::SetPoints ( float p,
int  size 
)
unsigned char* vtkWebGLDataSet::GetBinaryData ( )
std::string vtkWebGLDataSet::GetMD5 ( )

Member Data Documentation

Definition at line 58 of file vtkWebGLDataSet.h.

Definition at line 59 of file vtkWebGLDataSet.h.

Definition at line 60 of file vtkWebGLDataSet.h.

Definition at line 61 of file vtkWebGLDataSet.h.

Definition at line 63 of file vtkWebGLDataSet.h.

Definition at line 64 of file vtkWebGLDataSet.h.

Definition at line 65 of file vtkWebGLDataSet.h.

short* vtkWebGLDataSet::indexes [protected]

Definition at line 66 of file vtkWebGLDataSet.h.

Definition at line 67 of file vtkWebGLDataSet.h.

Definition at line 68 of file vtkWebGLDataSet.h.

unsigned char* vtkWebGLDataSet::colors [protected]

Definition at line 69 of file vtkWebGLDataSet.h.

unsigned char* vtkWebGLDataSet::binary [protected]

Definition at line 70 of file vtkWebGLDataSet.h.

Definition at line 71 of file vtkWebGLDataSet.h.

bool vtkWebGLDataSet::hasChanged [protected]

Definition at line 72 of file vtkWebGLDataSet.h.

std::string vtkWebGLDataSet::MD5 [protected]

Definition at line 73 of file vtkWebGLDataSet.h.


The documentation for this class was generated from the following file: