18 #ifndef __itkOrientImageFilter_h
19 #define __itkOrientImageFilter_h
139 template<
class TInputImage,
class TOutputImage >
173 itkStaticConstMacro(InputImageDimension,
unsigned int,
174 TInputImage::ImageDimension);
175 itkStaticConstMacro(OutputImageDimension,
unsigned int,
176 TOutputImage::ImageDimension);
190 inline void SetGivenCoordinateDirection(
const typename TInputImage::DirectionType & GivenDirection)
192 SetGivenCoordinateOrientation(
196 itkGetEnumMacro(DesiredCoordinateOrientation, CoordinateOrientationCode);
197 void SetDesiredCoordinateOrientation(CoordinateOrientationCode newCode);
199 inline void SetDesiredCoordinateDirection(
const typename TOutputImage::DirectionType & DesiredDirection)
201 SetDesiredCoordinateOrientation(
212 itkBooleanMacro(UseImageDirection);
213 itkGetConstMacro(UseImageDirection,
bool);
214 itkSetMacro(UseImageDirection,
bool);
218 itkGetConstReferenceMacro(PermuteOrder, PermuteOrderArrayType);
221 itkGetConstReferenceMacro(FlipAxes, FlipAxesArrayType);
236 void SetDesiredCoordinateOrientationToAxial()
241 void SetDesiredCoordinateOrientationToCoronal()
246 void SetDesiredCoordinateOrientationToSagittal()
258 virtual void GenerateOutputInformation();
260 #ifdef ITK_USE_CONCEPT_CHECKING
266 itkGetStaticConstMacro(OutputImageDimension) > ) );
276 void PrintSelf(std::ostream & os,
Indent indent)
const;
281 void GenerateInputRequestedRegion();
284 void EnlargeOutputRequestedRegion(
DataObject *itkNotUsed(output) );
290 bool NeedToPermute();
300 void operator=(
const Self &);
302 std::string GetMajorAxisFromPatientRelativeDirectionCosine(
double x,
double y,
double z);
316 #ifndef ITK_MANUAL_INSTANTIATION
317 #include "itkOrientImageFilter.hxx"