Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
otb
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Main Repositories
otb
Commits
37d5099b
Commit
37d5099b
authored
15 years ago
by
Otmane Lahlou
Browse files
Options
Downloads
Patches
Plain Diff
ENH : suppress uncessary overload methods
parent
8f834318
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Code/IO/otbImage.h
+12
-12
12 additions, 12 deletions
Code/IO/otbImage.h
Code/IO/otbVectorImage.h
+11
-11
11 additions, 11 deletions
Code/IO/otbVectorImage.h
with
23 additions
and
23 deletions
Code/IO/otbImage.h
+
12
−
12
View file @
37d5099b
...
...
@@ -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
()
...
...
This diff is collapsed.
Click to expand it.
Code/IO/otbVectorImage.h
+
11
−
11
View file @
37d5099b
...
...
@@ -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
()
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment