#include <vtkKWEVBOTStripsPainter.h>


Public Member Functions | |
| vtkTypeRevisionMacro (vtkKWEVBOTStripsPainter, vtkTStripsPainter) | |
| void | PrintSelf (ostream &os, vtkIndent indent) |
Static Public Member Functions | |
| static vtkKWEVBOTStripsPainter * | New () |
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 | |
| vtkKWEVertexBufferObject * | PointIDs |
| vtkKWEVertexBufferObject * | PointCoordinates |
| vtkKWEVertexBufferObject * | PointColors |
| vtkKWEVertexBufferObject * | PointNormals |
| vtkKWEVertexBufferObject * | PointTCords |
| vtkWeakPointer< vtkRenderWindow > | LastContext |
|
| |
| virtual void | ReleaseGraphicsResources (vtkWindow *w) |
| vtkKWEVBOTStripsPainter () | |
| ~vtkKWEVBOTStripsPainter () | |
Definition at line 47 of file vtkKWEVBOTStripsPainter.h.
| vtkKWEVBOTStripsPainter::vtkKWEVBOTStripsPainter | ( | ) | [protected] |
Delete VBOs
| vtkKWEVBOTStripsPainter::~vtkKWEVBOTStripsPainter | ( | ) | [protected] |
Delete VBOs
| 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.
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.
1.7.1