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 MAPPER2D_H_HEADER_INCLUDED_C1C5453B 00020 #define MAPPER2D_H_HEADER_INCLUDED_C1C5453B 00021 00022 #include "mitkMapper.h" 00023 #include "mitkGeometry3D.h" 00024 00025 namespace mitk { 00026 00027 //##Documentation 00028 //## @brief Base class of all Mappers for 2D display 00029 //## 00030 //## Base class of all Mappers for 2D display, i.e., a frontal view on a plane 00031 //## display area, so nothing rotated in 3D space as, e.g., a plane in 3D space 00032 //## (such things are done by subclasses of Mapper3D). 00033 //## @note [not yet used:] SetGeometry3D() tells the Mapper2D which slices will 00034 //## potentially be requested. 00035 //## @ingroup Mapper 00036 class MITK_CORE_EXPORT Mapper2D : public Mapper 00037 { 00038 public: 00039 mitkClassMacro(Mapper2D,Mapper); 00040 00041 //##Documentation 00042 //## @brief Set Geometry3D containing the all possible Geometry2D that may be requested for mapping 00043 //## @sa m_Geometry3D 00044 virtual void SetGeometry3D(const mitk::Geometry3D* aGeometry3D); 00045 00046 protected: 00047 Mapper2D(); 00048 00049 virtual ~Mapper2D(); 00050 00051 //##Documentation 00052 //## @brief Set Geometry3D containing the all possible Geometry2D that may be requested for mapping 00053 //## @note not yet implemented 00054 //## The idea was that this allows storing/pre-fetching of data required for mapping. 00055 //## Should be called by SliceNavigationController. 00056 //## @todo check design and implement when implementing (sub-)classes of SliceNavigationController 00057 Geometry3D::ConstPointer m_Geometry3D; 00058 }; 00059 00060 } // namespace mitk 00061 00062 00063 00064 #endif /* MAPPER2D_H_HEADER_INCLUDED_C1C5453B */