Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members

mitkPath.h

00001 /*=========================================================================
00002 
00003   Program:   3DMed
00004   Date:      $Date: 2014-02-25 18:30:00 +0800 $
00005   Version:   $Version: 4.6.0 $
00006   Copyright: MIPG, Institute of Automation, Chinese Academy of Sciences
00007 
00008 =========================================================================*/
00009 
00010 #ifndef _mitkPath_h
00011 #define _mitkPath_h
00012 
00013 #include "mitkObject.h"
00014 #include "mitkMatrix.h"
00015 
00016 typedef mitkVector mitkPath_Point;
00017 class mitkPath_Point_List;
00018 
00019 class MITK_COMMON_API mitkPath : public mitkObject
00020 {
00021 public:
00022     MITK_TYPE(mitkPath,mitkObject)
00023     mitkPath();
00024 
00025     void AddPoint(const mitkPath_Point& point);
00026     int GetPointCount();
00027     mitkPath_Point& operator[](int index);
00028     float GetLength(bool update=true);
00029 
00030     void Filter(int iterationNum);
00031 
00032 protected:
00033     virtual ~mitkPath();
00034 
00035 private:
00036     mitkPath(const mitkPath&);
00037     void operator=(const mitkPath&);
00038 
00039     mitkPath_Point_List* m_List;
00040     float m_length;
00041 };
00042 
00043 #endif 

Generated on Tue Feb 25 15:00:37 2014 for MITK (Medical Imaging ToolKit) by  doxygen 1.4.3