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 MITKLANDMARKBASEDCURVEDGEOMETRY_H_HEADER_INCLUDED_C1C68A2C 00020 #define MITKLANDMARKBASEDCURVEDGEOMETRY_H_HEADER_INCLUDED_C1C68A2C 00021 00022 #include "mitkAbstractTransformGeometry.h" 00023 #include "mitkPointSet.h" 00024 00025 namespace mitk { 00026 00027 //##Documentation 00028 //## @brief Superclass of AbstractTransformGeometry sub-classes defined 00029 //## by a set of landmarks. 00030 //## 00031 //## @ingroup Geometry 00032 class MITK_CORE_EXPORT LandmarkBasedCurvedGeometry : public AbstractTransformGeometry 00033 { 00034 public: 00035 mitkClassMacro(LandmarkBasedCurvedGeometry, AbstractTransformGeometry); 00036 00037 //##Documentation 00038 //## @brief Set the landmarks through which the geometry shall pass 00039 itkSetConstObjectMacro(TargetLandmarks, mitk::PointSet::DataType::PointsContainer); 00040 //##Documentation 00041 //## @brief Get the landmarks through which the geometry shall pass 00042 itkGetConstObjectMacro(TargetLandmarks, mitk::PointSet::DataType::PointsContainer); 00043 00044 virtual void ComputeGeometry() = 0; 00045 00046 protected: 00047 LandmarkBasedCurvedGeometry(); 00048 00049 virtual ~LandmarkBasedCurvedGeometry(); 00050 00051 void InitializeGeometry(Self * newGeometry) const; 00052 00053 mitk::PointSet::DataType::PointsContainer::ConstPointer m_TargetLandmarks; 00054 00055 }; 00056 00057 } // namespace mitk 00058 00059 #endif /* MITKLANDMARKBASEDCURVEDGEOMETRY_H_HEADER_INCLUDED_C1C68A2C */