00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkMapper2D.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 =========================================================================*/ 00025 #ifndef __vtkMapper2D_h 00026 #define __vtkMapper2D_h 00027 00028 #include "vtkAbstractMapper.h" 00029 00030 class vtkViewport; 00031 class vtkActor2D; 00032 00033 class VTK_FILTERING_EXPORT vtkMapper2D : public vtkAbstractMapper 00034 { 00035 public: 00036 vtkTypeRevisionMacro(vtkMapper2D,vtkAbstractMapper); 00037 void PrintSelf(ostream& os, vtkIndent indent); 00038 00039 virtual void RenderOverlay(vtkViewport*, vtkActor2D*) {}; 00040 virtual void RenderOpaqueGeometry(vtkViewport*, vtkActor2D*) {}; 00041 virtual void RenderTranslucentPolygonalGeometry(vtkViewport*, vtkActor2D*) {} 00042 virtual int HasTranslucentPolygonalGeometry() { return 0; } 00043 00044 protected: 00045 vtkMapper2D() {}; 00046 ~vtkMapper2D() {}; 00047 00048 private: 00049 vtkMapper2D(const vtkMapper2D&); // Not implemented. 00050 void operator=(const vtkMapper2D&); // Not implemented. 00051 }; 00052 00053 #endif 00054 00055 00056