Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
ogs
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
Karsten Rink
ogs
Commits
a3dfb67b
Commit
a3dfb67b
authored
4 years ago
by
Tom Fischer
Browse files
Options
Downloads
Patches
Plain Diff
[A/DE/VtkVis] Raster: Rm. unused private function.
parent
3add7b9d
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
Applications/DataExplorer/VtkVis/VtkRaster.cpp
+0
-10
0 additions, 10 deletions
Applications/DataExplorer/VtkVis/VtkRaster.cpp
Applications/DataExplorer/VtkVis/VtkRaster.h
+0
-3
0 additions, 3 deletions
Applications/DataExplorer/VtkVis/VtkRaster.h
with
0 additions
and
13 deletions
Applications/DataExplorer/VtkVis/VtkRaster.cpp
+
0
−
10
View file @
a3dfb67b
...
...
@@ -388,13 +388,3 @@ bool VtkRaster::readWorldFile(std::string const& filename,
image
->
SetDataOrigin
(
x0
,
vtk_y0
,
0
);
return
true
;
}
void
VtkRaster
::
uint32toRGBA
(
const
unsigned
int
s
,
int
*
p
)
{
p
[
3
]
=
s
/
(
256
*
256
*
256
);
int
r
=
s
%
(
256
*
256
*
256
);
p
[
2
]
=
r
/
(
256
*
256
);
r
%=
(
256
*
256
);
p
[
1
]
=
r
/
256
;
p
[
0
]
=
r
%
256
;
}
This diff is collapsed.
Click to expand it.
Applications/DataExplorer/VtkVis/VtkRaster.h
+
0
−
3
View file @
a3dfb67b
...
...
@@ -72,7 +72,4 @@ private:
* BMP/JPG/PNG-file and create a RasterHeader for the image.
*/
static
bool
readWorldFile
(
std
::
string
const
&
filename
,
vtkImageReader2
*
image
);
/// Converts an uint32-number into a quadruple representing RGBA-colours for a pixel.
static
void
uint32toRGBA
(
const
unsigned
int
s
,
int
*
p
);
};
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