00001 /*========================================================================= 00002 00003 Program: Medical Imaging & Interaction Toolkit 00004 Language: C++ 00005 Date: $Date$ 00006 Version: $Revision$ 00007 00008 Copyright (c) German Cancer Research Center, Division of Medical and 00009 Biological Informatics. All rights reserved. 00010 See MITKCopyright.txt or https://www.mitk.org/copyright.html for details. 00011 00012 This software is distributed WITHOUT ANY WARRANTY; without even 00013 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00014 PURPOSE. See the above copyright notices for more information. 00015 00016 =========================================================================*/ 00017 00018 00019 #ifndef MITKMESHMAPPER2D_H_HEADER_INCLUDED 00020 #define MITKMESHMAPPER2D_H_HEADER_INCLUDED 00021 00022 #include "mitkCommon.h" 00023 #include "MitkExtExports.h" 00024 #include "mitkGLMapper2D.h" 00025 00026 namespace mitk { 00027 00028 class BaseRenderer; 00029 class Mesh; 00030 00037 class MitkExt_EXPORT MeshMapper2D : public GLMapper2D 00038 { 00039 public: 00040 mitkClassMacro(MeshMapper2D, Mapper2D); 00041 00042 itkNewMacro(Self); 00043 00045 const mitk::Mesh *GetInput(void); 00046 00047 virtual void Paint( mitk::BaseRenderer *renderer ); 00048 00049 protected: 00050 MeshMapper2D(); 00051 00052 virtual ~MeshMapper2D(); 00053 }; 00054 00055 } // namespace mitk 00056 00057 00058 00059 #endif /* MITKMESHMapper2D_H_HEADER_INCLUDED */