Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
mantid
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review 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
mantidproject
mantid
Commits
dbb4f237
Commit
dbb4f237
authored
9 years ago
by
Matthew D Jones
Browse files
Options
Downloads
Patches
Plain Diff
Re #11422 Added virtual destructors to PowerScaleEngine
parent
00d11d7a
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Code/Mantid/MantidPlot/src/plot2D/PowerScaleEngine.cpp
+4
-1
4 additions, 1 deletion
Code/Mantid/MantidPlot/src/plot2D/PowerScaleEngine.cpp
Code/Mantid/MantidPlot/src/plot2D/PowerScaleEngine.h
+3
-0
3 additions, 0 deletions
Code/Mantid/MantidPlot/src/plot2D/PowerScaleEngine.h
with
7 additions
and
1 deletion
Code/Mantid/MantidPlot/src/plot2D/PowerScaleEngine.cpp
+
4
−
1
View file @
dbb4f237
...
...
@@ -28,7 +28,6 @@
***************************************************************************/
#include
"PowerScaleEngine.h"
#include
"ScaleEngine.h"
/*!
Return a dummy transformation
...
...
@@ -38,6 +37,8 @@ QwtScaleTransformation *PowerScaleEngine::transformation() const
return
new
QwtScaleTransformation
(
QwtScaleTransformation
::
Other
);
}
PowerScaleEngine
::~
PowerScaleEngine
()
{}
/*!
Align and divide an interval
...
...
@@ -245,6 +246,8 @@ QwtScaleTransformation *PowerScaleTransformation::copy() const
return
new
PowerScaleTransformation
(
d_engine
);
}
PowerScaleTransformation
::~
PowerScaleTransformation
()
{}
/*
* Transform a value between 2 linear intervals
*
...
...
This diff is collapsed.
Click to expand it.
Code/Mantid/MantidPlot/src/plot2D/PowerScaleEngine.h
+
3
−
0
View file @
dbb4f237
...
...
@@ -41,6 +41,7 @@ public:
virtual
double
xForm
(
double
x
,
double
,
double
,
double
p1
,
double
p2
)
const
;
virtual
double
invXForm
(
double
x
,
double
s1
,
double
s2
,
double
p1
,
double
p2
)
const
;
QwtScaleTransformation
*
copy
()
const
;
virtual
~
PowerScaleTransformation
();
private
:
double
nth_power
;
};
...
...
@@ -61,6 +62,8 @@ public:
virtual
QwtScaleTransformation
*
transformation
()
const
;
virtual
~
PowerScaleEngine
();
protected:
QwtDoubleInterval
align
(
const
QwtDoubleInterval
&
,
double
stepSize
)
const
;
...
...
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