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