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
53081125
Commit
53081125
authored
Jan 04, 2012
by
OTB Bot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
STYLE
parent
8d977e77
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
9 deletions
+9
-9
Code/Visualization/Viewer/Model/otbViewerModel.cxx
Code/Visualization/Viewer/Model/otbViewerModel.cxx
+4
-4
Code/Visualization/Viewer/Model/otbViewerModel.h
Code/Visualization/Viewer/Model/otbViewerModel.h
+4
-4
Code/Visualization/Viewer/View/otbViewerViewGUI.cxx
Code/Visualization/Viewer/View/otbViewerViewGUI.cxx
+1
-1
No files found.
Code/Visualization/Viewer/Model/otbViewerModel.cxx
View file @
53081125
...
...
@@ -114,8 +114,8 @@ ViewerModel
void
ViewerModel
::
GetJPEG2000ResolutionAndInformations
(
const
std
::
string
&
filepath
,
std
::
vector
<
unsigned
int
>&
res
,
::
GetJPEG2000ResolutionAndInformations
(
const
std
::
string
&
filepath
,
std
::
vector
<
unsigned
int
>&
res
,
std
::
vector
<
std
::
string
>
&
desc
)
{
#ifdef OTB_USE_JPEG2000
...
...
@@ -373,8 +373,8 @@ ViewerModel
ViewerModel
::
WidgetControllerPointerType
ViewerModel
::
BuiltController
(
VisuModelPointerType
modelRenderingLayer
,
VisuViewPointerType
visuView
,
::
BuiltController
(
VisuModelPointerType
modelRenderingLayer
,
VisuViewPointerType
visuView
,
PixelDescriptionModelPointerType
pixelModel
)
{
WidgetControllerPointerType
controller
=
WidgetControllerType
::
New
();
...
...
Code/Visualization/Viewer/Model/otbViewerModel.h
View file @
53081125
...
...
@@ -181,8 +181,8 @@ public:
std
::
vector
<
unsigned
int
>
GetJPEG2000Resolution
(
const
std
::
string
&
filepath
);
// If the file is JPEG2000, the function will find the available
// resolutions and informations
void
GetJPEG2000ResolutionAndInformations
(
const
std
::
string
&
filepath
,
std
::
vector
<
unsigned
int
>&
res
,
void
GetJPEG2000ResolutionAndInformations
(
const
std
::
string
&
filepath
,
std
::
vector
<
unsigned
int
>&
res
,
std
::
vector
<
std
::
string
>
&
desc
);
protected:
...
...
@@ -197,8 +197,8 @@ protected:
/** Built Visu & Controller*/
virtual
VisuViewPointerType
BuiltVisu
(
VisuModelPointerType
pRendering
);
virtual
WidgetControllerPointerType
BuiltController
(
VisuModelPointerType
modelRenderingLayer
,
VisuViewPointerType
visuView
,
virtual
WidgetControllerPointerType
BuiltController
(
VisuModelPointerType
modelRenderingLayer
,
VisuViewPointerType
visuView
,
PixelDescriptionModelType
::
Pointer
pixelModel
);
private:
...
...
Code/Visualization/Viewer/View/otbViewerViewGUI.cxx
View file @
53081125
...
...
@@ -1359,7 +1359,7 @@ ViewerViewGUI
for
(
unsigned
int
p
=
0
;
p
<
tempElementToRemove
.
size
();
p
++
)
{
// counter because the size of the list is decreasing after each iteration
m_LinkedImageList
.
erase
(
m_LinkedImageList
.
begin
()
+
tempElementToRemove
[
p
]
-
counter
);
m_LinkedImageList
.
erase
(
m_LinkedImageList
.
begin
()
+
tempElementToRemove
[
p
]
-
counter
);
counter
++
;
}
...
...
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