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
9225132b
Commit
9225132b
authored
Jul 18, 2016
by
Stéphane Albert
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
REFAC: Improved otb::ViewSettings constructor.
parent
bc422687
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
15 deletions
+15
-15
Modules/Visualization/Ice/include/otbViewSettings.h
Modules/Visualization/Ice/include/otbViewSettings.h
+6
-6
Modules/Visualization/Ice/src/otbViewSettings.cxx
Modules/Visualization/Ice/src/otbViewSettings.cxx
+9
-9
No files found.
Modules/Visualization/Ice/include/otbViewSettings.h
View file @
9225132b
...
...
@@ -148,15 +148,15 @@ private:
ViewSettings
(
const
Self
&
);
void
operator
=
(
const
Self
&
);
PointType
m_Origin
;
PointType
m_Origin
;
SpacingType
m_Spacing
;
SizeType
m_ViewportSize
;
SizeType
m_ViewportSize
;
std
::
string
m_Wkt
;
KeywordListType
m_KeywordList
;
bool
m_UseProjection
;
bool
m_GeometryChanged
;
PointType
m_RotationCenter
;
double
m_RotationAngle
;
PointType
m_RotationCenter
;
double
m_RotationAngle
;
bool
m_UseProjection
:
1
;
bool
m_GeometryChanged
:
1
;
};
// End class ViewSettings
...
...
Modules/Visualization/Ice/src/otbViewSettings.cxx
View file @
9225132b
...
...
@@ -22,16 +22,16 @@
namespace
otb
{
ViewSettings
::
ViewSettings
()
ViewSettings
::
ViewSettings
()
:
m_Wkt
(
""
),
m_RotationAngle
(
0.0
),
m_UseProjection
(
true
),
m_GeometryChanged
(
false
)
{
m_Origin
.
Fill
(
0
);
m_Spacing
.
Fill
(
1
);
m_ViewportSize
.
Fill
(
0
);
m_Wkt
=
""
;
m_UseProjection
=
true
;
m_GeometryChanged
=
false
;
m_RotationCenter
.
Fill
(
0
);
m_RotationAngle
=
0
;
m_Origin
.
Fill
(
0
);
m_Spacing
.
Fill
(
1
);
m_ViewportSize
.
Fill
(
0
);
m_RotationCenter
.
Fill
(
0
);
}
ViewSettings
::~
ViewSettings
()
...
...
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