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 =========================================================================*/ 00025 #ifndef __vtkMesaVolumeTextureMapper2D_h 00026 #define __vtkMesaVolumeTextureMapper2D_h 00027 00028 #include "vtkVolumeTextureMapper2D.h" 00029 00030 class VTK_VOLUMERENDERING_EXPORT vtkMesaVolumeTextureMapper2D : public vtkVolumeTextureMapper2D 00031 { 00032 public: 00033 vtkTypeRevisionMacro(vtkMesaVolumeTextureMapper2D,vtkVolumeTextureMapper2D); 00034 void PrintSelf( ostream& os, vtkIndent indent ); 00035 00036 static vtkMesaVolumeTextureMapper2D *New(); 00037 00038 //BTX 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 //ETX 00048 00049 protected: 00050 vtkMesaVolumeTextureMapper2D(); 00051 ~vtkMesaVolumeTextureMapper2D(); 00052 00053 private: 00054 vtkMesaVolumeTextureMapper2D(const vtkMesaVolumeTextureMapper2D&); // Not implemented. 00055 void operator=(const vtkMesaVolumeTextureMapper2D&); // Not implemented. 00056 }; 00057 00058 00059 #endif 00060 00061