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 
28 #include "vtkRenderingVolumeOpenGLModule.h" // For export macro
30 
33 {
34 public:
36  void PrintSelf( ostream& os, vtkIndent indent );
37 
39 
40 //BTX
41 
44  virtual void Render(vtkRenderer *ren, vtkVolume *vol);
45 
46  void RenderQuads( int count, float *v, float *t,
47  unsigned char *texture, int size[2], int reverseFlag);
48 
49 //ETX
50 
51 protected:
54 
55 private:
57  void operator=(const vtkOpenGLVolumeTextureMapper2D&); // Not implemented.
58 };
59 
60 #endif
represents a volume (data & properties) in a rendered scene
Definition: vtkVolume.h:49
#define VTKRENDERINGVOLUMEOPENGL_EXPORT
Abstract class for a volume mapper.
abstract specification for renderers
Definition: vtkRenderer.h:63
a simple class to control print indentation
Definition: vtkIndent.h:38
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()