Skip to content
Snippets Groups Projects
Commit bcaddf31 authored by Paul McCarthy's avatar Paul McCarthy :mountain_bicyclist:
Browse files

MNT: More useful error messages

parent e22bda30
No related branches found
No related tags found
1 merge request!43BF: 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
......@@ -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); }
///////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment