IGSTK
igstkUltrasoundProbeObjectRepresentation.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Image Guided Surgery Software Toolkit
4  Module: $RCSfile: igstkUltrasoundProbeObjectRepresentation.h,v $
5  Language: C++
6  Date: $Date: 2008-02-11 01:41:51 $
7  Version: $Revision: 1.6 $
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 __igstkUltrasoundProbeObjectRepresentation_h
19 #define __igstkUltrasoundProbeObjectRepresentation_h
20 
21 #include "igstkMacros.h"
24 #include "igstkStateMachine.h"
25 
26 namespace igstk
27 {
28 
50 : public ObjectRepresentation
51 {
52 
53 public:
54 
58 
59 public:
60 
62  typedef UltrasoundProbeObject UltrasoundProbeSpatialObjectType;
63 
65  Pointer Copy() const;
66 
69  UltrasoundProbeSpatialObjectType * UltrasoundProbeObject );
70 
71 protected:
72 
75 
76  UltrasoundProbeObjectRepresentation(const Self&); //purposely not implemented
77  void operator=(const Self&); //purposely not implemented
78 
79 
81  virtual void PrintSelf( std::ostream& os, itk::Indent indent ) const;
82 
84  void CreateActors();
85 
86 private:
87 
89  UltrasoundProbeSpatialObjectType::ConstPointer
90  m_UltrasoundProbeSpatialObject;
91 
93  virtual void UpdateRepresentationProcessing();
94 
97  void SetUltrasoundProbeObjectProcessing();
98 
101  void NoProcessing();
102 
103 private:
104 
105 
107  igstkDeclareInputMacro( ValidUltrasoundProbeObject );
108  igstkDeclareInputMacro( NullUltrasoundProbeObject );
109 
111  igstkDeclareStateMacro( NullUltrasoundProbeObject );
112  igstkDeclareStateMacro( ValidUltrasoundProbeObject );
113 
114  UltrasoundProbeSpatialObjectType::ConstPointer m_UltrasoundProbeObjectToAdd;
115 
116 };
117 
118 
119 } // end namespace igstk
120 
121 #endif // __igstkUltrasoundProbeObjectRepresentation_h