IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
InDistWeight3d.h
1 // InDistWeight3d.h:
3 // -----------------
4 //
15 
16 #ifndef __IPSDKIPLATTRIBUTES_INDISTWEIGHT3D_H__
17 #define __IPSDKIPLATTRIBUTES_INDISTWEIGHT3D_H__
18 
21 #include <IPSDKIPL/IPSDKIPLAttributes/DataItem/DistWeight3d.h>
22 namespace ipsdk {
23 namespace imaproc {
24 namespace attr {
25 
31 
33  InDistWeight3d,
35  (ipsdk::processor::isGreaterOrEqual<NodeType::XWeight>(attribute, 0.0) &&
36  ipsdk::processor::isGreaterOrEqual<NodeType::YWeight>(attribute, 0.0) &&
37  ipsdk::processor::isGreaterOrEqual<NodeType::ZWeight>(attribute, 0.0) &&
38  ipsdk::processor::isGreaterOrEqual<NodeType::XYWeight>(attribute, 0.0) &&
39  ipsdk::processor::isGreaterOrEqual<NodeType::XZWeight>(attribute, 0.0) &&
40  ipsdk::processor::isGreaterOrEqual<NodeType::YZWeight>(attribute, 0.0) &&
41  ipsdk::processor::isGreaterOrEqual<NodeType::XYZWeight>(attribute, 0.0)));
42 
45 
46 } // end of namespace attr
47 } // end of namespace imaproc
48 } // end of namespace ipsdk
49 
50 #endif // __IPSDKIPLATTRIBUTES_INDISTWEIGHT3D_H__
Definition of import/export macro for library.
Weighting coefficients used for 2d distance calculation.
Definition: DistWeight3d.h:64
#define IPSDK_DECLARE_INPUT_FROM_EXISTING_DATAITEM_ATTRIBUTE(libraryName, className, dataItemClassName, RuleString)