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
d8d884a9
Commit
d8d884a9
authored
17 years ago
by
Cyrille Valladeau
Browse files
Options
Downloads
Patches
Plain Diff
Ajout des methodes sur les accesseurs et de la definition de WeakPointerType.
MERCI JULIEEEEEEEEEEEEEEEEN.
parent
e66f88d5
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Code/IO/otbVectorImage.h
+17
-0
17 additions, 0 deletions
Code/IO/otbVectorImage.h
with
17 additions
and
0 deletions
Code/IO/otbVectorImage.h
+
17
−
0
View file @
d8d884a9
...
...
@@ -49,6 +49,7 @@ public:
typedef
itk
::
VectorImage
<
TPixel
,
VImageDimension
>
Superclass
;
typedef
itk
::
SmartPointer
<
Self
>
Pointer
;
typedef
itk
::
SmartPointer
<
const
Self
>
ConstPointer
;
typedef
itk
::
WeakPointer
<
const
Self
>
ConstWeakPointer
;
typedef
ImageBase
::
VectorType
VectorType
;
typedef
ImageBase
::
ImageKeywordlistType
ImageKeywordlistType
;
...
...
@@ -154,6 +155,22 @@ 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
()
);
}
/** Return the NeighborhoodAccessor functor */
NeighborhoodAccessorFunctorType
GetNeighborhoodAccessor
()
{
return
NeighborhoodAccessorFunctorType
(
this
->
GetNumberOfComponentsPerPixel
()
);
}
/** Return the NeighborhoodAccessor functor */
const
NeighborhoodAccessorFunctorType
GetNeighborhoodAccessor
()
const
{
return
NeighborhoodAccessorFunctorType
(
this
->
GetNumberOfComponentsPerPixel
());
}
protected
:
VectorImage
();
virtual
~
VectorImage
(){};
...
...
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