Main Page | Directories | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

vtkOpenGLRayCastImageDisplayHelper.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkOpenGLRayCastImageDisplayHelper.h,v $
00005 
00006   Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
00007   All rights reserved.
00008   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
00009 
00010      This software is distributed WITHOUT ANY WARRANTY; without even
00011      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
00012      PURPOSE.  See the above copyright notice for more information.
00013 
00014 =========================================================================*/
00015 
00036 #ifndef __vtkOpenGLRayCastImageDisplayHelper_h
00037 #define __vtkOpenGLRayCastImageDisplayHelper_h
00038 
00039 #include "vtkRayCastImageDisplayHelper.h"
00040 
00041 class vtkVolume;
00042 class vtkRenderer;
00043 
00044 class VTK_RENDERING_EXPORT vtkOpenGLRayCastImageDisplayHelper : public vtkRayCastImageDisplayHelper
00045 {
00046 public:
00047   static vtkOpenGLRayCastImageDisplayHelper *New();
00048   vtkTypeRevisionMacro(vtkOpenGLRayCastImageDisplayHelper,vtkRayCastImageDisplayHelper);
00049   virtual void PrintSelf(ostream& os, vtkIndent indent);
00050 
00051   void RenderTexture( vtkVolume *vol, vtkRenderer *ren,
00052                       int imageMemorySize[2],
00053                       int imageViewportSize[2],
00054                       int imageInUseSize[2],
00055                       int imageOrigin[2],
00056                       float requestedDepth,
00057                       unsigned char *image );
00058 
00059 protected:
00060   vtkOpenGLRayCastImageDisplayHelper();
00061   ~vtkOpenGLRayCastImageDisplayHelper();
00062 
00063 private:
00064   vtkOpenGLRayCastImageDisplayHelper(const vtkOpenGLRayCastImageDisplayHelper&);  // Not implemented.
00065   void operator=(const vtkOpenGLRayCastImageDisplayHelper&);  // Not implemented.
00066 };
00067 
00068 #endif
00069