Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
ctk_framework
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
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
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
Amos Yang
ctk_framework
Commits
03bc7ae4
Commit
03bc7ae4
authored
14 years ago
by
Stephen R. Aylward
Browse files
Options
Downloads
Plain Diff
Merge branch 'QImageViewAnnotations'
parents
f77b76aa
4cb740c2
No related branches found
No related tags found
No related merge requests found
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Libs/Widgets/ctkQImageView.cpp
+378
-51
378 additions, 51 deletions
Libs/Widgets/ctkQImageView.cpp
Libs/Widgets/ctkQImageView.h
+11
-5
11 additions, 5 deletions
Libs/Widgets/ctkQImageView.h
with
389 additions
and
56 deletions
Libs/Widgets/ctkQImageView.cpp
+
378
−
51
View file @
03bc7ae4
This diff is collapsed.
Click to expand it.
Libs/Widgets/ctkQImageView.h
+
11
−
5
View file @
03bc7ae4
...
...
@@ -51,6 +51,7 @@ public:
double
xSpacing
(
void
);
double
ySpacing
(
void
);
double
sliceSpacing
(
void
);
double
sliceThickness
(
void
);
double
xPosition
(
void
);
...
...
@@ -64,8 +65,10 @@ public:
int
sliceNumber
(
void
)
const
;
int
numberOfSlices
(
void
)
const
;
double
intensityWindowMin
(
void
)
const
;
double
intensityWindowMax
(
void
)
const
;
double
intensityWindow
(
void
)
const
;
double
intensityLevel
(
void
)
const
;
bool
invertImage
(
void
)
const
;
bool
flipXAxis
(
void
)
const
;
bool
flipYAxis
(
void
)
const
;
...
...
@@ -80,8 +83,9 @@ public slots:
void
setSliceNumber
(
int
slicenum
);
void
setIntensityWindow
(
double
iw
M
in
,
double
iw
Max
);
void
setIntensityWindow
Level
(
double
iw
W
in
dow
,
double
iw
Level
);
void
setInvertImage
(
bool
invert
);
void
setFlipXAxis
(
bool
flip
);
void
setFlipYAxis
(
bool
flip
);
void
setTransposeXY
(
bool
transpose
);
...
...
@@ -121,12 +125,14 @@ signals:
void
numberOfSlicesChanged
(
int
numberOfSlices
);
void
invertImageChanged
(
bool
invert
);
void
flipXAxisChanged
(
bool
flipXAxis
);
void
flipYAxisChanged
(
bool
flipYAxis
);
void
transposeXYChanged
(
bool
transposeXY
);
void
intensityWindow
Min
Changed
(
double
intensityWindow
Min
);
void
intensity
WindowMax
Changed
(
double
intensity
WindowMax
);
void
intensityWindowChanged
(
double
intensityWindow
);
void
intensity
Level
Changed
(
double
intensity
Level
);
protected:
...
...
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