Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018 #ifndef MITK_NAMED_POINT_H
00019 #define MITK_NAMED_POINT_H
00020
00021 #include <mitkVector.h>
00022 #include <string>
00023
00024 namespace mitk {
00025
00026 class NamedPoint{
00027
00028 std::string m_Name;
00029 mitk::Point3D m_Point;
00030
00031 public:
00032
00036 NamedPoint() {
00037 };
00038
00042 NamedPoint( const NamedPoint& namedPoint )
00043 : m_Name( namedPoint.m_Name ), m_Point( namedPoint.m_Point ) {
00044
00045 };
00046
00050 NamedPoint( const std::string name, const Point3D& point )
00051 : m_Name( name ), m_Point( point ) {
00052
00053 };
00054
00055
00059 const std::string& GetName() const {
00060
00061 return m_Name;
00062 };
00063
00067 void SetName( const std::string& name ) {
00068
00069 m_Name = name;
00070 };
00071
00075 const Point3D& GetPoint() const {
00076
00077 return m_Point;
00078 };
00079
00083 void SetPoint( const Point3D& point ) {
00084
00085 m_Point = point;
00086 };
00087 };
00088
00089 }
00090 #endif // MITK_NAMED_POINT_H