18 #ifndef __igstkCoordinateSystem_h
19 #define __igstkCoordinateSystem_h
52 class CoordinateSystem;
78 return input->GetCoordinateSystem();
96 void RequestSetTransformAndParent(
const Transform & t,
142 virtual void PrintSelf( std::ostream& os, itk::Indent indent )
const;
149 void operator=(
const Self&);
171 igstkDeclareStateMacro( Initialized );
174 igstkDeclareStateMacro( ParentSet );
177 igstkDeclareStateMacro( AttemptingComputeTransformTo );
178 igstkDeclareStateMacro( AttemptingComputeTransformToInInitialized );
185 igstkDeclareInputMacro( NullCoordinateSystem );
186 igstkDeclareInputMacro( ThisCoordinateSystem );
187 igstkDeclareInputMacro( ValidCoordinateSystem );
190 igstkDeclareInputMacro( NullParent );
191 igstkDeclareInputMacro( ThisParent );
192 igstkDeclareInputMacro( ValidParent );
193 igstkDeclareInputMacro( ParentCausesCycle );
198 igstkDeclareInputMacro( AncestorFound );
199 igstkDeclareInputMacro( Disconnected );
203 igstkDeclareInputMacro( DetachFromParent );
206 igstkDeclareInputMacro( UpdateTransformToParent );
211 Transform m_TransformFromRequestSetTransformAndParent;
215 void SetTransformAndParentNullParentProcessing();
218 void SetTransformAndParentThisParentProcessing();
223 void SetTransformAndParentCycleProcessing();
226 void SetTransformAndParentProcessing();
229 void UpdateTransformToParentProcessing();
240 void ComputeTransformToThisTargetProcessing();
245 void ComputeTransformToNullTargetProcessing();
250 void ComputeTransformToValidTargetProcessing();
255 void ComputeTransformToDisconnectedProcessing();
261 void ComputeTransformToAncestorFoundProcessing();
268 void FindLowestCommonAncestor(
const Self* targetCoordinateSystem);
293 void InvalidRequestProcessing();
296 void DoNothingProcessing();
299 void DetachFromParentProcessing();
316 igstkEventMacro( CoordinateSystemSetParentError, CoordinateSystemErrorEvent );
322 CoordinateSystemSetParentError );
328 CoordinateSystemSetParentError );
334 CoordinateSystemSetParentError,
339 #endif // __igstkCoordinateSystem_h