Метод преобразования, использующий свойства классических ортогональных полиномов, предлагается для построения точно решаемых потенциалов, которые порождают решения для связанных состояний уравнения Шредингера в $D$-мерном пространстве с зависящей от координат массой. Важной чертой метода является то, что в нем в случае радиально-симметричных массовой функции и потенциала предпочтительным является упорядочение неоднозначностей Жу-Кремера. Это поясняется примером использования гипергеометрических полиномов и присоединенных полиномов Лежандра.