Added sph49f, disabled ImportLocal for a while
This commit is contained in:
parent
8a454d266c
commit
2631ae5351
|
@ -13,7 +13,8 @@ public:
|
|||
SphType &SH() { return _harmonics; }
|
||||
const SphType &cSH() const { return _harmonics; }
|
||||
template < class LeftV>
|
||||
void ImportLocal(const LeftV & left ) { SH() = left.cSH(); T::ImportLocal( left); }
|
||||
// void ImportLocal(const LeftV & left ) { SH() = left.cSH(); T::ImportLocal( left); }
|
||||
void ImportLocal(const LeftV & left ) { T::ImportLocal( left); }
|
||||
static bool HasSH() { return true; }
|
||||
static void Name(std::vector<std::string> & name){name.push_back(std::string("Spherical Harmonics"));T::Name(name);}
|
||||
|
||||
|
@ -37,6 +38,10 @@ template <class T> class Sph36f: public Sph<vcg::math::SphericalHarmonics<float,
|
|||
public: static void Name(std::vector<std::string> & name){name.push_back(std::string("Sph36f"));T::Name(name);}
|
||||
};
|
||||
|
||||
template <class T> class Sph49f: public Sph<vcg::math::SphericalHarmonics<float, 7>, T> {
|
||||
public: static void Name(std::vector<std::string> & name){name.push_back(std::string("Sph49f"));T::Name(name);}
|
||||
};
|
||||
|
||||
template <class T> class Sph9d: public Sph<vcg::math::SphericalHarmonics<double, 3>, T> {
|
||||
public: static void Name(std::vector<std::string> & name){name.push_back(std::string("Sph9d"));T::Name(name);}
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue