00001 // -*- C++ -*- 00002 // 00003 // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 00004 // 00005 // Fehmi Cirak 00006 // California Institute of Technology 00007 // (C) 2003 All Rights Reserved 00008 // 00009 // <LicenseText> 00010 // 00011 // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 00012 // 00013 #ifndef __AveragingBasic_h__ 00014 #define __AveragingBasic_h__ 00015 00016 #include "definitions.h" 00017 #include "Averaging.h" 00018 00019 00020 namespace subdiv { 00021 00022 template <typename V> class TTree; 00023 00024 00025 template <typename V> 00026 class AveragingBasic : public Averaging<V> { 00027 public: 00028 AveragingBasic(){}; 00029 virtual ~AveragingBasic(){} 00030 00031 virtual void averageTriangleEdge(TTree<V> *tt, int iedge, int level, VecD3& posNew); 00032 virtual void averageTriangleVertex(TTree<V> *tt, int ivtx, int level, VecD3& posNew); 00033 }; 00034 } 00035 00036 #include "AveragingBasic.cc" 00037 00038 #endif /*__AveragingBasic_h__*/