Commit 243516de authored by michael's avatar michael
Browse files

No commit message

No commit message
parent d850d76d
Loading
Loading
Loading
Loading

LrBinderOct.cpp

deleted100644 → 0
+0 −1
Original line number Diff line number Diff line
 

LrBinderOct.h

deleted100644 → 0
+0 −42
Original line number Diff line number Diff line
/**
 * @brief OBJET : represente la structure acceleratrice
 * @file LrBinderOct.h
 * @date Lundi 10 Mars 2008
 * @note 
 * @author Josselin Francois
 * @author Michael Nauge
 * @author Axel Richard
 * @author Hervé Souchaud
 * @author Emeric Verschuur
 * 
 * Ce fichier contient la classe qui gère la creation d'une structure acceleratrice pour la gestion des objets 3D
 */ 

#ifndef LRBINDEROCT_H
#define LRBINDEROCT_H

#include "LrBinder.h"
#include "LrOctree.h"
#include "LrVector.h"


#define MAX_DIV 4

class LrBinderOct : public LrBinder
{
    private :

            LrOctree *m_globalOctree; //un pointer sur la boite englobante principale

    public :
            typedef std::list<LrOctree *> LrOctreeList;
            LrBinderOct();
            LrBinderOct(const LrBinderOct & source);
            LrBinderOct(ListObject l, LrVector pos_init, LrVector &taille);
 
            virtual ~LrBinderOct() = 0;

            virtual void createSubdiv(LrOctree &oct, Real taille);
            virtual bool getIntersection(LrRay &ray, LrHit & hit);
};
#endif