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
00039 #ifndef __vtkOpenGLVolumeTextureMapper2D_h
00040 #define __vtkOpenGLVolumeTextureMapper2D_h
00041
00042 #include "vtkVolumeTextureMapper2D.h"
00043
00044 class VTK_RENDERING_EXPORT vtkOpenGLVolumeTextureMapper2D : public vtkVolumeTextureMapper2D
00045 {
00046 public:
00047 vtkTypeRevisionMacro(vtkOpenGLVolumeTextureMapper2D,vtkVolumeTextureMapper2D);
00048 void PrintSelf( ostream& os, vtkIndent indent );
00049
00050 static vtkOpenGLVolumeTextureMapper2D *New();
00051
00052
00053
00056 virtual void Render(vtkRenderer *ren, vtkVolume *vol);
00057
00058 void RenderQuads( int count, float *v, float *t,
00059 unsigned char *texture, int size[2], int reverseFlag);
00060
00061
00062
00063 protected:
00064 vtkOpenGLVolumeTextureMapper2D();
00065 ~vtkOpenGLVolumeTextureMapper2D();
00066
00067 private:
00068 vtkOpenGLVolumeTextureMapper2D(const vtkOpenGLVolumeTextureMapper2D&);
00069 void operator=(const vtkOpenGLVolumeTextureMapper2D&);
00070 };
00071
00072
00073 #endif
00074
00075