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

Rendering/vtkOpenGLVolumeProVP1000Mapper.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkOpenGLVolumeProVP1000Mapper.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 __vtkOpenGLVolumeProVP1000Mapper_h
00059 #define __vtkOpenGLVolumeProVP1000Mapper_h
00060 
00061 #include "vtkVolumeProVP1000Mapper.h"
00062 
00063 class VTK_EXPORT vtkOpenGLVolumeProVP1000Mapper : public vtkVolumeProVP1000Mapper
00064 {
00065 public:
00066   vtkTypeRevisionMacro(vtkOpenGLVolumeProVP1000Mapper,vtkVolumeProVP1000Mapper);
00067   static vtkOpenGLVolumeProVP1000Mapper *New();
00068   virtual void PrintSelf(ostream& os, vtkIndent indent);
00069 
00070 protected:
00071   vtkOpenGLVolumeProVP1000Mapper() {}
00072   ~vtkOpenGLVolumeProVP1000Mapper() {}
00073 
00074   // Render the hexagon returned by the hardware to the screen.
00075   void RenderImageBuffer( vtkRenderer  *ren,
00076                           vtkVolume    *vol,
00077                           int          size[2],
00078                           unsigned int *outData );
00079   
00080   // Get the OpenGL depth buffer values in a the form needed for the
00081   // VolumePro board
00082   virtual void GetDepthBufferValues( vtkRenderer *ren, int size[2],
00083                                      unsigned int *outData);
00084   
00085   // Render a bounding box of the volume because the texture map would be
00086   // too large
00087   virtual void RenderBoundingBox(vtkRenderer *ren, vtkVolume *vol);
00088 
00089 private:
00090   vtkOpenGLVolumeProVP1000Mapper(const vtkOpenGLVolumeProVP1000Mapper&); // Not implemented
00091   void operator=(const vtkOpenGLVolumeProVP1000Mapper&); // Not implemented
00092 };
00093 
00094 
00095 #endif
00096 
00097 
00098