Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
otb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
273
Issues
273
List
Boards
Labels
Service Desk
Milestones
Merge Requests
8
Merge Requests
8
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Main Repositories
otb
Commits
7d3eaede
Commit
7d3eaede
authored
Feb 25, 2012
by
Julien Malik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
BUG: fix non-const Modified()
parent
630903dd
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
10 additions
and
10 deletions
+10
-10
Code/BasicFilters/otbMeanShiftImageFilter.h
Code/BasicFilters/otbMeanShiftImageFilter.h
+2
-2
Code/Common/otbImageRegionAdaptativeSplitter.h
Code/Common/otbImageRegionAdaptativeSplitter.h
+2
-2
Code/Common/otbPolyLineParametricPathWithValue.h
Code/Common/otbPolyLineParametricPathWithValue.h
+1
-1
Code/Common/otbPolyLineParametricPathWithValue.txx
Code/Common/otbPolyLineParametricPathWithValue.txx
+1
-1
Code/Common/otbPolygon.h
Code/Common/otbPolygon.h
+1
-1
Code/Common/otbPolygon.txx
Code/Common/otbPolygon.txx
+1
-1
Code/Projections/otbGenericRSTransform.h
Code/Projections/otbGenericRSTransform.h
+2
-2
No files found.
Code/BasicFilters/otbMeanShiftImageFilter.h
View file @
7d3eaede
...
...
@@ -169,7 +169,7 @@ protected:
/** Allocate the outputs (need to be reimplemented since outputs have differents type) */
virtual
void
AllocateOutputs
();
/** If modified, we have to reset the list of modes */
virtual
void
Modified
()
virtual
void
Modified
()
const
{
Superclass
::
Modified
();
m_Modes
.
clear
();
...
...
@@ -196,7 +196,7 @@ private:
/** Data scale (used to stretch data range) */
double
m_Scale
;
/** A map of the different modes by segmented regions */
ModeMapType
m_Modes
;
mutable
ModeMapType
m_Modes
;
};
}
// end namespace otb
...
...
Code/Common/otbImageRegionAdaptativeSplitter.h
View file @
7d3eaede
...
...
@@ -130,7 +130,7 @@ public:
const
RegionType
&
region
);
/** Make the Modified() method update the IsUpToDate flag */
virtual
void
Modified
()
virtual
void
Modified
()
const
{
// Call superclass implementation
Superclass
::
Modified
();
...
...
@@ -171,7 +171,7 @@ private:
StreamVectorType
m_StreamVector
;
// Is the splitter up-to-date ?
bool
m_IsUpToDate
;
mutable
bool
m_IsUpToDate
;
// Lock to ensure thread-safety
itk
::
SimpleFastMutexLock
m_Lock
;
...
...
Code/Common/otbPolyLineParametricPathWithValue.h
View file @
7d3eaede
...
...
@@ -111,7 +111,7 @@ protected:
virtual
void
ComputeLength
()
const
;
virtual
void
ComputeBoundingRegion
()
const
;
virtual
void
Modified
();
virtual
void
Modified
()
const
;
private:
PolyLineParametricPathWithValue
(
const
Self
&
);
//purposely not implemented
...
...
Code/Common/otbPolyLineParametricPathWithValue.txx
View file @
7d3eaede
...
...
@@ -193,7 +193,7 @@ PolyLineParametricPathWithValue<TValue, VDimension>
template <class TValue, unsigned int VDimension>
void
PolyLineParametricPathWithValue<TValue, VDimension>
::Modified()
::Modified()
const
{
m_LengthIsValid = false;
m_BoundingRegionIsValid = false;
...
...
Code/Common/otbPolygon.h
View file @
7d3eaede
...
...
@@ -151,7 +151,7 @@ protected:
virtual
void
PrintSelf
(
std
::
ostream
&
os
,
itk
::
Indent
indent
)
const
;
virtual
void
ComputeArea
()
const
;
virtual
void
Modified
();
virtual
void
Modified
()
const
;
private:
Polygon
(
const
Self
&
);
//purposely not implemented
...
...
Code/Common/otbPolygon.txx
View file @
7d3eaede
...
...
@@ -527,7 +527,7 @@ double Polygon<TValue>
template <class TValue>
void
Polygon<TValue>
::Modified()
::Modified()
const
{
Superclass::Modified();
m_AreaIsValid = false;
...
...
Code/Projections/otbGenericRSTransform.h
View file @
7d3eaede
...
...
@@ -190,7 +190,7 @@ protected:
GenericRSTransform
();
virtual
~
GenericRSTransform
()
{}
virtual
void
Modified
()
virtual
void
Modified
()
const
{
this
->
Superclass
::
Modified
();
m_TransformUpToDate
=
false
;
...
...
@@ -223,7 +223,7 @@ private:
GenericTransformPointerType
m_InputTransform
;
GenericTransformPointerType
m_OutputTransform
;
bool
m_TransformUpToDate
;
mutable
bool
m_TransformUpToDate
;
Projection
::
TransformAccuracy
m_TransformAccuracy
;
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment