This file is indexed.

/usr/include/odinseq/seqgrad.h is in libodin-dev 1.8.8-2ubuntu1.

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
/***************************************************************************
                          seqgrad.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 SEQGRAD_H
#define SEQGRAD_H

#include <odinseq/seqclass.h>


class RotMatrix; // forward declaration

/**
  * @addtogroup odinseq_internals
  * @{
  */

/**
  * This is the abstract base class for all objects that represent
  * gradient fields
  */
class SeqGradInterface : public virtual SeqClass {

 public:

/**
  * Changes the strength of the gradient object
  */
  virtual SeqGradInterface& set_strength(float gradstrength) = 0;

/**
  * Changes the polarity of the gradient, i.e. inverts the sign of the gradient strength
  */
  virtual SeqGradInterface& invert_strength() = 0;

/**
  * Returns the strength of the gradient object
  */
  virtual float get_strength() const = 0;

/**
  * Returns the integral vector of the gradient course
  */
  virtual fvector get_gradintegral() const = 0;

/**
  * Returns the norm of the integral vector of the gradient course
  */
  float get_gradintegral_norm() const;


/**
  * Returns the duration of the gradient object. This function returns
  * only the effective duration during whichthe  gradient is active,
  * any delays before and after the gradient are omitted.
  */
  virtual double get_gradduration() const = 0;

/**
  * This function can be used to specify a rotation of the gradient object
  * in the spatial domain, the rotation will be applied to this object only
  * rather than to the whole sequence.
  */
  virtual SeqGradInterface& set_gradrotmatrix(const RotMatrix& matrix) = 0;


 protected:

  SeqGradInterface() {}
  virtual ~SeqGradInterface() {}

};


/** @}
  */


#endif