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

Rendering/vtkOpenGLRayCastImageDisplayHelper.h

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