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