VTK
vtkOpenGLRayCastImageDisplayHelper.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkOpenGLRayCastImageDisplayHelper.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 =========================================================================*/
15 
26 #ifndef vtkOpenGLRayCastImageDisplayHelper_h
27 #define vtkOpenGLRayCastImageDisplayHelper_h
28 
29 #include "vtkRenderingVolumeOpenGLModule.h" // For export macro
31 
32 class vtkVolume;
33 class vtkRenderer;
35 
38 {
39 public:
42  virtual void PrintSelf(ostream& os, vtkIndent indent);
43 
45  int imageMemorySize[2],
46  int imageViewportSize[2],
47  int imageInUseSize[2],
48  int imageOrigin[2],
49  float requestedDepth,
50  unsigned char *image );
51 
53  int imageMemorySize[2],
54  int imageViewportSize[2],
55  int imageInUseSize[2],
56  int imageOrigin[2],
57  float requestedDepth,
58  unsigned short *image );
59 
62  float requestedDepth );
63 
64 protected:
67 
69  int imageMemorySize[2],
70  int imageViewportSize[2],
71  int imageInUseSize[2],
72  int imageOrigin[2],
73  float requestedDepth,
74  int imageScalarType,
75  void *image );
76 
77 private:
79  void operator=(const vtkOpenGLRayCastImageDisplayHelper&); // Not implemented.
80 };
81 
82 #endif
vtkOpenGLRayCastImageDisplayHelper::vtkOpenGLRayCastImageDisplayHelper
vtkOpenGLRayCastImageDisplayHelper()
vtkVolume
represents a volume (data & properties) in a rendered scene
Definition: vtkVolume.h:50
vtkRayCastImageDisplayHelper.h
vtkFixedPointRayCastImage
helper class for a ray cast image
Definition: vtkFixedPointRayCastImage.h:39
vtkRayCastImageDisplayHelper
helper class that draws the image to the screen
Definition: vtkRayCastImageDisplayHelper.h:39
vtkOpenGLRayCastImageDisplayHelper::RenderTexture
void RenderTexture(vtkVolume *vol, vtkRenderer *ren, int imageMemorySize[2], int imageViewportSize[2], int imageInUseSize[2], int imageOrigin[2], float requestedDepth, unsigned short *image)
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
vtkOpenGLRayCastImageDisplayHelper::~vtkOpenGLRayCastImageDisplayHelper
~vtkOpenGLRayCastImageDisplayHelper()
VTKRENDERINGVOLUMEOPENGL_EXPORT
#define VTKRENDERINGVOLUMEOPENGL_EXPORT
Definition: vtkRenderingVolumeOpenGLModule.h:15
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkOpenGLRayCastImageDisplayHelper::RenderTexture
void RenderTexture(vtkVolume *vol, vtkRenderer *ren, vtkFixedPointRayCastImage *image, float requestedDepth)
vtkRenderer
abstract specification for renderers
Definition: vtkRenderer.h:64
vtkOpenGLRayCastImageDisplayHelper::New
static vtkOpenGLRayCastImageDisplayHelper * New()
vtkOpenGLRayCastImageDisplayHelper
OpenGL subclass that draws the image to the screen.
Definition: vtkOpenGLRayCastImageDisplayHelper.h:38
vtkOpenGLRayCastImageDisplayHelper::RenderTexture
void RenderTexture(vtkVolume *vol, vtkRenderer *ren, int imageMemorySize[2], int imageViewportSize[2], int imageInUseSize[2], int imageOrigin[2], float requestedDepth, unsigned char *image)
vtkOpenGLRayCastImageDisplayHelper::RenderTextureInternal
void RenderTextureInternal(vtkVolume *vol, vtkRenderer *ren, int imageMemorySize[2], int imageViewportSize[2], int imageInUseSize[2], int imageOrigin[2], float requestedDepth, int imageScalarType, void *image)
vtkOpenGLRayCastImageDisplayHelper::PrintSelf
virtual void PrintSelf(ostream &os, vtkIndent indent)
vtkgl::image
GLenum GLsizei GLenum GLenum const GLvoid * image
Definition: vtkgl.h:11341
vtkRenderingVolumeOpenGLModule.h