Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00038 #ifndef __vtkKWEVBOTStripsPainter_h
00039 #define __vtkKWEVBOTStripsPainter_h
00040
00041 #include "VTKEdgeConfigure.h"
00042 #include "vtkTStripsPainter.h"
00043
00044 class vtkKWEVertexBufferObject;
00045 class vtkRenderWindow;
00046
00047 class VTKEdge_RENDERING_EXPORT vtkKWEVBOTStripsPainter : public vtkTStripsPainter
00048 {
00049 public:
00050 static vtkKWEVBOTStripsPainter* New();
00051 vtkTypeRevisionMacro(vtkKWEVBOTStripsPainter, vtkTStripsPainter);
00052 void PrintSelf(ostream& os, vtkIndent indent);
00053
00055
00056 virtual void ReleaseGraphicsResources(vtkWindow* w);
00057
00058 protected:
00059 vtkKWEVBOTStripsPainter();
00060 ~vtkKWEVBOTStripsPainter();
00062
00064
00066 virtual int RenderPrimitive(unsigned long flags, vtkDataArray* n,
00067 vtkUnsignedCharArray* c, vtkDataArray* t,
00068 vtkRenderer* ren);
00070
00072
00077 virtual bool UpdateGraphicsResources(unsigned long idx, vtkDataArray* n,
00078 vtkUnsignedCharArray* c,
00079 vtkDataArray* t,
00080 vtkRenderer* ren);
00082
00083 vtkKWEVertexBufferObject* PointIDs;
00084 vtkKWEVertexBufferObject* PointCoordinates;
00085 vtkKWEVertexBufferObject* PointColors;
00086 vtkKWEVertexBufferObject* PointNormals;
00087 vtkKWEVertexBufferObject* PointTCords;
00088
00089 vtkWeakPointer<vtkRenderWindow> LastContext;
00090 private:
00091 vtkKWEVBOTStripsPainter(const vtkKWEVBOTStripsPainter&);
00092 void operator=(const vtkKWEVBOTStripsPainter&);
00093
00094
00095 };
00096
00097 #endif