Public Member Functions | Static Public Member Functions | Protected Attributes

vtkKWEVBOTStripsPainter Class Reference

#include <vtkKWEVBOTStripsPainter.h>

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

List of all members.

Public Member Functions

 vtkTypeRevisionMacro (vtkKWEVBOTStripsPainter, vtkTStripsPainter)
void PrintSelf (ostream &os, vtkIndent indent)

Static Public Member Functions

static vtkKWEVBOTStripsPainterNew ()

Protected Member Functions

virtual int RenderPrimitive (unsigned long flags, vtkDataArray *n, vtkUnsignedCharArray *c, vtkDataArray *t, vtkRenderer *ren)

virtual bool UpdateGraphicsResources (unsigned long idx, vtkDataArray *n, vtkUnsignedCharArray *c, vtkDataArray *t, vtkRenderer *ren)

Protected Attributes

vtkKWEVertexBufferObjectPointIDs
vtkKWEVertexBufferObjectPointCoordinates
vtkKWEVertexBufferObjectPointColors
vtkKWEVertexBufferObjectPointNormals
vtkKWEVertexBufferObjectPointTCords
vtkWeakPointer< vtkRenderWindowLastContext



virtual void ReleaseGraphicsResources (vtkWindow *w)
 vtkKWEVBOTStripsPainter ()
 ~vtkKWEVBOTStripsPainter ()

Detailed Description

Definition at line 47 of file vtkKWEVBOTStripsPainter.h.


Constructor & Destructor Documentation

vtkKWEVBOTStripsPainter::vtkKWEVBOTStripsPainter (  )  [protected]

Delete VBOs

vtkKWEVBOTStripsPainter::~vtkKWEVBOTStripsPainter (  )  [protected]

Delete VBOs


Member Function Documentation

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

Reimplemented from vtkTStripsPainter.

vtkKWEVBOTStripsPainter::vtkTypeRevisionMacro ( vtkKWEVBOTStripsPainter  ,
vtkTStripsPainter   
)
void vtkKWEVBOTStripsPainter::PrintSelf ( ostream &  os,
vtkIndent  indent 
) [virtual]

Reimplemented from vtkTStripsPainter.

virtual void vtkKWEVBOTStripsPainter::ReleaseGraphicsResources ( vtkWindow w  )  [virtual]

Delete VBOs

Reimplemented from vtkPainter.

virtual int vtkKWEVBOTStripsPainter::RenderPrimitive ( unsigned long  flags,
vtkDataArray n,
vtkUnsignedCharArray c,
vtkDataArray t,
vtkRenderer ren 
) [protected, virtual]

The actual rendering happens here. VBOs are generated if necessary, data is copied to the VBOs, and the primitive is drawn.

Reimplemented from vtkTStripsPainter.

virtual bool vtkKWEVBOTStripsPainter::UpdateGraphicsResources ( unsigned long  idx,
vtkDataArray n,
vtkUnsignedCharArray c,
vtkDataArray t,
vtkRenderer ren 
) [protected, virtual]

Copy data (points, normals, colors, tcoords, indices) to the VBOs. Calls GenerateVBOs to make sure that the VBOs have not been generated. Returns nonzero if all data was updated successfully. It is probably a good idea to call ReleaseGraphicsResources if this call is not successful.


Member Data Documentation

Definition at line 83 of file vtkKWEVBOTStripsPainter.h.

Definition at line 84 of file vtkKWEVBOTStripsPainter.h.

Definition at line 85 of file vtkKWEVBOTStripsPainter.h.

Definition at line 86 of file vtkKWEVBOTStripsPainter.h.

Definition at line 87 of file vtkKWEVBOTStripsPainter.h.

Definition at line 89 of file vtkKWEVBOTStripsPainter.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines