IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
Range.h
1 // Range.h:
3 // --------
4 //
15 
16 #ifndef __IPSDKIPLATTRIBUTES_RANGE_H__
17 #define __IPSDKIPLATTRIBUTES_RANGE_H__
18 
22 
23 namespace ipsdk {
24 namespace imaproc {
25 namespace attr {
26 
32 
33 IPSDK_DECLARE_NODE_DATA(IPSDKIPLAttributes, Range,
34  ((LEAF)(Min)(ipsdk::ipReal64))
35  ((LEAF)(Max)(ipsdk::ipReal64)))
36 
37 // methods
38 public:
41  ipsdk::ipReal64 getLength() const;
42 
45  ipsdk::ipReal64 getMean() const;
46 
49  bool isInside(const ipReal64 value) const;
50 
53  bool isStrictlyInside(const ipReal64 value) const;
54 
57  bool isInsideLower(const ipReal64 value) const;
58 };
59 
62 
65 typedef boost::shared_ptr<ipsdk::imaproc::attr::Range> RangePtr;
66 
69 typedef boost::shared_ptr<const ipsdk::imaproc::attr::Range> RangeConstPtr;
70 
73 
78  const ipsdk::ipReal64 maxValue);
79 
84 createRange(const ipsdk::image::eImageBufferType& imageBufferType);
85 
88 
89 } // end of namespace attr
90 } // end of namespace imaproc
91 } // end of namespace ipsdk
92 
93 #endif // __IPSDKIPLATTRIBUTES_RANGE_H__
#define IPSDK_DECLARE_NODE_DATA(libraryName, className, childSeq)
double ipReal64
IPSDKGEOMETRY_API bool isStrictlyInside(const Parabola2d &parabola, const Point2dData< T > &pt)
boost::shared_ptr< ipsdk::imaproc::attr::Range > RangePtr
shared pointer to ipsdk::imaproc::attr::Range
Definition: Range.h:153
boost::shared_ptr< const ipsdk::imaproc::attr::Range > RangeConstPtr
shared pointer to const ipsdk::imaproc::attr::Range
Definition: Range.h:157
IPSDKIPLATTRIBUTES_API ipsdk::imaproc::attr::RangePtr createRange(const ipsdk::image::eImageBufferType &imageBufferType)
function allowing to create a range associated to min and max value of an image buffer type ...
Definition of import/export macro for library.
IPSDKIPLATTRIBUTES_API bool isInside(const RegistrationTracking2dGrid &grid, const Coords2d &pt)
check whether a given point is inside tracking grid
#define IPSDKIPLATTRIBUTES_API
Import/Export macro for library IPSDKIPLAttributes.
Definition: IPSDKIPLAttributesExports.h:25