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 =========================================================================*/
27 #ifndef vtkOpenGLVolumeTextureMapper2D_h
28 #define vtkOpenGLVolumeTextureMapper2D_h
29 
30 #include "vtkRenderingVolumeOpenGLModule.h" // For export macro
32 
33 #if !defined(VTK_LEGACY_REMOVE)
34 class VTKRENDERINGVOLUMEOPENGL_EXPORT vtkOpenGLVolumeTextureMapper2D
36 {
37 public:
39  void PrintSelf( ostream& os, vtkIndent indent );
40 
42 
48  virtual void Render(vtkRenderer *ren, vtkVolume *vol);
49 
50  void RenderQuads( int count, float *v, float *t,
51  unsigned char *texture, int size[2], int reverseFlag);
52 
53 protected:
56 
57 private:
59  void operator=(const vtkOpenGLVolumeTextureMapper2D&) VTK_DELETE_FUNCTION;
60 };
61 #endif // VTK_LEGACY_REMOVE
62 #endif
represents a volume (data & properties) in a rendered scene
Definition: vtkVolume.h:50
Abstract class for a volume mapper.
abstract specification for renderers
Definition: vtkRenderer.h:63
a simple class to control print indentation
Definition: vtkIndent.h:39
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
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 *)
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THIS METHOD OUTSIDE OF THE RENDERI...
static vtkVolumeTextureMapper2D * New()