IGSTK
/tmp/buildd/igstk-4.4.0/Source/igstkCoordinateSystemTransformToErrorResult.h
Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Image Guided Surgery Software Toolkit
00004   Module:    $RCSfile: igstkCoordinateSystemTransformToErrorResult.h,v $
00005   Language:  C++
00006   Date:      $Date: 2008-02-11 01:41:50 $
00007   Version:   $Revision: 1.1 $
00008 
00009   Copyright (c) ISC  Insight Software Consortium.  All rights reserved.
00010   See IGSTKCopyright.txt or http://www.igstk.org/copyright.htm 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 #ifndef __igstkCoordinateSystemTransformToErrorResult_h
00019 #define __igstkCoordinateSystemTransformToErrorResult_h
00020 
00021 #include "igstkCoordinateSystem.h"
00022 
00023 namespace igstk
00024 {
00025 
00038 class CoordinateSystemTransformToErrorResult
00039 {
00040 public:
00041 
00042   CoordinateSystemTransformToErrorResult();
00043 
00044   CoordinateSystemTransformToErrorResult(
00045       const CoordinateSystemTransformToErrorResult& in);
00046 
00047   CoordinateSystemTransformToErrorResult &operator = ( 
00048       const CoordinateSystemTransformToErrorResult& in);
00049 
00050   void Initialize(const CoordinateSystem* src,
00051                   const CoordinateSystem* dst);
00052 
00058   void Clear();
00059 
00061   const CoordinateSystem * GetSource() const;
00062 
00064   const CoordinateSystem * GetDestination() const;
00065 
00066 private:
00067 
00068   CoordinateSystem::ConstPointer   m_Source;
00069   CoordinateSystem::ConstPointer   m_Destination;
00070 };
00071 
00075 igstkLoadedEventMacro( CoordinateSystemTransformToNullTargetEvent,
00076                        TransformNotAvailableEvent,
00077                        CoordinateSystemTransformToErrorResult );
00078 
00083 igstkLoadedEventMacro( CoordinateSystemTransformToDisconnectedEvent,
00084                        TransformNotAvailableEvent,
00085                        CoordinateSystemTransformToErrorResult );
00086 
00087 } // end namespace igstk
00088 
00089 #endif