text: /*===================================================================
  
  The Medical Imaging Interaction Toolkit (MITK)
  
  Copyright (c) German Cancer Research Center,
  Division of Medical and Biological Informatics.
  All rights reserved.
  
  This software is distributed WITHOUT ANY WARRANTY; without
  even the implied warranty of MERCHANTABILITY or FITNESS FOR
  A PARTICULAR PURPOSE.
  
  See LICENSE.txt or http://www.mitk.org for details.
  
  ===================================================================*/
  
  
  #ifndef MITK_CONTOUR_MAPPER_2D_H_
  #define MITK_CONTOUR_MAPPER_2D_H_
  
  #include "mitkCommon.h"
  #include "SegmentationExports.h"
  #include "mitkGLMapper.h"
  
  
  namespace mitk {
  
  class BaseRenderer;
  class Contour;
  
  /**
   * @brief OpenGL-based mapper to display a mitk::Contour object in a 2D render window
   *
   *
   * @ingroup Mapper
   */
  class Segmentation_EXPORT ContourMapper2D : public GLMapper
  {
  public:
  
      mitkClassMacro(ContourMapper2D, GLMapper);
  
      itkNewMacro(Self);
  
      /**
       * reimplemented from Baseclass
       */
      virtual void Paint(BaseRenderer * renderer);
  
      /**
       * return a refernce of the rendered data object
       */
      const Contour* GetInput(void);
  
  protected:
      ContourMapper2D();
  
      virtual ~ContourMapper2D();
  };
  
  } // namespace mitk
  
  
  
  #endif /* MITKContourMapper2D_H_HEADER_INCLUDED */
  