00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00033 #ifndef __vtkMesaPainterDeviceAdapter_h
00034 #define __vtkMesaPainterDeviceAdapter_h
00035
00036 #include "vtkPainterDeviceAdapter.h"
00037
00038 class VTK_RENDERING_EXPORT vtkMesaPainterDeviceAdapter :
00039 public vtkPainterDeviceAdapter
00040 {
00041 public:
00042 vtkTypeMacro(vtkMesaPainterDeviceAdapter, vtkPainterDeviceAdapter);
00043 static vtkMesaPainterDeviceAdapter *New();
00044 virtual void PrintSelf(ostream &os, vtkIndent indent);
00045
00047 virtual void BeginPrimitive(int mode);
00048
00050 virtual void EndPrimitive();
00051
00053
00054 virtual void SendAttribute(int index, int components, int type,
00055 const void *attribute, unsigned long offset=0);
00057
00059
00061 virtual void SetAttributePointer(int index, int numcomponents, int type,
00062 int stride, const void *pointer);
00064
00066
00067 virtual void EnableAttributeArray(int index);
00068 virtual void DisableAttributeArray(int index);
00070
00072 virtual void DrawArrays(int mode, vtkIdType first, vtkIdType count);
00073
00076 virtual void DrawElements(int mode, vtkIdType count, int type, void *indices);
00077
00079 virtual int Compatible(vtkRenderer *renderer);
00080
00082 virtual void MakeLighting(int mode);
00083
00085 virtual int QueryLighting();
00086
00088 virtual void MakeMultisampling(int mode);
00089
00091 virtual int QueryMultisampling();
00092
00094 virtual void MakeBlending(int mode);
00095
00097 virtual int QueryBlending();
00098
00099 protected:
00100 vtkMesaPainterDeviceAdapter();
00101 ~vtkMesaPainterDeviceAdapter();
00102
00103 private:
00104 vtkMesaPainterDeviceAdapter(const vtkMesaPainterDeviceAdapter &);
00105 void operator=(const vtkMesaPainterDeviceAdapter &);
00106 };
00107
00108 #endif //_vtkMesaPainterDeviceAdapter_h