Main Page | Directories | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

vtkMesaVolumeTextureMapper2D.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkMesaVolumeTextureMapper2D.h,v $
00005 
00006   Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
00007   All rights reserved.
00008   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
00009 
00010      This software is distributed WITHOUT ANY WARRANTY; without even
00011      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
00012      PURPOSE.  See the above copyright notice for more information.
00013 
00014 =========================================================================*/
00037 #ifndef __vtkMesaVolumeTextureMapper2D_h
00038 #define __vtkMesaVolumeTextureMapper2D_h
00039 
00040 #include "vtkVolumeTextureMapper2D.h"
00041 
00042 class VTK_RENDERING_EXPORT vtkMesaVolumeTextureMapper2D : public vtkVolumeTextureMapper2D
00043 {
00044 public:
00045   vtkTypeRevisionMacro(vtkMesaVolumeTextureMapper2D,vtkVolumeTextureMapper2D);
00046   void PrintSelf( ostream& os, vtkIndent indent );
00047 
00048   static vtkMesaVolumeTextureMapper2D *New();
00049   
00050 //BTX
00051 
00054   virtual void Render(vtkRenderer *ren, vtkVolume *vol);
00055 
00056   void RenderQuads( int count, float *v, float *t,
00057                     unsigned char *texture, int size[2], int reverseFlag);
00058 
00059 //ETX
00060 
00061 protected:
00062   vtkMesaVolumeTextureMapper2D();
00063   ~vtkMesaVolumeTextureMapper2D();
00064 
00065 private:
00066   vtkMesaVolumeTextureMapper2D(const vtkMesaVolumeTextureMapper2D&);  // Not implemented.
00067   void operator=(const vtkMesaVolumeTextureMapper2D&);  // Not implemented.
00068 };
00069 
00070 
00071 #endif
00072 
00073