CRectDerivativeProcessor.h
Go to the documentation of this file.
1 #ifndef iipr_CRectDerivativeProcessor_included
2 #define iipr_CRectDerivativeProcessor_included
3 
4 
5 // ACF includes
7 
8 // ACF-Solutions includes
9 #include "imeas/IDataSequence.h"
10 #include "imath/IUnitInfo.h"
12 
13 
14 namespace iipr
15 {
16 
17 
23  virtual public imeas::INumericConstraints,
24  virtual protected imath::IUnitInfo
25 {
26 public:
30  virtual bool DoDerivativeProcessing(const imeas::IDataSequence& source, double filterLength, imeas::IDataSequence& results);
31 
35  const QByteArray& GetFilterParamsId() const;
36 
41  void SetFilterParamsId(const QByteArray& id);
42 
43  // reimplemented (iproc::IProcessor)
44  virtual int DoProcessing(
45  const iprm::IParamsSet* paramsPtr,
46  const istd::IPolymorphic* inputPtr,
47  istd::IChangeable* outputPtr,
48  ibase::IProgressManager* progressManagerPtr = NULL);
49 
50  // reimplemented (imeas::INumericConstraints)
51  virtual int GetNumericValuesCount() const;
52  virtual QString GetNumericValueName(int index) const;
53  virtual QString GetNumericValueDescription(int index) const;
54  virtual const imath::IUnitInfo& GetNumericValueUnitInfo(int index) const;
55 
56  // reimplemented (imath::IUnitInfo)
57  virtual int GetUnitType() const;
58  virtual QString GetUnitName() const;
59  virtual double GetDisplayMultiplicationFactor() const;
60  virtual istd::CRange GetValueRange() const;
61  virtual const imath::IDoubleManip& GetValueManip() const;
62 
63 private:
64  QByteArray m_filterParamsId;
65 };
66 
67 
68 // inline methods
69 
70 inline const QByteArray& CRectDerivativeProcessor::GetFilterParamsId() const
71 {
72  return m_filterParamsId;
73 }
74 
75 
76 inline void CRectDerivativeProcessor::SetFilterParamsId(const QByteArray& id)
77 {
78  m_filterParamsId = id;
79 }
80 
81 
82 } // namespace iipr
83 
84 
85 #endif // !iipr_CRectDerivativeProcessor_included
86 
87 
virtual QString GetNumericValueName(int index) const
Get human readable name of numeric value for specified list index.
virtual const imath::IDoubleManip & GetValueManip() const
virtual double GetDisplayMultiplicationFactor() const
virtual int GetUnitType() const
virtual bool DoDerivativeProcessing(const imeas::IDataSequence &source, double filterLength, imeas::IDataSequence &results)
Do extremum features analyze.
Wrapper of iproc::IProcessor for simple synchrone processor implementations.
const QByteArray & GetFilterParamsId() const
Get parameter ID used to extract caliper parameter object from parameter set.
virtual const imath::IUnitInfo & GetNumericValueUnitInfo(int index) const
Get range of possible numeric values for specified list index.
Describe additional meta information for set of numeric values.
virtual QString GetNumericValueDescription(int index) const
Get human readable description of numeric value for specified list index.
virtual istd::CRange GetValueRange() const
#define NULL
Calculate derivative of projection using rectangular filter kernel.
virtual int GetNumericValuesCount() const
Get number of expected numeric values.
virtual int DoProcessing(const iprm::IParamsSet *paramsPtr, const istd::IPolymorphic *inputPtr, istd::IChangeable *outputPtr, ibase::IProgressManager *progressManagerPtr=NULL)
virtual QString GetUnitName() const
void SetFilterParamsId(const QByteArray &id)
Set parameter ID used to extract caliper parameter object from parameter set.
General definition of sequence contains samples in regular time grid.
Definition: IDataSequence.h:20

© 2007-2011 Witold Gantzke and Kirill Lepskiy