itkTypeMacro(DicomRTDoseIO, ImageIOBase);
/*-------- This part of the interface deals with reading data. ------ */
- virtual void ReadImageInformation();
- virtual bool CanReadFile( const char* FileNameToRead );
- virtual void Read(void * buffer);
+ virtual void ReadImageInformation() ITK_OVERRIDE;
+ virtual bool CanReadFile( const char* FileNameToRead ) ITK_OVERRIDE;
+ virtual void Read(void * buffer) ITK_OVERRIDE;
/*-------- This part of the interfaces deals with writing data. ----- */
virtual void WriteImageInformation(bool keepOfStream);
- virtual void WriteImageInformation() {
+ virtual void WriteImageInformation() ITK_OVERRIDE {
WriteImageInformation(false);
}
- virtual bool CanWriteFile(const char* filename);
- virtual void Write(const void* buffer);
+ virtual bool CanWriteFile(const char* filename) ITK_OVERRIDE;
+ virtual void Write(const void* buffer) ITK_OVERRIDE;
protected:
template <class T> void dose_copy_raw (float *img_out, T *img_in, int nvox, float scale);
typedef itk::SmartPointer<const Self> ConstPointer;
/** Class methods used to interface with the registered factories. */
- const char* GetITKSourceVersion(void) const {
+ const char* GetITKSourceVersion(void) const ITK_OVERRIDE {
return ITK_SOURCE_VERSION;
}
- const char* GetDescription(void) const {
+ const char* GetDescription(void) const ITK_OVERRIDE {
return "Dicom RT Dose IO factory";
}
itkTypeMacro(EsrfHstImageIO, ImageIOBase);
/*-------- This part of the interface deals with reading data. ------ */
- virtual void ReadImageInformation();
- virtual bool CanReadFile( const char* FileNameToRead );
- virtual void Read(void * buffer);
+ virtual void ReadImageInformation() ITK_OVERRIDE;
+ virtual bool CanReadFile( const char* FileNameToRead ) ITK_OVERRIDE;
+ virtual void Read(void * buffer) ITK_OVERRIDE;
/*-------- This part of the interfaces deals with writing data. ----- */
virtual void WriteImageInformation(bool keepOfStream);
- virtual void WriteImageInformation() { WriteImageInformation(false); }
- virtual bool CanWriteFile(const char* filename);
- virtual void Write(const void* buffer);
+ virtual void WriteImageInformation() ITK_OVERRIDE { WriteImageInformation(false); }
+ virtual bool CanWriteFile(const char* filename) ITK_OVERRIDE;
+ virtual void Write(const void* buffer) ITK_OVERRIDE;
protected:
std::string m_XmlFileName;
typedef itk::SmartPointer<const Self> ConstPointer;
/** Class methods used to interface with the registered factories. */
- const char* GetITKSourceVersion(void) const {
+ const char* GetITKSourceVersion(void) const ITK_OVERRIDE {
return ITK_SOURCE_VERSION;
}
- const char* GetDescription(void) const {
+ const char* GetDescription(void) const ITK_OVERRIDE {
return "Esrf Hst ImageIO Factory, allows the loading of Esrf Hst images into insight";
}
itkNewMacro(Self);
/** Determine if a file can be read */
- int CanReadFile(const char* name);
+ int CanReadFile(const char* name) ITK_OVERRIDE;
protected:
EsrfHstXMLFileReader() {m_OutputObject = &m_Dictionary;};
virtual ~EsrfHstXMLFileReader() {};
- virtual void StartElement(const char * name,const char **atts);
+ virtual void StartElement(const char * name,const char **atts) ITK_OVERRIDE;
- virtual void EndElement(const char *name);
+ virtual void EndElement(const char *name) ITK_OVERRIDE;
- void CharacterDataHandler(const char *inData, int inLength);
+ void CharacterDataHandler(const char *inData, int inLength) ITK_OVERRIDE;
private:
EsrfHstXMLFileReader(const Self&); //purposely not implemented
itkTypeMacro(GateAsciiImageIO, ImageIOBase);
/*-------- This part of the interface deals with reading data. ------ */
- virtual void ReadImageInformation();
- virtual bool CanReadFile( const char* FileNameToRead );
- virtual void Read(void * buffer);
+ virtual void ReadImageInformation() ITK_OVERRIDE;
+ virtual bool CanReadFile( const char* FileNameToRead ) ITK_OVERRIDE;
+ virtual void Read(void * buffer) ITK_OVERRIDE;
/*-------- This part of the interfaces deals with writing data. ----- */
- virtual void WriteImageInformation();
- virtual bool CanWriteFile(const char* filename);
- virtual void Write(const void* buffer);
+ virtual void WriteImageInformation() ITK_OVERRIDE;
+ virtual bool CanWriteFile(const char* filename) ITK_OVERRIDE;
+ virtual void Write(const void* buffer) ITK_OVERRIDE;
- virtual bool SupportsDimension(unsigned long dim);
+ virtual bool SupportsDimension(unsigned long dim) ITK_OVERRIDE;
protected:
static bool ReadHeader(FILE* handle, GateAsciiHeader& header);
typedef itk::SmartPointer<const Self> ConstPointer;
/** Class methods used to interface with the registered factories. */
- const char* GetITKSourceVersion(void) const {
+ const char* GetITKSourceVersion(void) const ITK_OVERRIDE {
return ITK_SOURCE_VERSION;
}
- const char* GetDescription(void) const {
+ const char* GetDescription(void) const ITK_OVERRIDE {
return "GateAscii ImageIO Factory, allows the loading of gate ascii images into insight";
}
itkTypeMacro(VfImageIO, ImageIOBase);
/*-------- This part of the interface deals with reading data. ------ */
- virtual void ReadImageInformation();
- virtual bool CanReadFile( const char* FileNameToRead );
- virtual void Read(void * buffer);
+ virtual void ReadImageInformation() ITK_OVERRIDE;
+ virtual bool CanReadFile( const char* FileNameToRead ) ITK_OVERRIDE;
+ virtual void Read(void * buffer) ITK_OVERRIDE;
/*-------- This part of the interfaces deals with writing data. ----- */
virtual void WriteImageInformation(bool keepOfStream);
- virtual void WriteImageInformation() { WriteImageInformation(false); }
- virtual bool CanWriteFile(const char* filename);
- virtual void Write(const void* buffer);
+ virtual void WriteImageInformation() ITK_OVERRIDE { WriteImageInformation(false); }
+ virtual bool CanWriteFile(const char* filename) ITK_OVERRIDE;
+ virtual void Write(const void* buffer) ITK_OVERRIDE;
protected:
bool mustWriteHeader;
typedef itk::SmartPointer<const Self> ConstPointer;
/** Class methods used to interface with the registered factories. */
- const char* GetITKSourceVersion(void) const {
+ const char* GetITKSourceVersion(void) const ITK_OVERRIDE {
return ITK_SOURCE_VERSION;
}
- const char* GetDescription(void) const {
+ const char* GetDescription(void) const ITK_OVERRIDE {
return "Vf ImageIO Factory, allows the loading of Vf images into insight";
}
itkTypeMacro(VoxImageIO, ImageIOBase);
/*-------- This part of the interface deals with reading data. ------ */
- virtual void ReadImageInformation();
- virtual bool CanReadFile( const char* FileNameToRead );
- virtual void Read(void * buffer);
+ virtual void ReadImageInformation() ITK_OVERRIDE;
+ virtual bool CanReadFile( const char* FileNameToRead ) ITK_OVERRIDE;
+ virtual void Read(void * buffer) ITK_OVERRIDE;
/*-------- This part of the interfaces deals with writing data. ----- */
virtual void WriteImageInformation(bool keepOfStream);
- virtual void WriteImageInformation() { WriteImageInformation(false); }
- virtual bool CanWriteFile(const char* filename);
- virtual void Write(const void* buffer);
+ virtual void WriteImageInformation() ITK_OVERRIDE { WriteImageInformation(false); }
+ virtual bool CanWriteFile(const char* filename) ITK_OVERRIDE;
+ virtual void Write(const void* buffer) ITK_OVERRIDE;
protected:
bool mustWriteHeader;
typedef itk::SmartPointer<const Self> ConstPointer;
/** Class methods used to interface with the registered factories. */
- const char* GetITKSourceVersion(void) const {
+ const char* GetITKSourceVersion(void) const ITK_OVERRIDE {
return ITK_SOURCE_VERSION;
}
- const char* GetDescription(void) const {
+ const char* GetDescription(void) const ITK_OVERRIDE {
return "Vox ImageIO Factory, allows the loading of Vox images into insight";
}
/*-------- This part of the interface deals with reading data. ------ */
virtual int ReadImageInformationWithError();
virtual int ReadWithError(void * buffer);
- virtual void ReadImageInformation();
- virtual void Read(void * buffer);
- virtual bool CanReadFile( const char* FileNameToRead );
+ virtual void ReadImageInformation() ITK_OVERRIDE;
+ virtual void Read(void * buffer) ITK_OVERRIDE;
+ virtual bool CanReadFile( const char* FileNameToRead ) ITK_OVERRIDE;
/*-------- This part of the interfaces deals with writing data. ----- */
virtual void WriteImageInformation(bool keepOfStream) {;}
- virtual void WriteImageInformation() { WriteImageInformation(false); }
- virtual bool CanWriteFile(const char* FileNameToWrite);
- virtual void Write(const void* buffer);
+ virtual void WriteImageInformation() ITK_OVERRIDE { WriteImageInformation(false); }
+ virtual bool CanWriteFile(const char* FileNameToWrite) ITK_OVERRIDE;
+ virtual void Write(const void* buffer) ITK_OVERRIDE;
protected:
void ITKError(std::string funcName, int msgID);
typedef itk::SmartPointer<const Self> ConstPointer;
/** Class methods used to interface with the registered factories. */
- const char* GetITKSourceVersion(void) const {
+ const char* GetITKSourceVersion(void) const ITK_OVERRIDE {
return ITK_SOURCE_VERSION;
}
- const char* GetDescription(void) const {
+ const char* GetDescription(void) const ITK_OVERRIDE {
return "Xdr ImageIO Factory, allows the loading of Xdr images into insight";
}
itkTypeMacro(EdfImageIO, ImageIOBase);
/*-------- This part of the interface deals with reading data. ------ */
- virtual void ReadImageInformation();
+ virtual void ReadImageInformation() ITK_OVERRIDE;
- virtual bool CanReadFile( const char* FileNameToRead );
+ virtual bool CanReadFile( const char* FileNameToRead ) ITK_OVERRIDE;
- virtual void Read(void * buffer);
+ virtual void Read(void * buffer) ITK_OVERRIDE;
/*-------- This part of the interfaces deals with writing data. ----- */
virtual void WriteImageInformation(bool keepOfStream);
- virtual void WriteImageInformation() {
+ virtual void WriteImageInformation() ITK_OVERRIDE {
WriteImageInformation(false);
}
- virtual bool CanWriteFile(const char* filename);
+ virtual bool CanWriteFile(const char* filename) ITK_OVERRIDE;
- virtual void Write(const void* buffer);
+ virtual void Write(const void* buffer) ITK_OVERRIDE;
protected:
std::string m_BinaryFileName;
typedef itk::SmartPointer<const Self> ConstPointer;
/** Class methods used to interface with the registered factories. */
- const char* GetITKSourceVersion(void) const {
+ const char* GetITKSourceVersion(void) const ITK_OVERRIDE {
return ITK_SOURCE_VERSION;
}
- const char* GetDescription(void) const {
+ const char* GetDescription(void) const ITK_OVERRIDE {
return "Edf ImageIO Factory, allows the loading of Edf images into insight";
}
itkTypeMacro(HisImageIO, itk::ImageIOBase);
/*-------- This part of the interface deals with reading data. ------ */
- virtual void ReadImageInformation();
+ virtual void ReadImageInformation() ITK_OVERRIDE;
- virtual bool CanReadFile( const char* FileNameToRead );
+ virtual bool CanReadFile( const char* FileNameToRead ) ITK_OVERRIDE;
- virtual void Read(void * buffer);
+ virtual void Read(void * buffer) ITK_OVERRIDE;
/*-------- This part of the interfaces deals with writing data. ----- */
virtual void WriteImageInformation(bool /*keepOfStream*/) {
;
}
- virtual void WriteImageInformation() {
+ virtual void WriteImageInformation() ITK_OVERRIDE {
WriteImageInformation(false);
}
- virtual bool CanWriteFile(const char* filename);
+ virtual bool CanWriteFile(const char* filename) ITK_OVERRIDE;
- virtual void Write(const void* buffer);
+ virtual void Write(const void* buffer) ITK_OVERRIDE;
protected:
int m_HeaderSize;
typedef itk::SmartPointer<const Self> ConstPointer;
/** Class methods used to interface with the registered factories. */
- const char* GetITKSourceVersion(void) const {
+ const char* GetITKSourceVersion(void) const ITK_OVERRIDE {
return ITK_SOURCE_VERSION;
}
- const char* GetDescription(void) const {
+ const char* GetDescription(void) const ITK_OVERRIDE {
return "His ImageIO Factory, allows the loading of His images into insight";
}
itkTypeMacro(HndImageIO, itk::ImageIOBase);
/*-------- This part of the interface deals with reading data. ------ */
- virtual void ReadImageInformation();
+ virtual void ReadImageInformation() ITK_OVERRIDE;
- virtual bool CanReadFile( const char* FileNameToRead );
+ virtual bool CanReadFile( const char* FileNameToRead ) ITK_OVERRIDE;
- virtual void Read(void * buffer);
+ virtual void Read(void * buffer) ITK_OVERRIDE;
/*-------- This part of the interfaces deals with writing data. ----- */
virtual void WriteImageInformation(bool /*keepOfStream*/) { }
- virtual void WriteImageInformation() { WriteImageInformation(false); }
+ virtual void WriteImageInformation() ITK_OVERRIDE { WriteImageInformation(false); }
- virtual bool CanWriteFile(const char* filename);
+ virtual bool CanWriteFile(const char* filename) ITK_OVERRIDE;
- virtual void Write(const void* buffer);
+ virtual void Write(const void* buffer) ITK_OVERRIDE;
}; // end class HndImageIO
typedef itk::SmartPointer<const Self> ConstPointer;
/** Class methods used to interface with the registered factories. */
- const char* GetITKSourceVersion(void) const {
+ const char* GetITKSourceVersion(void) const ITK_OVERRIDE {
return ITK_SOURCE_VERSION;
}
- const char* GetDescription(void) const {
+ const char* GetDescription(void) const ITK_OVERRIDE {
return "His ImageIO Factory, allows the loading of His images into insight";
}
itkTypeMacro(ImagXImageIO, ImageIOBase);
/*-------- This part of the interface deals with reading data. ------ */
- virtual void ReadImageInformation();
+ virtual void ReadImageInformation() ITK_OVERRIDE;
- virtual bool CanReadFile( const char* FileNameToRead );
+ virtual bool CanReadFile( const char* FileNameToRead ) ITK_OVERRIDE;
- virtual void Read(void * buffer);
+ virtual void Read(void * buffer) ITK_OVERRIDE;
/*-------- This part of the interfaces deals with writing data. ----- */
virtual void WriteImageInformation(bool keepOfStream);
- virtual void WriteImageInformation() { WriteImageInformation(false); }
- virtual bool CanWriteFile(const char* filename);
+ virtual void WriteImageInformation() ITK_OVERRIDE { WriteImageInformation(false); }
+ virtual bool CanWriteFile(const char* filename) ITK_OVERRIDE;
- virtual void Write(const void* buffer);
+ virtual void Write(const void* buffer) ITK_OVERRIDE;
protected:
std::string m_RawFileName;
typedef itk::SmartPointer<const Self> ConstPointer;
/** Class methods used to interface with the registered factories. */
- const char* GetITKSourceVersion(void) const {
+ const char* GetITKSourceVersion(void) const ITK_OVERRIDE {
return ITK_SOURCE_VERSION;
}
- const char* GetDescription(void) const {
+ const char* GetDescription(void) const ITK_OVERRIDE {
return "ImagX ImageIO Factory, allows the loading of ImagX images into insight";
}
itkNewMacro(Self);
/** Determine if a file can be read */
- int CanReadFile(const char* name);
+ int CanReadFile(const char* name) ITK_OVERRIDE;
protected:
ImagXXMLFileReader() {m_OutputObject = &m_Dictionary;}
virtual ~ImagXXMLFileReader() {}
- virtual void StartElement(const char * name,const char **atts);
+ virtual void StartElement(const char * name,const char **atts) ITK_OVERRIDE;
- virtual void EndElement(const char *name);
+ virtual void EndElement(const char *name) ITK_OVERRIDE;
- void CharacterDataHandler(const char *inData, int inLength);
+ void CharacterDataHandler(const char *inData, int inLength) ITK_OVERRIDE;
private:
ImagXXMLFileReader(const Self&); //purposely not implemented
itkTypeMacro(XRadImageIO, ImageIOBase);
/*-------- This part of the interface deals with reading data. ------ */
- virtual void ReadImageInformation();
+ virtual void ReadImageInformation() ITK_OVERRIDE;
- virtual bool CanReadFile( const char* FileNameToRead );
+ virtual bool CanReadFile( const char* FileNameToRead ) ITK_OVERRIDE;
- virtual void Read(void * buffer);
+ virtual void Read(void * buffer) ITK_OVERRIDE;
/*-------- This part of the interfaces deals with writing data. ----- */
virtual void WriteImageInformation(bool keepOfStream);
- virtual void WriteImageInformation() {
+ virtual void WriteImageInformation() ITK_OVERRIDE {
WriteImageInformation(false);
}
- virtual bool CanWriteFile(const char* filename);
+ virtual bool CanWriteFile(const char* filename) ITK_OVERRIDE;
- virtual void Write(const void* buffer);
+ virtual void Write(const void* buffer) ITK_OVERRIDE;
protected:
typedef itk::SmartPointer<const Self> ConstPointer;
/** Class methods used to interface with the registered factories. */
- const char* GetITKSourceVersion(void) const {
+ const char* GetITKSourceVersion(void) const ITK_OVERRIDE {
return ITK_SOURCE_VERSION;
}
- const char* GetDescription(void) const {
+ const char* GetDescription(void) const ITK_OVERRIDE {
return "XRad ImageIO Factory, allows the loading of XRad images into insight";
}
}
- virtual void GenerateInputRequestedRegion() throw(InvalidRequestedRegionError);
- void EnlargeOutputRequestedRegion (DataObject * output);
+ virtual void GenerateInputRequestedRegion() ITK_OVERRIDE throw(InvalidRequestedRegionError);
+ void EnlargeOutputRequestedRegion (DataObject * output) ITK_OVERRIDE;
protected:
RelativePositionPropImageFilter()
m_VerboseProgress = false;
}
virtual ~RelativePositionPropImageFilter() {}
- void PrintSelf(std::ostream& os, Indent indent) const;
+ void PrintSelf(std::ostream& os, Indent indent) ITK_OVERRIDE const;
//void GenerateThreadedData(const typename TOutputImage::RegionType& outputRegionForThread, int threadId);
- void GenerateData();
+ void GenerateData() ITK_OVERRIDE;
private:
RelativePositionPropImageFilter(const Self&); //purposely not implemented
/** Run-time type information (and related methods). */
itkTypeMacro(AddRelativePositionConstraintToLabelImageFilter, ImageToImageFilter);
- FILTERBASE_INIT;
+ FILTERBASE_INIT ITK_OVERRIDE;
/** Some convenient typedefs. */
typedef typename ImageType::ConstPointer ImageConstPointer;
} OrientationTypeEnumeration;
/** Input : initial image and object */
- void SetInput(const ImageType * image);
+ void SetInput(const ImageType * image) ITK_OVERRIDE;
void SetInputObject(const ImageType * image);
// Options
typename FloatImageType::Pointer GetFuzzyMap() { return m_FuzzyMap; }
// I dont want to verify inputs information
- virtual void VerifyInputInformation() { }
+ virtual void VerifyInputInformation() ITK_OVERRIDE { }
// For debug
void PrintOptions();
double m_Radius;
double m_K1;
- virtual void GenerateOutputInformation();
- virtual void GenerateInputRequestedRegion();
- virtual void GenerateData();
+ virtual void GenerateOutputInformation() ITK_OVERRIDE;
+ virtual void GenerateInputRequestedRegion() ITK_OVERRIDE;
+ virtual void GenerateData() ITK_OVERRIDE;
typedef itk::PasteImageFilter<ImageType,ImageType> PasteFilterType;
typedef itk::PasteImageFilter<FloatImageType,FloatImageType> PasteFloatFilterType;
typedef long LabelType;
/** Connect one of the operands for pixel-wise addition */
- void SetInput( const ImageType * image);
+ void SetInput( const ImageType * image) ITK_OVERRIDE;
// LabelImage information (BG)
void SetBackgroundValue(ImagePixelType p);
AutoCropFilter();
virtual ~AutoCropFilter() {}
- virtual void GenerateOutputInformation();
- virtual void GenerateData();
+ virtual void GenerateOutputInformation() ITK_OVERRIDE;
+ virtual void GenerateData() ITK_OVERRIDE;
ImagePixelType m_BackgroundValue;
ImageRegionType m_Region;
itkStaticConstMacro(OutputImageDimension, unsigned int, TOutputImage::ImageDimension);
// I dont want to verify inputs information
- virtual void VerifyInputInformation() { }
+ virtual void VerifyInputInformation() ITK_OVERRIDE { }
protected:
BooleanOperatorLabelImageFilter();
virtual ~BooleanOperatorLabelImageFilter() {}
- virtual void GenerateOutputInformation();
- virtual void GenerateInputRequestedRegion();
- virtual void GenerateData();
+ virtual void GenerateOutputInformation() ITK_OVERRIDE;
+ virtual void GenerateInputRequestedRegion() ITK_OVERRIDE;
+ virtual void GenerateData() ITK_OVERRIDE;
// Do not release date to keep input in memory and continue ...
- virtual void ReleaseInputs() { }
+ virtual void ReleaseInputs() ITK_OVERRIDE { }
Input1ImagePixelType mBackgroundValue1;
Input2ImagePixelType mBackgroundValue2;
itkStaticConstMacro(ImageDimension, unsigned int, ImageType::ImageDimension);
// I dont want to verify inputs information
- virtual void VerifyInputInformation() { }
+ virtual void VerifyInputInformation() ITK_OVERRIDE { }
protected:
CropLikeImageFilter();
virtual ~CropLikeImageFilter() {}
- virtual void GenerateOutputInformation();
- virtual void GenerateData();
- virtual void GenerateInputRequestedRegion();
+ virtual void GenerateOutputInformation() ITK_OVERRIDE;
+ virtual void GenerateData() ITK_OVERRIDE;
+ virtual void GenerateInputRequestedRegion() ITK_OVERRIDE;
PixelType m_BackgroundValue;
RegionType m_OutputRegion;
/** Run-time type information (and related methods). */
itkTypeMacro(ExtractSliceFilter, ImageToImageFilter);
- FILTERBASE_INIT;
+ FILTERBASE_INIT ITK_OVERRIDE;
/** Input : initial image and object */
- void SetInput(const ImageType * image);
+ void SetInput(const ImageType * image) ITK_OVERRIDE;
// Options
itkGetConstMacro(Direction, int);
int m_Direction;
- virtual void GenerateOutputInformation();
- virtual void GenerateInputRequestedRegion();
- virtual void GenerateData();
+ virtual void GenerateOutputInformation() ITK_OVERRIDE;
+ virtual void GenerateInputRequestedRegion() ITK_OVERRIDE;
+ virtual void GenerateData() ITK_OVERRIDE;
int m_NumberOfSlices;
ImagePointer input;
public itk::PasteImageFilter< TInputImage, TSourceImage, TOutputImage >
{
public:
- virtual void VerifyInputInformation() { }
+ virtual void VerifyInputInformation() ITK_OVERRIDE { }
/** Standard class typedefs. */
typedef PasteImageFilter Self;
(itk::Concept::SameDimension<InputImageDimension, OutputImageDimension>));
/** Input : image to resample */
- void SetInput(const InputImageType * image);
+ void SetInput(const InputImageType * image) ITK_OVERRIDE;
/** ImageDimension constants */
itkStaticConstMacro(ImageDimension, unsigned int, InputImageType::ImageDimension);
bool m_VerboseOptions;
OutputImageRegionType m_OutputRegion;
- virtual void GenerateInputRequestedRegion();
- virtual void GenerateOutputInformation();
- virtual void GenerateData();
+ virtual void GenerateInputRequestedRegion() ITK_OVERRIDE;
+ virtual void GenerateOutputInformation() ITK_OVERRIDE;
+ virtual void GenerateData() ITK_OVERRIDE;
private:
ResampleImageWithOptionsFilter(const Self&); //purposely not implemented
SetBackgroundImageFilter() {}
virtual ~SetBackgroundImageFilter() {}
- void PrintSelf(std::ostream &os, itk::Indent indent) const
+ void PrintSelf(std::ostream &os, itk::Indent indent) ITK_OVERRIDE const
{
Superclass::PrintSelf(os, indent);
os << indent << "OutsideValue: " << this->GetOutsideValue() << std::endl;
/** Run-time type information (and related methods). */
itkTypeMacro(SliceBySliceRelativePositionFilter, ImageToImageFilter);
- FILTERBASE_INIT;
+ FILTERBASE_INIT ITK_OVERRIDE;
/** ImageDimension constants */
itkStaticConstMacro(ImageDimension, unsigned int, ImageType::ImageDimension);
typedef typename RelPosFilterType::OrientationTypeEnumeration OrientationTypeEnumeration;
/** Input : initial image and object */
- void SetInput(const ImageType * image);
+ void SetInput(const ImageType * image) ITK_OVERRIDE;
void SetInputObject(const ImageType * image);
// Options
SliceBySliceRelativePositionFilter();
virtual ~SliceBySliceRelativePositionFilter() {}
- virtual void GenerateOutputInformation();
- virtual void GenerateInputRequestedRegion();
- virtual void GenerateData();
+ virtual void GenerateOutputInformation() ITK_OVERRIDE;
+ virtual void GenerateInputRequestedRegion() ITK_OVERRIDE;
+ virtual void GenerateData() ITK_OVERRIDE;
ImagePointer input;
ImagePointer object;
void SetSplineOrders(const SizeType & SplineOrders);
/** Set the input image. This must be set by the user. */
- virtual void SetInputImage(const TImageType * inputData);
+ virtual void SetInputImage(const TImageType * inputData) ITK_OVERRIDE;
/** Evaluate the function at a ContinuousIndex position.
Overwritten for taking LUT into account (RP: multi-threading-compatible version,
the threadID is actually ignored) */
- virtual OutputType EvaluateAtContinuousIndex(const ContinuousIndexType & index, unsigned int /* threadID */ ) const
+ virtual OutputType EvaluateAtContinuousIndex(const ContinuousIndexType & index, unsigned int /* threadID */ ) ITK_OVERRIDE const
{
return this->EvaluateAtContinuousIndex( index );
}
/** Evaluate the function at a ContinuousIndex position.
Overwritten for taking LUT into account */
- virtual OutputType EvaluateAtContinuousIndex(const ContinuousIndexType & index ) const;
+ virtual OutputType EvaluateAtContinuousIndex(const ContinuousIndexType & index ) ITK_OVERRIDE const;
/** Static convenient functions to compute BSpline weights for
various order, dimension, sampling ... **/
}
}
- virtual void GenerateOutputInformation();
- virtual void GenerateInputRequestedRegion();
+ virtual void GenerateOutputInformation() ITK_OVERRIDE;
+ virtual void GenerateInputRequestedRegion() ITK_OVERRIDE;
/** ImageDimension constants */
itkStaticConstMacro(
* \sa ImageToImageFilter::ThreadedGenerateData(),
* ImageToImageFilter::GenerateData() */
void ThreadedGenerateData(const OutputImageRegionType& outputRegionForThread,
- itk::ThreadIdType threadId );
+ itk::ThreadIdType threadId ) ITK_OVERRIDE;
private:
FlexibleBinaryFunctorImageFilter(const Self&); //purposely not implemented