IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
Coords2d.h
1 // Coords2d.h:
3 // -----------
4 //
15 
16 #ifndef __IPSDKIPLATTRIBUTES_COORDS2D_H__
17 #define __IPSDKIPLATTRIBUTES_COORDS2D_H__
18 
21 
22 namespace ipsdk {
23 namespace imaproc {
24 namespace attr {
25 
31 
32 IPSDK_DECLARE_NODE_DATA(IPSDKIPLAttributes, Coords2d,
33  ((LEAF)(X)(ipsdk::ipReal64))
34  ((LEAF)(Y)(ipsdk::ipReal64)))
35 
36 // methods
37 public:
39  void setCoords(const ipReal64 x, const ipReal64 y);
40 };
41 
44 
47 typedef boost::shared_ptr<ipsdk::imaproc::attr::Coords2d> Coords2dPtr;
48 
51 typedef boost::shared_ptr<const ipsdk::imaproc::attr::Coords2d> Coords2dConstPtr;
52 
55 
58 createCoords2d(const ipReal64 x, const ipReal64 y);
59 
62 
63 } // end of namespace attr
64 } // end of namespace imaproc
65 } // end of namespace ipsdk
66 
67 #endif // __IPSDKIPLATTRIBUTES_COORDS2D_H__
#define IPSDK_DECLARE_NODE_DATA(libraryName, className, childSeq)
boost::shared_ptr< const ipsdk::imaproc::attr::Coords2d > Coords2dConstPtr
shared pointer to const ipsdk::imaproc::attr::Coords2d
Definition: Coords2d.h:139
double ipReal64
boost::shared_ptr< ipsdk::imaproc::attr::Coords2d > Coords2dPtr
shared pointer to ipsdk::imaproc::attr::Coords2d
Definition: Coords2d.h:135
IPSDKIPLATTRIBUTES_API Coords2dPtr createCoords2d(const ipReal64 x, const ipReal64 y)
function allowing to create new coordinates shared pointer
Definition of import/export macro for library.
#define IPSDKIPLATTRIBUTES_API
Import/Export macro for library IPSDKIPLAttributes.
Definition: IPSDKIPLAttributesExports.h:25