Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

Rendering/vtkMesaVolumeTextureMapper2D.h

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