FCWriteCache.h 660 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. /**
  2. * @file FCWriteCache.h
  3. * @author Erik Rodner
  4. * @date 11/15/2007
  5. */
  6. #ifndef FCWriteCacheINCLUDE
  7. #define FCWriteCacheINCLUDE
  8. #include "core/vector/VectorT.h"
  9. #include "core/vector/MatrixT.h"
  10. #include "vislearning/features/fbase/FeatureFactory.h"
  11. namespace OBJREC {
  12. class FCWriteCache : public FeatureFactory
  13. {
  14. protected:
  15. std::string cachedir;
  16. int cachemode;
  17. FeatureFactory *ff;
  18. public:
  19. /** simple constructor */
  20. FCWriteCache ( const NICE::Config *conf, FeatureFactory *ff );
  21. /** simple destructor */
  22. virtual ~FCWriteCache();
  23. int convert ( const NICE::Image & img, NICE::Vector & vec );
  24. };
  25. } // namespace
  26. #endif