Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

vuSphLfFlt_Triangle.cpp

Go to the documentation of this file.
00001 #include "vuSphLfFlt_Triangle.h"
00002 
00003 template <int SIZE, class TYPE>
00004 vuSphLfFlt_Triangle<SIZE,TYPE>::vuSphLfFlt_Triangle(const vuString& filterName)
00005   : vuSphericFilter<SIZE,TYPE>(filterName)
00006 {
00007 }
00008 
00009 template <int S, class T> void vuSphLfFlt_Triangle<S,T>::
00010 calcFilteredViews(vuSphericView<S,T>**& views,dword& count)
00011 {
00012   CHECKNDELETE(views);
00013 
00014   dword *idxList = NULL;
00015   count = 3;
00016 
00017   if (!getNearestViews(idxList, count)) return;
00018 
00019   views = new vuSphericView<S,T>*[count];
00020   
00021   for (dword i=0; i<count; i++) {
00022     views[i] = m_volume->getView(idxList[i]);
00023   }
00024   delete [] idxList;
00025 }

Generated on Wed Dec 15 21:20:37 2004 for vuVolume by  doxygen 1.3.9.1