VTK
vtkOpenGLVolumeProVP1000Mapper.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkOpenGLVolumeProVP1000Mapper.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
42 #ifndef __vtkOpenGLVolumeProVP1000Mapper_h
43 #define __vtkOpenGLVolumeProVP1000Mapper_h
44 
46 
48 {
49 public:
52  virtual void PrintSelf(ostream& os, vtkIndent indent);
53 
54 protected:
57 
58  // Render the hexagon returned by the hardware to the screen.
59  void RenderImageBuffer( vtkRenderer *ren,
60  vtkVolume *vol,
61  int size[2],
62  unsigned int *outData );
63 
64  // Get the OpenGL depth buffer values in a the form needed for the
65  // VolumePro board
66  virtual void GetDepthBufferValues( vtkRenderer *ren, int size[2],
67  unsigned int *outData);
68 
69  // Render a bounding box of the volume because the texture map would be
70  // too large
71  virtual void RenderBoundingBox(vtkRenderer *ren, vtkVolume *vol);
72 
73 private:
75  void operator=(const vtkOpenGLVolumeProVP1000Mapper&); // Not implemented
76 };
77 
78 
79 #endif
80 
81 
82