Rendering/vtkMesaVolumeTextureMapper2D.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 __vtkMesaVolumeTextureMapper2D_h
00030 #define __vtkMesaVolumeTextureMapper2D_h
00031
00032 #include "vtkVolumeTextureMapper2D.h"
00033
00034 class VTK_RENDERING_EXPORT vtkMesaVolumeTextureMapper2D : public vtkVolumeTextureMapper2D
00035 {
00036 public:
00037 vtkTypeRevisionMacro(vtkMesaVolumeTextureMapper2D,vtkVolumeTextureMapper2D);
00038 void PrintSelf( ostream& os, vtkIndent indent );
00039
00040 static vtkMesaVolumeTextureMapper2D *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 vtkMesaVolumeTextureMapper2D();
00055 ~vtkMesaVolumeTextureMapper2D();
00056
00057 private:
00058 vtkMesaVolumeTextureMapper2D(const vtkMesaVolumeTextureMapper2D&);
00059 void operator=(const vtkMesaVolumeTextureMapper2D&);
00060 };
00061
00062
00063 #endif
00064
00065