VTK
dox/Rendering/Core/vtkMapper2D.h
Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    vtkMapper2D.h
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 "vtkRenderingCoreModule.h" // For export macro
00029 #include "vtkAbstractMapper.h"
00030 
00031 class vtkViewport;
00032 class vtkActor2D;
00033 
00034 class VTKRENDERINGCORE_EXPORT vtkMapper2D : public vtkAbstractMapper
00035 {
00036 public:
00037   vtkTypeMacro(vtkMapper2D, vtkAbstractMapper);
00038   void PrintSelf(ostream& os, vtkIndent indent);
00039 
00040   virtual void RenderOverlay(vtkViewport*, vtkActor2D*) {}
00041   virtual void RenderOpaqueGeometry(vtkViewport*, vtkActor2D*) {}
00042   virtual void RenderTranslucentPolygonalGeometry(vtkViewport*, vtkActor2D*) {}
00043   virtual int HasTranslucentPolygonalGeometry() { return 0; }
00044 
00045 protected:
00046   vtkMapper2D() {}
00047   ~vtkMapper2D() {}
00048 
00049 private:
00050   vtkMapper2D(const vtkMapper2D&);  // Not implemented.
00051   void operator=(const vtkMapper2D&);  // Not implemented.
00052 };
00053 
00054 #endif