This file is indexed.

/usr/include/odinseq/seqpulsndim.h is in libodin-dev 1.8.8-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
/***************************************************************************
                          seqpulsndim.h  -  description
                             -------------------
    begin                : Wed Aug 8 2001
    copyright            : (C) 2000-2014 by Thies H. Jochimsen
    email                : thies@jochimsen.de
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 of the License, or     *
 *   (at your option) any later version.                                   *
 *                                                                         *
 ***************************************************************************/

#ifndef SEQPULSNDIM_H
#define SEQPULSNDIM_H

#include <odinseq/seqpuls.h>
#include <odinseq/seqparallel.h>


struct SeqPulsNdimObjects; // forward declaration


/**
  * @addtogroup odinseq
  * @{
  */

/**
  *
  * \brief RF Pulse + gradients
  *
  * This class represents a shaped n-dimesional RF-pulse, i.e. it
  * consists of a complex waveform and in addition three gradient
  * waveforms in the three spatial directions that are played out simultaneously
  */
class SeqPulsNdim : public SeqParallel, public virtual SeqPulsInterface, public Handled<SeqPulsNdim*> {

  // virtual functions of SeqPulsInterface are marshalled to sp
  // virtual functions of SeqFreqChanInterface are marshalled to sp

 public:

/**
  * Default constructor
  */
  SeqPulsNdim(const STD_string& object_label = "unnamedSeqPulsNdim" );

/**
  * Copy constructor
  */
  SeqPulsNdim(const SeqPulsNdim& spnd);


/**
  * Destructor
  */
  ~SeqPulsNdim();

/**
  * Sets the RF waveform of the pulse
  */
  SeqPulsNdim& set_rfwave(const cvector& waveform);

/**
  * Sets the waveform for the gradient pulse in direction 'dir'
  */
  SeqPulsNdim& set_gradwave(direction dir, const fvector& waveform);

/**
  * Sets the B1 scaling for simulation
  */
  SeqPulsNdim& set_B1max(float b1max);

/**
  * Returns the complex RF waveform
  */
  cvector get_rfwave() const;

/**
  * Returns the waveform of the gradient pulse in direction 'dir'
  */
  fvector get_gradwave(direction dir) const;

/**
  * Specifies an extra shift between RF and the gradient channels
  */
  SeqPulsNdim& set_grad_shift_offset(float grad_shift_offset);

/**
  * Dimensionality of the pulse
  */
  virtual int get_dims() const;

  // virtual functions of SeqPulsInterface are (mostly) marshalled to sp, except:
  SeqPulsInterface& set_pulsduration(float pulsduration);
  float get_magnetic_center() const;


  // forwarding virtual functions of SeqVector to sp
  SeqVector& set_indexvec(const ivector& iv);


/**
  * This assignment operator will make this object become an exact copy of 'spnd'.
  */
  SeqPulsNdim& operator = (const SeqPulsNdim& spnd);

/**
  * Appends the gradient list sgcl to the gradient part of the pulse
  */
  SeqPulsNdim& operator += (SeqGradChanList& sgcl);


 protected:
  SeqPulsNdim& set_system_flipangle(float angle);

  SeqPulsNdim& build_seq();

 private:
  int dims;
  double gradshift;

  SeqPulsNdimObjects* objs;

};


/** @}
  */

#endif