IGSTK
igstkCoordinateSystemTransformToErrorResult.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Image Guided Surgery Software Toolkit
4  Module: $RCSfile: igstkCoordinateSystemTransformToErrorResult.h,v $
5  Language: C++
6  Date: $Date: 2008-02-11 01:41:50 $
7  Version: $Revision: 1.1 $
8 
9  Copyright (c) ISC Insight Software Consortium. All rights reserved.
10  See IGSTKCopyright.txt or http://www.igstk.org/copyright.htm for details.
11 
12  This software is distributed WITHOUT ANY WARRANTY; without even
13  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
14  PURPOSE. See the above copyright notices for more information.
15 
16 =========================================================================*/
17 
18 #ifndef __igstkCoordinateSystemTransformToErrorResult_h
19 #define __igstkCoordinateSystemTransformToErrorResult_h
20 
21 #include "igstkCoordinateSystem.h"
22 
23 namespace igstk
24 {
25 
39 {
40 public:
41 
43 
46 
49 
50  void Initialize(const CoordinateSystem* src,
51  const CoordinateSystem* dst);
52 
58  void Clear();
59 
61  const CoordinateSystem * GetSource() const;
62 
64  const CoordinateSystem * GetDestination() const;
65 
66 private:
67 
69  CoordinateSystem::ConstPointer m_Destination;
70 };
71 
75 igstkLoadedEventMacro( CoordinateSystemTransformToNullTargetEvent,
76  TransformNotAvailableEvent,
78 
83 igstkLoadedEventMacro( CoordinateSystemTransformToDisconnectedEvent,
84  TransformNotAvailableEvent,
86 
87 } // end namespace igstk
88 
89 #endif
void Clear()
Clears the pointers that the event is holding.
This class is used a result of RequestComputeTransformTo when there is an error.
CoordinateSystemTransformToErrorResult & operator=(const CoordinateSystemTransformToErrorResult &in)
const CoordinateSystem * GetSource() const
Returns the source coordinate system.
void Initialize(const CoordinateSystem *src, const CoordinateSystem *dst)
const CoordinateSystem * GetDestination() const
Returns the destination coordinate system.
This class represents the frame of a coordinate reference system.
::itk::SmartPointer< const Self > ConstPointer
Definition: igstkObject.h:51
igstkLoadedEventMacro(Ascension3DGErrorEvent, IGSTKErrorEvent, Ascension3DGEventErrorType)