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