MeVisLabToolboxReference
MeVisLab/Standard/Sources/ML/MLKernel/mlLineApplicator.h
Go to the documentation of this file.
00001 // **InsertLicense** code
00002 //-------------------------------------------------------------------------
00006 
00011 //-------------------------------------------------------------------------
00012 // Prevent multiple including of this file.
00013 #if !defined(__mlLineApplicator_H)
00014 #define __mlLineApplicator_H
00015 
00016 // ML-includes
00017 #ifndef __mlInitSystemKernel_H
00018 #include "mlInitSystemKernel.h"
00019 #endif
00020 
00021 ML_START_NAMESPACE
00022 
00023   //---------------------------------------------------------------------------------------------  
00049   //---------------------------------------------------------------------------------------------
00050   template <typename DATATYPE> class MLKERNELEXPORT LineApplicator {
00051 
00052     //-------------------------------------------------------------------------------------------  
00053     //----------------------- CONSTRUCTORS AND DESTRUCTOR ---------------------------------------  
00054     //-------------------------------------------------------------------------------------------  
00055 
00056 public:
00059     virtual void applyToLine(TSubImageWithCursor<DATATYPE>*,   // inSubImg
00060                              TSubImageWithCursor<DATATYPE>*,   // outSubImg
00061                              size_t)               // numVox
00062     {}
00063 
00065     virtual ~LineApplicator() {}
00066 
00068     virtual ImageVector getNegativeExtent() const { return ImageVector(0); }
00069 
00071     virtual ImageVector getPositiveExtent() const { return ImageVector(0); }
00072   };
00073 
00074 ML_END_NAMESPACE
00075 
00076 #endif // __mlLineApplicator_H
00077