Commit 2617ec00 authored by Kenneth Vanhoey's avatar Kenneth Vanhoey Committed by Kenneth Vanhoey
Browse files

qem for lightfield + cleanup of QEM file

parent 5dc19d1a
...@@ -62,6 +62,8 @@ class Quadric ...@@ -62,6 +62,8 @@ class Quadric
{ {
public: public:
/** /**
* \brief get CGoGN name of current type
*
* \return name of the CGoGN type * \return name of the CGoGN type
*/ */
static std::string CGoGNnameOfType() static std::string CGoGNnameOfType()
...@@ -80,7 +82,7 @@ public: ...@@ -80,7 +82,7 @@ public:
*/ */
Quadric() ; Quadric() ;
//Quadric(int i) ; Quadric(int i) ;
/*! /*!
* \brief Constructor building a quadric given three points (defining a plane); * \brief Constructor building a quadric given three points (defining a plane);
...@@ -219,6 +221,11 @@ template <typename REAL, unsigned int N> ...@@ -219,6 +221,11 @@ template <typename REAL, unsigned int N>
class QuadricNd class QuadricNd
{ {
public: public:
/**
* \brief get CGoGN name of current type
*
* \return name of the CGoGN type
*/
static std::string CGoGNnameOfType() static std::string CGoGNnameOfType()
{ {
return "QuadricNd" ; return "QuadricNd" ;
...@@ -280,6 +287,11 @@ template <typename REAL> ...@@ -280,6 +287,11 @@ template <typename REAL>
class QuadricHF class QuadricHF
{ {
public: public:
/**
* \brief get CGoGN name of current type
*
* \return name of the CGoGN type
*/
static std::string CGoGNnameOfType() { return "QuadricHF" ; } static std::string CGoGNnameOfType() { return "QuadricHF" ; }
typedef Geom::Vector<3,REAL> VEC3 ; typedef Geom::Vector<3,REAL> VEC3 ;
......
...@@ -31,12 +31,12 @@ Quadric<REAL>::Quadric() ...@@ -31,12 +31,12 @@ Quadric<REAL>::Quadric()
{ {
A.zero() ; A.zero() ;
} }
//
//template <typename REAL> template <typename REAL>
//Quadric<REAL>::Quadric(int i) Quadric<REAL>::Quadric(int i)
//{ {
// A.zero() ; A.zero() ;
//} }
template <typename REAL> template <typename REAL>
Quadric<REAL>::Quadric(VEC3& p1, VEC3& p2, VEC3& p3) Quadric<REAL>::Quadric(VEC3& p1, VEC3& p2, VEC3& p3)
......
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