dox/Rendering/vtkOpenGLVolumeTextureMapper2D.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00029 #ifndef __vtkOpenGLVolumeTextureMapper2D_h
00030 #define __vtkOpenGLVolumeTextureMapper2D_h
00031
00032 #include "vtkVolumeTextureMapper2D.h"
00033
00034 class VTK_RENDERING_EXPORT vtkOpenGLVolumeTextureMapper2D : public vtkVolumeTextureMapper2D
00035 {
00036 public:
00037 vtkTypeRevisionMacro(vtkOpenGLVolumeTextureMapper2D,vtkVolumeTextureMapper2D);
00038 void PrintSelf( ostream& os, vtkIndent indent );
00039
00040 static vtkOpenGLVolumeTextureMapper2D *New();
00041
00042
00043
00046 virtual void Render(vtkRenderer *ren, vtkVolume *vol);
00047
00048 void RenderQuads( int count, float *v, float *t,
00049 unsigned char *texture, int size[2], int reverseFlag);
00050
00051
00052
00053 protected:
00054 vtkOpenGLVolumeTextureMapper2D();
00055 ~vtkOpenGLVolumeTextureMapper2D();
00056
00057 private:
00058 vtkOpenGLVolumeTextureMapper2D(const vtkOpenGLVolumeTextureMapper2D&);
00059 void operator=(const vtkOpenGLVolumeTextureMapper2D&);
00060 };
00061
00062
00063 #endif
00064
00065