Commit 7128d2e5 authored by Julien Malik's avatar Julien Malik

COMP: fix a bunch of overloaded-virtual warning

parent 94c2cbe5
......@@ -73,6 +73,7 @@ public:
/**\name Single input GeometriesSet property */
//@{
using Superclass::SetInput;
virtual void SetInput(const InputGeometriesType *input);
const InputGeometriesType * GetInput(void);
//@}
......
......@@ -83,9 +83,6 @@ public:
typedef typename FunctionType::OutputType FunctionValueType;
typedef typename FunctionType::InputType FunctionPositionType;
/** Connect one of the operands for pixel-wise addition. */
//void SetInput( const TInputImage *image);
/** Set the internal spatial function. */
void SetFunction(FunctionType* PixelFunction)
{
......
......@@ -159,6 +159,7 @@ public:
typedef typename FunctorType::OperatorType OperatorType;
/** Set the input images of this process object. */
using Superclass::SetInput;
void SetInput(const InputImageType *input);
void SetVectorInput(const VectorInputImageType *input);
......
......@@ -64,6 +64,7 @@ public:
/** InputImage dimension constant */
itkStaticConstMacro(InputImageDimension, unsigned int, TInputImage::ImageDimension);
/** Overiding the SetInput() and GetInput() methods */
using Superclass::SetInput;
virtual void SetInput(const InputImageListType * image);
InputImageListType * GetInput(void);
......
......@@ -62,6 +62,7 @@ public:
/** InputImage dimension constant */
itkStaticConstMacro(InputImageDimension, unsigned int, TInputImage::ImageDimension);
/** Overiding the SetInput() and GetInput() methods */
using Superclass::SetInput;
virtual void SetInput(const InputImageListType * imageList);
virtual InputImageListType * GetInput(void);
......
......@@ -66,6 +66,7 @@ public:
typedef itk::DataObject::Pointer DataObjectPointer;
using Superclass::SetInput;
virtual void SetInput(const InputListType *input);
const InputListType * GetInput(void);
......
......@@ -65,6 +65,7 @@ public:
typedef itk::ProcessObject ProcessObjectType;
/** Set the input image of this process object. */
using Superclass::SetInput;
void SetInput(unsigned int idx, const InputImageType *input);
void SetInput(const InputImageType *input);
......
......@@ -60,6 +60,7 @@ public:
typedef itk::ProcessObject ProcessObjectType;
/** Set the input image of this process object. */
using Superclass::SetInput;
void SetInput(unsigned int idx, const InputPointSetType *input);
void SetInput(const InputPointSetType *input);
......
......@@ -54,6 +54,7 @@ public:
typedef itk::ProcessObject ProcessObjectType;
using Superclass::SetInput;
void SetInput(const LineSpatialObjectListType * input);
const LineSpatialObjectListType * GetInput();
......
......@@ -71,6 +71,7 @@ public:
typedef itk::ProcessObject ProcessObjectType;
/** Set/Get the input image */
using Superclass::SetInput;
void SetInput(const InputImageType *image);
const InputImageType * GetInput(void);
......
......@@ -60,6 +60,7 @@ public:
typedef itk::ProcessObject ProcessObjectType;
/** Set/Get the input image */
using Superclass::SetInput;
virtual void SetInput(const LinesListType *list);
virtual const LinesListType* GetInput(void);
......
......@@ -73,6 +73,7 @@ public:
TOutputImage::ImageDimension);
/** Set/Get the image input of this process object. */
using Superclass::SetInput;
virtual void SetInput(const InputSpatialObjectType *object);
virtual void SetInput(unsigned int, const InputSpatialObjectType * object);
const InputSpatialObjectType * GetInput(void);
......
......@@ -97,6 +97,8 @@ public:
virtual OutputPointType TransformPoint(const InputPointType & ) const
{ return OutputPointType(); }
using Superclass::TransformVector;
/** Method to transform a vector. */
virtual OutputVectorType TransformVector(const InputVectorType &) const
{ return OutputVectorType(); }
......@@ -105,6 +107,8 @@ public:
virtual OutputVnlVectorType TransformVector(const InputVnlVectorType &) const
{ return OutputVnlVectorType(); }
using Superclass::TransformCovariantVector;
/** Method to transform a CovariantVector. */
virtual OutputCovariantVectorType TransformCovariantVector(
const InputCovariantVectorType &) const
......
......@@ -66,6 +66,7 @@ public:
typedef typename Superclass::OutputImageType OutputImageType;
/** Set/Get the image input of this process object. */
using Superclass::SetInput;
virtual void SetInput(const InputImageType *input);
virtual void SetInputDirection(const InputImageDirectionType *direction);
const InputImageType * GetInput(void);
......
......@@ -169,6 +169,7 @@ public:
typedef typename RectangleListType::iterator RectangleListTypeIterator;
/** Set/Get the input image of this process object. */
using Superclass::SetInput;
virtual void SetInput(const InputImageType *input);
virtual const InputImageType * GetInput(void);
......
......@@ -71,6 +71,7 @@ public:
typedef ShapeAttributesLabelMapFilter<LabelMapType> ShapeLabelMapFilterType;
typedef BandsStatisticsAttributesLabelMapFilter<LabelMapType, InputImageType> BandStatisticsLabelMapFilterType;
using Superclass::SetInput;
virtual void SetInput( const InputImageType *image);
virtual void SetLabeledImage( const LabeledImageType * image);
const InputImageType * GetInput(void);
......
......@@ -60,6 +60,7 @@ public:
/** InputImage dimension constant */
itkStaticConstMacro(InputImageDimension, unsigned int, TInputImage::ImageDimension);
/** Overiding the SetInput() and GetInput() methods */
using Superclass::SetInput;
virtual void SetInput(const InputImageType * image);
InputImageType * GetInput(void);
......
......@@ -180,6 +180,7 @@ public:
/** Type of DataObjects used for scalar outputs */
typedef typename StatFilterType::MatrixObjectType MatrixObjectType;
using Superclass::SetInput;
void SetInput(TInputImage * input)
{
this->GetFilter()->SetInput(input);
......
......@@ -281,6 +281,7 @@ public:
typedef StreamingShrinkStreamingManager<InputImageType> StreamingShrinkStreamingManagerType;
typedef typename StreamingShrinkStreamingManagerType::Pointer StreamingShrinkStreamingManagerPointerType;
using Superclass::SetInput;
void SetInput(InputImageType * input)
{
this->GetFilter()->SetInput(input);
......
......@@ -67,6 +67,7 @@ public:
* Set The input list.
* \param imageList The analysed image at each level of the pyramid.
*/
using Superclass::SetInput;
void SetInput(InputImageListType * imageList);
/**
* Set The SupFilter details
......
......@@ -52,6 +52,7 @@ public:
/// Input image dimension
itkStaticConstMacro(InputImageDimension, unsigned int, TInputImage::ImageDimension);
/// Input image Setters and getters
using Superclass::SetInput;
virtual void SetInput(const InputImageType * Image);
const InputImageType * GetInput(void);
......
......@@ -67,6 +67,7 @@ public:
TInputImage::ImageDimension);
/** Set/Get the image input of this process object. */
using Superclass::SetInput;
virtual void SetInput(const InputImageType * image);
const InputImageType * GetInput(void);
......
......@@ -95,6 +95,7 @@ public:
public:
/** Connects the input PathList for which the histogram is going to be computed */
using Superclass::SetInput;
void SetInput(const PathListType* path);
const PathListType* GetInput() const;
......
......@@ -74,6 +74,7 @@ public:
typedef typename Superclass::OutputPathListPointerType OutputPathListPointerType;
/** Set/get the input modulus */
using Superclass::SetInput;
void SetInput(InputModulusType * inputModulus);
const InputModulusType * GetInput(void);
......
......@@ -72,6 +72,7 @@ public:
typedef typename OutputDataNodeType::PolygonType PolygonType;
/** Set input image */
using Superclass::SetInput;
void SetInput(const InputImageType *input);
/** Get input image */
......
......@@ -82,6 +82,7 @@ public:
typedef typename ListLabelType::Pointer ListLabelPointerType;
/** Connects the input image for which the sample list is going to be extracted */
using Superclass::SetInput;
void SetInput(const ImageType *);
const ImageType * GetInput() const;
......
......@@ -72,6 +72,7 @@ public:
//typedef typename Superclass::OutputSampleListObjectType OutputSampleListObjectType;
/** Method to set/get the input list sample */
using Superclass::SetInput;
void SetInput( const InputSampleListType * inputPtr );
//void SetInput( const InputSampleListObjectType * inputPtr );
......
......@@ -247,6 +247,7 @@ public:
typedef typename InternalFilterType::HistogramType HistogramType;
typedef typename InternalFilterType::HistogramListType HistogramListType;
using Superclass::SetInput;
void SetInput(InputImageType * input)
{
this->GetFilter()->SetInput(input);
......
......@@ -210,6 +210,7 @@ public:
typedef typename StatFilterType::IndexObjectType IndexObjectType;
typedef TInputImage InputImageType;
using Superclass::SetInput;
void SetInput(InputImageType * input)
{
this->GetFilter()->SetInput(input);
......
......@@ -226,6 +226,7 @@ public:
typedef typename StatFilterType::PixelObjectType PixelObjectType;
typedef typename StatFilterType::MatrixObjectType MatrixObjectType;
using Superclass::SetInput;
void SetInput(InputImageType * input)
{
this->GetFilter()->SetInput(input);
......
......@@ -250,6 +250,7 @@ public:
typedef itk::SimpleDataObjectDecorator<RealType> RealObjectType;
typedef itk::SimpleDataObjectDecorator<PixelType> PixelObjectType;
using Superclass::SetInput;
void SetInput(InputImageType * input)
{
this->GetFilter()->SetInput(input);
......
......@@ -215,6 +215,7 @@ public:
typedef typename Superclass::FilterType::LabelPopulationMapType LabelPopulationMapType;
/** Set input multispectral image */
using Superclass::SetInput;
void SetInput(const VectorImageType * input)
{
this->GetFilter()->SetInput(input);
......
......@@ -301,6 +301,7 @@ public:
typedef typename StatFilterType::InternalPixelType InternalPixelType;
using Superclass::SetInput;
void SetInput(InputImageType * input)
{
this->GetFilter()->SetInput(input);
......
......@@ -166,6 +166,7 @@ public:
typedef typename PersistentFilterType::MatrixType MatrixType;
typedef typename PersistentFilterType::MatrixObjectType MatrixObjectType;
using Superclass::SetInput;
void SetInput(InputImageType * input)
{
this->GetFilter()->SetInput(input);
......
......@@ -60,6 +60,7 @@ public:
typedef itk::DataObject::Pointer DataObjectPointer;
using Superclass::SetInput;
virtual void SetInput(const InputGISTableType *input);
const InputGISTableType * GetInput(void);
......
......@@ -72,6 +72,7 @@ public:
typedef itk::Statistics::MersenneTwisterRandomVariateGenerator RandomGeneratorType;
/** Connects the VectorData from which the extend will be extracted. */
using Superclass::SetInput;
void SetInput(const VectorDataType *);
const VectorDataType * GetInput() const;
......
......@@ -83,6 +83,7 @@ public:
typedef itk::DataObject::Pointer DataObjectPointer;
using Superclass::SetInput;
virtual void SetInput(const InputVectorDataType *input);
const InputVectorDataType * GetInput(void);
......
......@@ -96,6 +96,7 @@ public:
} RenderingStyleType;
/** Set/Get the vector data input of this process object. */
using Superclass::SetInput;
virtual void SetInput(const VectorDataType *input);
virtual void SetInput(unsigned int idx, const VectorDataType *input);
const VectorDataType * GetInput(void);
......
......@@ -118,6 +118,7 @@ public:
} RenderingStyleType;
/** Set/Get the vector data input of this process object. */
using Superclass::SetInput;
virtual void SetInput(const VectorDataType *input);
virtual void SetInput(unsigned int idx, const VectorDataType *input);
const VectorDataType * GetInput(void);
......
......@@ -71,6 +71,7 @@ public:
};
/** Method to set/get the input image */
using Superclass::SetInput;
void SetInput( const ImageType * input);
/** Returns the input image */
......
......@@ -126,6 +126,7 @@ public:
itkStaticConstMacro(InputImageDimension, unsigned int,
InputImageType::ImageDimension);
using Superclass::SetInput;
virtual void SetInput( const InputImageType *image);
virtual void SetInput( unsigned int, const TInputImage * image);
const InputImageType * GetInput(void);
......
......@@ -157,6 +157,7 @@ public:
void SetAutomaticAdaptativeStreaming(unsigned int availableRAM = 0, double bias = 1.0);
/** Set the only input of the writer */
using Superclass::SetInput;
virtual void SetInput(const InputImageType *input);
/** Get writer only input */
......
......@@ -122,6 +122,7 @@ public:
itkStaticConstMacro(InputImageDimension, unsigned int,
InputImageType::ImageDimension);
using Superclass::SetInput;
virtual void SetInput( const InputImageType *image);
virtual void SetInput( unsigned int, const TInputImage * image);
const InputImageType * GetInput(void);
......
......@@ -82,6 +82,7 @@ public:
typedef VectorDataIOBase VectorDataIOBaseType;
/** Set/Get the image input of this writer. */
using Superclass::SetInput;
void SetInput(const InputVectorDataType *input);
const InputVectorDataType * GetInput(void);
const InputVectorDataType * GetInput(unsigned int idx);
......
......@@ -62,6 +62,7 @@ public:
/** InputImage dimension constant */
itkStaticConstMacro(InputImageDimension, unsigned int, TInputImage::ImageDimension);
/** Overiding the SetInput() and GetInput() methods */
using Superclass::SetInput;
virtual void SetInput(const InputImageListType * imageList);
virtual InputImageListType * GetInput(void);
......
......@@ -109,6 +109,7 @@ public:
*/
unsigned int GetNumberOfRelations(void);
using Superclass::SetInput;
/** Set the input of the filter */
virtual void SetInput(const PolygonListType *input);
/** Get the input of the filter */
......
......@@ -89,6 +89,8 @@ public:
itkSetStringMacro(FileName);
/** Get the filename */
itkGetStringMacro(FileName);
using Superclass::SetInput;
/**
* Set the input graph.
* \param inputGraph The graph to write.
......
......@@ -93,6 +93,7 @@ public:
itkSetMacro(StartIndex, IndexType);
/** Set/Get the GISTable input of this process object. */
using Superclass::SetInput;
virtual void SetInput(const InputGISTableType *input);
virtual void SetInput(unsigned int idx, const InputGISTableType *input);
const InputGISTableType * GetInput(void);
......
......@@ -76,6 +76,7 @@ public:
VectorDataSource);
/** Set/Get the GISTable input of this process object. */
using Superclass::SetInput;
virtual void SetInput(const InputGISTableType *input);
virtual void SetInput(unsigned int idx, const InputGISTableType *input);
const InputGISTableType * GetInput(void);
......
......@@ -73,6 +73,7 @@ public:
typedef ogr::Layer OGRLayerType;
/** Set/Get the input image of this process object. */
using Superclass::SetInput;
virtual void SetInput(const InputImageType *input);
virtual const InputImageType * GetInput(void);
......
......@@ -82,6 +82,7 @@ public:
/** Set/Get the input image of this process object. */
using Superclass::SetInput;
virtual void SetInput(const InputImageType *input);
virtual const InputImageType * GetInput(void);
......
......@@ -110,6 +110,7 @@ public:
//void setConnection
/** Set/Get the LabelMap input of this process object. */
using Superclass::SetInput;
virtual void SetInput(const InputLabelMapType *input);
virtual void SetInput(unsigned int idx, const InputLabelMapType *input);
const InputLabelMapType * GetInput(void);
......
......@@ -91,6 +91,7 @@ public:
VectorDataSource);
/** Set/Get the LabelMap input of this process object. */
using Superclass::SetInput;
virtual void SetInput(const InputLabelMapType *input);
virtual void SetInput(unsigned int idx, const InputLabelMapType *input);
const InputLabelMapType * GetInput(void);
......
......@@ -99,6 +99,7 @@ public:
//void setConnection
/** Set/Get the VectorData input of this process object. */
using Superclass::SetInput;
virtual void SetInput(const InputVectorDataType *input);
virtual void SetInput(unsigned int idx, const InputVectorDataType *input);
const InputVectorDataType * GetInput(void);
......
......@@ -152,6 +152,7 @@ public:
itkGetConstReferenceMacro(Spacing, SpacingType);
/** Set/Get the Vector data input of this process object. */
using Superclass::SetInput;
virtual void SetInput(const InputVectorDataType *input);
virtual void SetInput(unsigned int idx, const InputVectorDataType *input);
const InputVectorDataType * GetInput(void);
......
......@@ -168,6 +168,7 @@ public:
;
/** Set/Get the Vector data input of this process object. */
using Superclass::SetInput;
virtual void SetInput(const InputVectorDataType *input);
virtual void SetInput(unsigned int idx, const InputVectorDataType *input);
const InputVectorDataType * GetInput(void);
......
......@@ -211,6 +211,7 @@ public:
* \param image the input image
*
*/
using Superclass::SetInput;
void SetInput(const TInputImage * image)
{
this->SetInput1(image);
......
......@@ -113,6 +113,7 @@ public:
/**
* Set the original input image
*/
using Superclass::SetInput;
void SetInput(const TInputImage * input)
{
this->SetInput1(input);
......
......@@ -78,6 +78,7 @@ public:
typedef ogr::Feature OGRFeatureType;
/** Set the input image of this process object. */
using Superclass::SetInput;
virtual void SetInput(const InputImageType *input);
/** Get the input image. */
virtual const InputImageType * GetInput(void);
......
......@@ -269,6 +269,7 @@ public:
typedef typename InputImageType::SizeType SizeType;
/** Set the input image. */
using Superclass::SetInput;
void SetInput(InputImageType * input)
{
this->GetFilter()->SetInput(input);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment