00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018 #ifndef __igstkUltrasoundProbeObjectRepresentation_h
00019 #define __igstkUltrasoundProbeObjectRepresentation_h
00020
00021 #include "igstkMacros.h"
00022 #include "igstkObjectRepresentation.h"
00023 #include "igstkUltrasoundProbeObject.h"
00024 #include "igstkStateMachine.h"
00025
00026 namespace igstk
00027 {
00028
00049 class UltrasoundProbeObjectRepresentation
00050 : public ObjectRepresentation
00051 {
00052
00053 public:
00054
00056 igstkStandardClassTraitsMacro( UltrasoundProbeObjectRepresentation,
00057 ObjectRepresentation )
00058
00059 public:
00060
00062 typedef UltrasoundProbeObject UltrasoundProbeSpatialObjectType;
00063
00065 Pointer Copy() const;
00066
00068 void RequestSetUltrasoundProbeObject( const
00069 UltrasoundProbeSpatialObjectType * UltrasoundProbeObject );
00070
00071 protected:
00072
00073 UltrasoundProbeObjectRepresentation( void );
00074 virtual ~UltrasoundProbeObjectRepresentation( void );
00075
00076 UltrasoundProbeObjectRepresentation(const Self&);
00077 void operator=(const Self&);
00078
00079
00081 virtual void PrintSelf( std::ostream& os, itk::Indent indent ) const;
00082
00084 void CreateActors();
00085
00086 private:
00087
00089 UltrasoundProbeSpatialObjectType::ConstPointer
00090 m_UltrasoundProbeSpatialObject;
00091
00093 virtual void UpdateRepresentationProcessing();
00094
00097 void SetUltrasoundProbeObjectProcessing();
00098
00101 void NoProcessing();
00102
00103 private:
00104
00105
00107 igstkDeclareInputMacro( ValidUltrasoundProbeObject );
00108 igstkDeclareInputMacro( NullUltrasoundProbeObject );
00109
00111 igstkDeclareStateMacro( NullUltrasoundProbeObject );
00112 igstkDeclareStateMacro( ValidUltrasoundProbeObject );
00113
00114 UltrasoundProbeSpatialObjectType::ConstPointer m_UltrasoundProbeObjectToAdd;
00115
00116 };
00117
00118
00119 }
00120
00121 #endif // __igstkUltrasoundProbeObjectRepresentation_h