VTK
vtkOpenGLVolumeTextureMapper2D.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkOpenGLVolumeTextureMapper2D.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 =========================================================================*/
25 #ifndef __vtkOpenGLVolumeTextureMapper2D_h
26 #define __vtkOpenGLVolumeTextureMapper2D_h
27 
29 
31 {
32 public:
34  void PrintSelf( ostream& os, vtkIndent indent );
35 
37 
38 //BTX
39 
42  virtual void Render(vtkRenderer *ren, vtkVolume *vol);
43 
44  void RenderQuads( int count, float *v, float *t,
45  unsigned char *texture, int size[2], int reverseFlag);
46 
47 //ETX
48 
49 protected:
52 
53 private:
55  void operator=(const vtkOpenGLVolumeTextureMapper2D&); // Not implemented.
56 };
57 
58 
59 #endif
60 
61 
represents a volume (data & properties) in a rendered scene
Definition: vtkVolume.h:48
Abstract class for a volume mapper.
#define VTK_VOLUMERENDERING_EXPORT
abstract specification for renderers
Definition: vtkRenderer.h:69
a simple class to control print indentation
Definition: vtkIndent.h:37
void PrintSelf(ostream &os, vtkIndent indent)
Abstract class for a volume mapper.
virtual void RenderQuads(int vtkNotUsed(count), float *vtkNotUsed(v), float *vtkNotUsed(t), unsigned char *vtkNotUsed(texture), int vtkNotUsed(size)[2], int vtkNotUsed(reverseFlag))
virtual void Render(vtkRenderer *, vtkVolume *)
static vtkVolumeTextureMapper2D * New()