MNE-CPP  beta 1.0
fiff_dig_point.h
Go to the documentation of this file.
1 //=============================================================================================================
36 #ifndef FIFF_DIG_POINT_H
37 #define FIFF_DIG_POINT_H
38 
39 //*************************************************************************************************************
40 //=============================================================================================================
41 // FIFF INCLUDES
42 //=============================================================================================================
43 
44 #include "fiff_global.h"
45 #include "fiff_types.h"
46 
47 
48 //*************************************************************************************************************
49 //=============================================================================================================
50 // Qt INCLUDES
51 //=============================================================================================================
52 
53 #include <QSharedPointer>
54 
55 
56 //*************************************************************************************************************
57 //=============================================================================================================
58 // DEFINE NAMESPACE FIFFLIB
59 //=============================================================================================================
60 
61 namespace FIFFLIB
62 {
63 
64 //*************************************************************************************************************
65 //=============================================================================================================
66 // USED NAMESPACES
67 //=============================================================================================================
68 
69 
70 //=============================================================================================================
77 {
78 public:
79  typedef QSharedPointer<FiffDigPoint> SPtr;
80  typedef QSharedPointer<const FiffDigPoint> ConstSPtr;
82  //=========================================================================================================
86  FiffDigPoint();
87 
88  //=========================================================================================================
94  FiffDigPoint(const FiffDigPoint& p_FiffDigPoint);
95 
96  //=========================================================================================================
100  ~FiffDigPoint();
101 
102  //=========================================================================================================
108  inline static qint32 storageSize();
109 
110 public:
111  fiff_int_t kind;
112  fiff_int_t ident;
113  fiff_float_t r[3];
114  fiff_int_t coord_frame;
116 // ### OLD STRUCT ###
117 // typedef struct _fiffDigPointRec {
118 // fiff_int_t kind; /**< FIFFV_POINT_CARDINAL, FIFFV_POINT_HPI, or FIFFV_POINT_EEG *
119 // fiff_int_t ident; /**< Number identifying this point *
120 // fiff_float_t r[3]; /**< Point location *
121 // fiff_int_t coord_frame; /**< Newly added to stay consistent with fiff MATLAB implementation *
122 // } fiffDigPointRec, *fiffDigPoint; /**< Digitization point description *
123 // typedef fiffDigPointRec fiff_dig_point_t;
124 };
125 
126 
127 //*************************************************************************************************************
128 //=============================================================================================================
129 // INLINE DEFINITIONS
130 //=============================================================================================================
131 
133 {
134  return 20;
135 }
136 
137 } // NAMESPACE
138 
139 #endif // FIFF_DIG_POINT_H
Old fiff_type declarations - replace them.
Digitization point description.
QSharedPointer< const FiffDigPoint > ConstSPtr
static qint32 storageSize()
#define FIFFSHARED_EXPORT
Definition: fiff_global.h:58
QSharedPointer< FiffDigPoint > SPtr
Fiff library export/import macros.
Definition: fiff.h:98