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