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 MITKLINEMAPPER2D_H_HEADER_INCLUDED 00020 #define MITKLINEMAPPER2D_H_HEADER_INCLUDED 00021 00022 #include "mitkCommon.h" 00023 #include "MitkExtExports.h" 00024 #include "mitkPointSetGLMapper2D.h" 00025 00026 namespace mitk { 00027 00028 class BaseRenderer; 00029 class PointSet; 00030 00031 //##Documentation 00032 //## @brief OpenGL-based mapper to display Lines 00033 //## 00034 //## uses the information from the PointSet to build up the lines. 00035 //## Only lines in 2D in one Slice are drawn, not between slices! 00036 //## @ingroup Mapper 00037 class MitkExt_EXPORT LineMapper2D : public PointSetGLMapper2D 00038 { 00039 public: 00040 mitkClassMacro(LineMapper2D, PointSetGLMapper2D); 00041 itkNewMacro(Self); 00042 00043 //##Documentation 00044 //## @brief Get the PointDataList to map 00045 const PointSet * GetInput(void); 00046 00047 virtual void Paint(mitk::BaseRenderer * renderer); 00048 00049 protected: 00050 LineMapper2D(); 00051 00052 virtual ~LineMapper2D(); 00053 }; 00054 00055 } // namespace mitk 00056 00057 #endif /* MITKLINEMAPPER2D_H_HEADER_INCLUDED */