2 // C++ Interface: brukerobject
7 // Author: <Denis Grenier>, (C) 2008
9 // Copyright: See COPYING file that comes with this distribution
12 #ifndef BRUKERKSPACEOBJECT_H
13 #define BRUKERKSPACEOBJECT_H
16 #include "brukerSystem.h"
17 #include "brukerdataset.h"
20 class creaBruker_EXPORT BrukerKspaceObject{
22 BrukerKspaceObject(BrukerDataSet DataSet);
23 ~BrukerKspaceObject();
27 void setAbsoluteTimePosition ( long theValue )
29 AbsoluteTimePosition = theValue;
34 long getAbsoluteTimePosition() const
36 return AbsoluteTimePosition;
39 void setACQ_phase_factor ( int theValue )
41 ACQ_phase_factor = theValue;
45 int getACQ_phase_factor() const
47 return ACQ_phase_factor;
50 void setDimension ( int theValue )
55 int getDimension() const
60 void setFlipAngle ( double theValue )
65 double getFlipAngle() const
70 void setImaginaryPart ( const std::vector< double >& theValue )
72 ImaginaryPart = theValue;
75 std::vector< double > getImaginaryPart() const
80 void setNA ( int theValue )
90 void setNR ( int theValue )
100 void setNumberOfSlices ( int theValue )
102 NumberOfSlices = theValue;
106 int getNumberOfSlices() const
108 return NumberOfSlices;
111 void setObjectNumber ( int theValue )
113 ObjectNumber = theValue;
117 int getObjectNumber() const
122 void setRealPart ( const std::vector< double >& theValue )
128 std::vector< double > getRealPart() const
133 void setRG ( double theValue )
144 void setRotationMatrixRPS2XYZ ( const std::vector< std :: vector < double > >& theValue )
146 RotationMatrixRPS2XYZ = theValue;
150 std::vector< std :: vector < double > > getRotationMatrixRPS2XYZ() const
152 return RotationMatrixRPS2XYZ;
155 void setSliceNumber ( int theValue )
157 SliceNumber = theValue;
161 int getSliceNumber() const
166 void setSliceThickness ( double theValue )
168 SliceThickness = theValue;
172 double getSliceThickness() const
174 return SliceThickness;
177 void setTE ( double theValue )
189 void setTI ( double theValue )
200 void setTR ( double theValue )
211 void setTranslationVectorRPS2XYZ ( const std::vector< double >& theValue )
213 TranslationVectorRPS2XYZ = theValue;
217 std::vector< double > getTranslationVectorRPS2XYZ() const
219 return TranslationVectorRPS2XYZ;
222 void setDimensionSizes ( const std::vector< int >& theValue )
224 DimensionSizes = theValue;
228 std::vector< int > getDimensionSizes() const
230 return DimensionSizes;
233 void setFOV ( const std::vector< double >& theValue )
239 std::vector< double > getFOV() const
245 bool FillWithObject(BrukerDataSet DataSet, int ObjectNumber);
248 void setNI ( int theValue )
259 void setNAE ( int theValue )
270 void setDS ( int theValue )
281 void setACQ_ns_list ( const std::vector< int >& theValue )
283 ACQ_ns_list = theValue;
287 std::vector< int > getACQ_ns_list() const
292 void setACQ_obj_order ( const std::vector< int >& theValue )
294 ACQ_obj_order = theValue;
298 std::vector< int > getACQ_obj_order() const
300 return ACQ_obj_order;
303 void setACQ_echo_time ( const std::vector< int >& theValue )
305 ACQ_echo_time = theValue;
308 std::vector< int > getACQ_echo_time() const
310 return ACQ_echo_time;
318 std::vector <int> DimensionSizes;
319 std::vector <int> ACQ_ns_list;
320 std::vector <int> ACQ_obj_order;
321 std::vector <int> ACQ_echo_time;
328 int ACQ_phase_factor;
329 std::vector<std::vector<double> > RotationMatrixRPS2XYZ;
330 std::vector <double> TranslationVectorRPS2XYZ;
331 long AbsoluteTimePosition;
338 std::vector <double> FOV;
339 double SliceThickness;
340 std::vector<double> RealPart;
341 std::vector<double> ImaginaryPart;