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
vtkVolume
represents a volume (data & properties) in a rendered scene
Definition: vtkVolume.h:50
vtkgl::count
GLuint GLuint GLsizei count
Definition: vtkgl.h:11315
vtkVolumeTextureMapper2D.h
vtkOpenGLVolumeTextureMapper2D::Render
virtual void Render(vtkRenderer *ren, vtkVolume *vol)
vtkOpenGLVolumeTextureMapper2D::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
vtkgl::v
const GLdouble * v
Definition: vtkgl.h:11595
VTKRENDERINGVOLUMEOPENGL_EXPORT
#define VTKRENDERINGVOLUMEOPENGL_EXPORT
Definition: vtkRenderingVolumeOpenGLModule.h:15
vtkgl::texture
GLenum GLuint texture
Definition: vtkgl.h:12500
vtkOpenGLVolumeTextureMapper2D::~vtkOpenGLVolumeTextureMapper2D
~vtkOpenGLVolumeTextureMapper2D()
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkVolumeTextureMapper2D
Abstract class for a volume mapper.
Definition: vtkVolumeTextureMapper2D.h:38
vtkOpenGLVolumeTextureMapper2D::New
static vtkOpenGLVolumeTextureMapper2D * New()
vtkgl::t
GLdouble GLdouble t
Definition: vtkgl.h:11602
vtkOpenGLVolumeTextureMapper2D::vtkOpenGLVolumeTextureMapper2D
vtkOpenGLVolumeTextureMapper2D()
vtkOpenGLVolumeTextureMapper2D::RenderQuads
void RenderQuads(int count, float *v, float *t, unsigned char *texture, int size[2], int reverseFlag)
vtkRenderer
abstract specification for renderers
Definition: vtkRenderer.h:64
vtkOpenGLVolumeTextureMapper2D
Abstract class for a volume mapper.
Definition: vtkOpenGLVolumeTextureMapper2D.h:33
vtkRenderingVolumeOpenGLModule.h
vtkgl::size
GLsizeiptr size
Definition: vtkgl.h:11843