ML Reference
MeVis/Foundation/Sources/ML/include/mlProcessAllPagesHandler.h
Go to the documentation of this file.
00001 // **InsertLicense** code
00002 //-------------------------------------------------------------------------
00009 //-------------------------------------------------------------------------
00010 #ifndef __mlProcessAllPagesHandler_H
00011 #define __mlProcessAllPagesHandler_H
00012 
00013 // ML-includes
00014 #ifndef __mlInitSystemML_H
00015 #include "mlInitSystemML.h"
00016 #endif
00017 
00018 #include "mlModuleInterfaces.h"
00019 
00020 ML_START_NAMESPACE
00021 
00030 class MLEXPORT ProcessAllPagesHandler : public CalculateOutputImageHandler
00031 {
00032 public:
00039   virtual void calculateOutputImageProperties(PagedImage* /*outImg*/) {};
00040 
00042   void install(PagedImage* outImg);
00043   
00044 private:
00046   static void calcOutImagePropsCB(void* userData, PagedImage* outImg) { static_cast<ProcessAllPagesHandler*>(userData)->calculateOutputImageProperties(outImg); }
00047 };
00048 
00049 ML_END_NAMESPACE
00050 
00051 #endif
00052