Skip to content
Snippets Groups Projects
Commit 37d5099b authored by Otmane Lahlou's avatar Otmane Lahlou
Browse files

ENH : suppress uncessary overload methods

parent 8f834318
No related branches found
No related tags found
No related merge requests found
......@@ -72,8 +72,8 @@ public:
/** Accessor type that convert data between internal and external
* representations. */
typedef itk::DefaultPixelAccessor< PixelType > AccessorType;
typedef itk::DefaultPixelAccessorFunctor< Self > AccessorFunctorType;
//typedef itk::DefaultPixelAccessor< PixelType > AccessorType;
//typedef itk::DefaultPixelAccessorFunctor< Self > AccessorFunctorType;
/** Tyepdef for the functor used to access a neighborhood of pixel pointers.*/
typedef itk::NeighborhoodAccessorFunctor< Self >
......@@ -120,16 +120,16 @@ public:
typedef typename Superclass::OffsetValueType OffsetValueType;
/** Return the Pixel Accessor object */
AccessorType GetPixelAccessor( void )
{
return AccessorType();
}
/** Return the Pixel Accesor object */
const AccessorType GetPixelAccessor( void ) const
{
return AccessorType();
}
// AccessorType GetPixelAccessor( void )
// {
// return AccessorType();
// }
// /** Return the Pixel Accesor object */
// const AccessorType GetPixelAccessor( void ) const
// {
// return AccessorType();
// }
/** Return the NeighborhoodAccessor functor */
NeighborhoodAccessorFunctorType GetNeighborhoodAccessor()
......
......@@ -71,7 +71,7 @@ public:
/** Accessor type that convert data between internal and external
* representations. */
typedef itk::DefaultVectorPixelAccessor< InternalPixelType > AccessorType;
//typedef itk::DefaultVectorPixelAccessor< InternalPixelType > AccessorType;
/** Functor to provide a common API between DefaultPixelAccessor and
* DefaultVectorPixelAccessor */
......@@ -151,16 +151,16 @@ public:
void PrintSelf(std::ostream& os, itk::Indent indent) const;
/** Return the Pixel Accessor object */
AccessorType GetPixelAccessor( void )
{
return AccessorType( this->GetNumberOfComponentsPerPixel() );
}
/** Return the Pixel Accesor object */
const AccessorType GetPixelAccessor( void ) const
{
return AccessorType( this->GetNumberOfComponentsPerPixel() );
}
// AccessorType GetPixelAccessor( void )
// {
// return AccessorType( this->GetNumberOfComponentsPerPixel() );
// }
// /** Return the Pixel Accesor object */
// const AccessorType GetPixelAccessor( void ) const
// {
// return AccessorType( this->GetNumberOfComponentsPerPixel() );
// }
/** Return the NeighborhoodAccessor functor */
NeighborhoodAccessorFunctorType GetNeighborhoodAccessor()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment