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

vtkMesaRayCastImageDisplayHelper.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkMesaRayCastImageDisplayHelper.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 
00037 #ifndef __vtkMesaRayCastImageDisplayHelper_h
00038 #define __vtkMesaRayCastImageDisplayHelper_h
00039 
00040 #include "vtkRayCastImageDisplayHelper.h"
00041 
00042 class vtkVolume;
00043 class vtkRenderer;
00044 
00045 class VTK_RENDERING_EXPORT vtkMesaRayCastImageDisplayHelper : public vtkRayCastImageDisplayHelper
00046 {
00047 public:
00048   static vtkMesaRayCastImageDisplayHelper *New();
00049   vtkTypeRevisionMacro(vtkMesaRayCastImageDisplayHelper,vtkRayCastImageDisplayHelper);
00050   virtual void PrintSelf(ostream& os, vtkIndent indent);
00051 
00052   void RenderTexture( vtkVolume *vol, vtkRenderer *ren,
00053                       int imageMemorySize[2],
00054                       int imageViewportSize[2],
00055                       int imageInUseSize[2],
00056                       int imageOrigin[2],
00057                       float requestedDepth,
00058                       unsigned char *image );
00059 
00060 protected:
00061   vtkMesaRayCastImageDisplayHelper();
00062   ~vtkMesaRayCastImageDisplayHelper();
00063 
00064 private:
00065   vtkMesaRayCastImageDisplayHelper(const vtkMesaRayCastImageDisplayHelper&);  // Not implemented.
00066   void operator=(const vtkMesaRayCastImageDisplayHelper&);  // Not implemented.
00067 };
00068 
00069 #endif
00070