MeVisLab Toolbox Reference
Loading...
Searching...
No Matches
mlLineApplicator.h
Go to the documentation of this file.
1/*************************************************************************************
2**
3** Copyright 2007, MeVis Medical Solutions AG
4**
5** The user may use this file in accordance with the license agreement provided with
6** the Software or, alternatively, in accordance with the terms contained in a
7** written agreement between the user and MeVis Medical Solutions AG.
8**
9** For further information use the contact form at https://www.mevislab.de/contact
10**
11**************************************************************************************/
12
13
17
18#if !defined(__mlLineApplicator_H)
19#define __mlLineApplicator_H
20
21// ML-includes
22#include "mlInitSystemKernel.h"
23
25
26//---------------------------------------------------------------------------------------------
52//---------------------------------------------------------------------------------------------
53template <typename DATATYPE> class MLKERNELEXPORT LineApplicator
54{
55
56 //-------------------------------------------------------------------------------------------
57 //----------------------- CONSTRUCTORS AND DESTRUCTOR ---------------------------------------
58 //-------------------------------------------------------------------------------------------
59
60public:
63 virtual void applyToLine(TSubImageWithCursor<DATATYPE>*, // inSubImg
65 size_t) // numVox
66 {}
67
70 {}
71
74 {
75 return ImageVector(0);
76 }
77
80 {
81 return ImageVector(0);
82 }
83};
84
86
87#endif // __mlLineApplicator_H
The LineApplicator class provides pure virtual functions used by the old applyFiltering functions fro...
virtual ~LineApplicator()
Virtual destructor. Currently it does nothing.
virtual ImageVector getNegativeExtent() const
Returns the negative extent of a kernel used for filtering.
virtual void applyToLine(TSubImageWithCursor< DATATYPE > *, TSubImageWithCursor< DATATYPE > *, size_t)
Method to be overloaded to implement an algorithm which filters a line of the input image.
virtual ImageVector getPositiveExtent() const
Returns the positive extent of a kernel used for filtering.
A class that offers a TSubImage with a TSubImageCursor.
#define MLKERNELEXPORT
Includes files used in many parts of the dll, defined dll-specific macros and controls any system dep...
Target mlrange_cast(Source arg)
Generic version of checked ML casts.