00001 #include "vuSphVwFlt_Lazy.h" 00002 00003 template <int S, class T> 00004 vuSphVwFlt_Lazy<S,T>::vuSphVwFlt_Lazy() 00005 { 00006 } 00007 00008 template <int S, class T> 00009 vuSphVwFlt_Lazy<S,T>::vuSphVwFlt_Lazy(const vuString& filterName) 00010 : vuSphericViewFilter<S,T>(filterName) 00011 { 00012 } 00013 00014 template <int S, class T> 00015 vuSphVwFlt_Lazy<S,T>::~vuSphVwFlt_Lazy() 00016 { 00017 } 00018 00019 template <int S, class T> 00020 void vuSphVwFlt_Lazy<S,T>::filter(vuCamera *camera) 00021 { 00022 if (m_NumberOfViews > 0) { 00023 vuFixelMap<S,T> *map = m_Views[0]->getMap(); 00024 00025 ensureImage(map->getWidth(), map->getHeight()); 00026 *m_Image = *map; 00027 } 00028 else 00029 log("vuSphVwFlt_Lazy.filter(): no views set"); 00030 } 00031