00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkOpenGLVolumeProVG500Mapper.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 =========================================================================*/ 00058 #ifndef __vtkOpenGLVolumeProVG500Mapper_h 00059 #define __vtkOpenGLVolumeProVG500Mapper_h 00060 00061 #include "vtkVolumeProVG500Mapper.h" 00062 00063 class VTK_VOLUMEPRO_EXPORT vtkOpenGLVolumeProVG500Mapper : public vtkVolumeProVG500Mapper 00064 { 00065 public: 00066 vtkTypeRevisionMacro(vtkOpenGLVolumeProVG500Mapper,vtkVolumeProVG500Mapper); 00067 static vtkOpenGLVolumeProVG500Mapper *New(); 00068 virtual void PrintSelf(ostream& os, vtkIndent indent); 00069 00070 protected: 00071 vtkOpenGLVolumeProVG500Mapper() {}; 00072 ~vtkOpenGLVolumeProVG500Mapper() {}; 00073 00074 // Render the hexagon returned by the hardware to the screen. 00075 void RenderHexagon( vtkRenderer *ren, 00076 vtkVolume *vol, 00077 VLIPixel *basePlane, 00078 int size[2], 00079 VLIVector3D hexagon[6], 00080 VLIVector2D textureCoords[6] ); 00081 private: 00082 vtkOpenGLVolumeProVG500Mapper(const vtkOpenGLVolumeProVG500Mapper&); // Not implemented. 00083 void operator=(const vtkOpenGLVolumeProVG500Mapper&); // Not implemented. 00084 }; 00085 00086 00087 #endif 00088 00089 00090