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

dox/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 =========================================================================*/ 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 //BTX 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 //ETX 00052 00053 protected: 00054 vtkMesaVolumeTextureMapper2D(); 00055 ~vtkMesaVolumeTextureMapper2D(); 00056 00057 private: 00058 vtkMesaVolumeTextureMapper2D(const vtkMesaVolumeTextureMapper2D&); // Not implemented. 00059 void operator=(const vtkMesaVolumeTextureMapper2D&); // Not implemented. 00060 }; 00061 00062 00063 #endif 00064 00065