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