Commit e69693c4 authored by Ludovic Courtès's avatar Ludovic Courtès

core: Remove unused 'dimX' methods of 'function' sub-classes.

parent 63df1adc
......@@ -80,12 +80,6 @@ class beckmann_function : public nonlinear_function
//! parameters.
virtual vec parametersJacobian(const vec& x) const ;
//! \brief Provide the dimension of the input space of the function
virtual int dimX() const
{
return 6;
}
//! \brief Set the number of output dimensions
void setDimY(int nY);
......
......@@ -100,12 +100,6 @@ class isotropic_lafortune_function : public nonlinear_function
//! parameters.
virtual vec parametersJacobian(const vec& x) const ;
//! \brief Provide the dimension of the input space of the function
virtual int dimX() const
{
return 6;
}
//! \brief Set the number of output dimensions
void setDimY(int nY);
......
/* ALTA --- Analysis of Bidirectional Reflectance Distribution Functions
Copyright (C) 2013, 2014 Inria
Copyright (C) 2013, 2014, 2016 Inria
This file is part of ALTA.
......@@ -78,16 +78,6 @@ class lafortune_function : public nonlinear_function
//! parameters.
virtual vec parametersJacobian(const vec& x) const ;
//! \brief Provide the dimension of the input space of the function
virtual int dimX() const
{
#ifdef ADAPT_TO_PARAM
return _nX;
#else
return 6;
#endif
}
//! \brief Provide the parametrization of the input space of the function.
//! For this one, we fix that the parametrization is in THETAD_PHID
virtual params::input parametrization() const
......
......@@ -80,12 +80,6 @@ class beckmann_function : public nonlinear_function
//! parameters.
virtual vec parametersJacobian(const vec& x) const ;
//! \brief Provide the dimension of the input space of the function
virtual int dimX() const
{
return 6;
}
//! \brief Set the number of output dimensions
void setDimY(int nY);
......
/* ALTA --- Analysis of Bidirectional Reflectance Distribution Functions
Copyright (C) 2013, 2014 Inria
Copyright (C) 2013, 2014, 2016 Inria
This file is part of ALTA.
......@@ -94,12 +94,6 @@ class spherical_gaussian_function : public nonlinear_function
//! parameters.
virtual vec parametersJacobian(const vec& x) const ;
//! \brief Provide the dimension of the input space of the function
virtual int dimX() const
{
return 6;
}
//! \brief Set the number of output dimensions
void setDimY(int nY);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment