00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkMesaImageMapper.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 =========================================================================*/ 00040 #ifndef __vtkMesaImageMapper_h 00041 #define __vtkMesaImageMapper_h 00042 00043 00044 #include "vtkImageMapper.h" 00045 class vtkActor2D; 00046 00047 00048 class VTK_RENDERING_EXPORT vtkMesaImageMapper : public vtkImageMapper 00049 { 00050 public: 00051 static vtkMesaImageMapper *New(); 00052 vtkTypeRevisionMacro(vtkMesaImageMapper,vtkImageMapper); 00053 virtual void PrintSelf(ostream& os, vtkIndent indent); 00054 00056 00057 void RenderOpaqueGeometry(vtkViewport* viewport, vtkActor2D* actor) { 00058 this->RenderStart(viewport,actor);} 00060 00062 00064 void RenderData(vtkViewport* viewport, vtkImageData* data, 00065 vtkActor2D* actor); 00067 00068 protected: 00069 vtkMesaImageMapper(); 00070 ~vtkMesaImageMapper(); 00071 00072 private: 00073 vtkMesaImageMapper(const vtkMesaImageMapper&); // Not implemented. 00074 void operator=(const vtkMesaImageMapper&); // Not implemented. 00075 }; 00076 00077 00078 #endif 00079 00080 00081 00082 00083 00084 00085 00086 00087