IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
SmoothRgbColorMap.h
1 // SmoothRgbColorMap.h:
3 // --------------------
4 //
15 
16 #ifndef __IPSDKIPLATTRIBUTES_SMOOTHRGBCOLORMAP_H__
17 #define __IPSDKIPLATTRIBUTES_SMOOTHRGBCOLORMAP_H__
18 
21 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/Enumerate/SmoothRgbColorMapRangeModes.h>
22 #include <IPSDKIPL/IPSDKIPLAttributes/DataItem/AbscissRgb.h>
24 
25 namespace ipsdk {
26 namespace imaproc {
27 namespace attr {
28 
34 
35 IPSDK_DECLARE_NODE_DATA(IPSDKIPLAttributes, SmoothRgbColorMap,
36  ((ENUMLEAF)(RangeMode)(eSmoothRgbColorMapRangeMode)(eSmoothRgbColorMapRangeMode::eSRCMRM_ImageRange))
37  ((NODE_COLL)(LookupTable)(ipsdk::imaproc::attr::AbscissRgb)))
38 };
39 
42 
45 typedef boost::shared_ptr<ipsdk::imaproc::attr::SmoothRgbColorMap> SmoothRgbColorMapPtr;
46 
49 typedef boost::shared_ptr<const ipsdk::imaproc::attr::SmoothRgbColorMap> SmoothRgbColorMapConstPtr;
50 
53 
59  const std::vector<boost::shared_ptr<AbscissRgb> >& lookupTable,
60  const eSmoothRgbColorMapRangeMode& rangeMode);
61 
64  const ePredefinedSmoothRgbColorMapId& colorMapId,
65  const eSmoothRgbColorMapRangeMode& rangeMode);
67 
70 
71 } // end of namespace attr
72 } // end of namespace imaproc
73 } // end of namespace ipsdk
74 
75 #endif // __IPSDKIPLATTRIBUTES_SMOOTHRGBCOLORMAP_H__
ePredefinedSmoothRgbColorMapId
Definition: PredefinedSmoothRgbColorMapIds.h:31
#define IPSDK_DECLARE_NODE_DATA(libraryName, className, childSeq)
IPSDKIPLATTRIBUTES_API ipsdk::imaproc::attr::SmoothRgbColorMapPtr createCustomSmoothRgbColorMap(const std::vector< boost::shared_ptr< AbscissRgb > > &lookupTable, const eSmoothRgbColorMapRangeMode &rangeMode)
function allowing to create a RgbColorMap data item
eSmoothRgbColorMapRangeMode
Enumerate describing range mode for smooth RGB color map.
Definition: SmoothRgbColorMapRangeModes.h:31
boost::shared_ptr< ipsdk::imaproc::attr::SmoothRgbColorMap > SmoothRgbColorMapPtr
shared pointer to ipsdk::imaproc::attr::SmoothRgbColorMap
Definition: SmoothRgbColorMap.h:149
boost::shared_ptr< const ipsdk::imaproc::attr::SmoothRgbColorMap > SmoothRgbColorMapConstPtr
shared pointer to const ipsdk::imaproc::attr::RgbColorMap
Definition: SmoothRgbColorMap.h:153
IPSDKIPLATTRIBUTES_API ipsdk::imaproc::attr::SmoothRgbColorMapPtr createSmoothRgbColorMap(const ePredefinedSmoothRgbColorMapId &colorMapId, const eSmoothRgbColorMapRangeMode &rangeMode)
function allowing to create a RgbColorMap data item
Definition of import/export macro for library.
Absciss and RGB triplet.
Definition: AbscissRgb.h:55
Identifiers of predefined smooth RGB color maps.
#define IPSDKIPLATTRIBUTES_API
Import/Export macro for library IPSDKIPLAttributes.
Definition: IPSDKIPLAttributesExports.h:25