[Kst] extragear/graphics/kst/kst/datasources/healpix

Ted Kisner tskisner.public at gmail.com
Fri Nov 4 22:57:47 CET 2005


SVN commit 477737 by tskisner:

Add trivial reset function to healpix datasource.  The healpix datasource does not actually read a file until a call to readField or readMatrix, so this function does nothing currently.

 M  +4 -0      healpix.cpp  
 M  +2 -0      healpix_source.h  


--- trunk/extragear/graphics/kst/kst/datasources/healpix/healpix.cpp #477736:477737
@@ -178,6 +178,10 @@
   }
 }
 
+bool HealpixSource::reset() {
+  
+  return true;
+}
 
 KstObject::UpdateType HealpixSource::update(int u) {
   if (KstObject::checkUpdateCounter(u)) {
--- trunk/extragear/graphics/kst/kst/datasources/healpix/healpix_source.h #477736:477737
@@ -36,6 +36,8 @@
 
     KstObject::UpdateType update(int = -1);
     
+    bool reset();
+    
     int readField(double *v, const QString &field, int s, int n);
 
     bool isValidField(const QString &field) const;


More information about the Kst mailing list