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

qem for lightfield + cleanup of QEM file

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