Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
newimage
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
Container Registry
Model registry
Operate
Environments
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
FSL
newimage
Commits
bcaddf31
Commit
bcaddf31
authored
2 months ago
by
Paul McCarthy
Browse files
Options
Downloads
Patches
Plain Diff
MNT: More useful error messages
parent
e22bda30
No related branches found
No related tags found
1 merge request
!43
BF: Use `volume` extrapolation getters rather than fields, as the fields may not have been initialised on `ShadowVolume` instances, whereas the getters will delegate to the owning volume
Pipeline
#27053
passed
2 months ago
Stage: fsl-ci-build
Changes
1
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
newimage.cc
+9
-9
9 additions, 9 deletions
newimage.cc
with
9 additions
and
9 deletions
newimage.cc
+
9
−
9
View file @
bcaddf31
...
...
@@ -2600,23 +2600,23 @@ vector<T> calculateExtrema(const volume<T>& inputVolume, vector<int64_t>& coordi
// Attempts to change interp/extrap settings
// on a ShadowVolume will result in an error
template
<
typename
T
>
void
ShadowVolume
<
T
>::
setinterpolationmethod
(
interpolation
interp
)
{
imthrow
(
"Called private shadow method"
,
101
);
}
{
imthrow
(
"Called private shadow method
setinterpolationmethod
"
,
101
);
}
template
<
typename
T
>
void
ShadowVolume
<
T
>::
setextrapolationmethod
(
extrapolation
extrapmethod
)
const
{
imthrow
(
"Called private shadow method"
,
101
);
}
{
imthrow
(
"Called private shadow method
setextrapolationmethod
"
,
101
);
}
template
<
typename
T
>
void
ShadowVolume
<
T
>::
setextrapolationmethod
(
extrapolation
extrapmethod
)
{
imthrow
(
"Called private shadow method"
,
101
);
}
{
imthrow
(
"Called private shadow method
setextrapolationmethod
"
,
101
);
}
template
<
typename
T
>
void
ShadowVolume
<
T
>::
setpadvalue
(
T
value
)
{
imthrow
(
"Called private shadow method"
,
101
);
}
{
imthrow
(
"Called private shadow method
setpadvalue
"
,
101
);
}
template
<
typename
T
>
void
ShadowVolume
<
T
>::
setextrapolationvalidity
(
bool
xv
,
bool
yv
,
bool
zv
)
{
imthrow
(
"Called private shadow method"
,
101
);
}
{
imthrow
(
"Called private shadow method
setextrapolationvalidity
"
,
101
);
}
template
<
typename
T
>
void
ShadowVolume
<
T
>::
definekernelinterpolation
(
const
NEWMAT
::
ColumnVector
&
kx
,
const
NEWMAT
::
ColumnVector
&
ky
,
const
NEWMAT
::
ColumnVector
&
kz
,
int
wx
,
int
wy
,
int
wz
)
{
imthrow
(
"Called private shadow method"
,
101
);
}
{
imthrow
(
"Called private shadow method
definekernelinterpolation
"
,
101
);
}
template
<
typename
T
>
void
ShadowVolume
<
T
>::
definesincinterpolation
(
const
std
::
string
&
sincwindowtype
,
int
w
,
int
nstore
)
{
imthrow
(
"Called private shadow method"
,
101
);
}
{
imthrow
(
"Called private shadow method
definesincinterpolation
"
,
101
);
}
template
<
typename
T
>
void
ShadowVolume
<
T
>::
definesincinterpolation
(
const
std
::
string
&
sincwindowtype
,
int
wx
,
int
wy
,
int
wz
,
int
nstore
)
{
imthrow
(
"Called private shadow method"
,
101
);
}
{
imthrow
(
"Called private shadow method
definesincinterpolation
"
,
101
);
}
template
<
typename
T
>
void
ShadowVolume
<
T
>::
setsplineorder
(
int
order
)
{
imthrow
(
"Called private shadow method"
,
101
);
}
{
imthrow
(
"Called private shadow method
setsplineorder
"
,
101
);
}
///////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////
...
...
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