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

vtkOpenGLVolumeTextureMapper2D.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkOpenGLVolumeTextureMapper2D.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 __vtkOpenGLVolumeTextureMapper2D_h
00026 #define __vtkOpenGLVolumeTextureMapper2D_h
00027 
00028 #include "vtkVolumeTextureMapper2D.h"
00029 
00030 class VTK_VOLUMERENDERING_EXPORT vtkOpenGLVolumeTextureMapper2D : public vtkVolumeTextureMapper2D
00031 {
00032 public:
00033   vtkTypeRevisionMacro(vtkOpenGLVolumeTextureMapper2D,vtkVolumeTextureMapper2D);
00034   void PrintSelf( ostream& os, vtkIndent indent );
00035 
00036   static vtkOpenGLVolumeTextureMapper2D *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   vtkOpenGLVolumeTextureMapper2D();
00051   ~vtkOpenGLVolumeTextureMapper2D();
00052 
00053 private:
00054   vtkOpenGLVolumeTextureMapper2D(const vtkOpenGLVolumeTextureMapper2D&);  // Not implemented.
00055   void operator=(const vtkOpenGLVolumeTextureMapper2D&);  // Not implemented.
00056 };
00057 
00058 
00059 #endif
00060 
00061 

Generated on Mon Jan 21 23:07:37 2008 for VTK by  doxygen 1.4.3-20050530