This file is indexed.

/usr/include/rdkit/GraphMol/ShapeHelpers/ShapeEncoder.h is in librdkit-dev 201603.5-2.

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
//
//   Copyright (C) 2005-2006 Rational Discovery LLC
//
//   @@ All Rights Reserved @@
//  This file is part of the RDKit.
//  The contents are covered by the terms of the BSD license
//  which is included in the file license.txt, found at the root
//  of the RDKit source tree.
//
#ifndef _RD_SHAPE_ENCODER_H_20050125_0800_
#define _RD_SHAPE_ENCODER_H_20050125_0800_

namespace RDGeom {
class UniformGrid3D;
class Transform3D;
}

namespace RDKit {
class ROMol;
class Conformer;
namespace MolShapes {
//! Encode the shape of a molecule on to a grid
/*!
  \param mol       The molecule of interest
  \param grid      Grid onto which the molecule is encoded
  \param confId    Id of the conformation on the molecule to be encoded
  \param trans     Optional 3D transform to be applied to this conformation
  \param vdwScale  Scaling factor for the radius of the atoms to determine the
  base radius
                   used in the encoding - grid points inside this sphere carry
  the maximum occupany
  \param stepSize  thickness of the layers outside the base radius, the
  occupancy value is decreased
                   from layer to layer from the maximum value
  \param maxLayers the maximum number of layers - defaults to the number allowed
  the number of bits
                   use per grid point - e.g. two bits per grid point will allow
  3 layers
  \param ignoreHs  if true, ignore the hydrogen atoms in the shape encoding
  process
*/
void EncodeShape(const ROMol &mol, RDGeom::UniformGrid3D &grid, int confId = -1,
                 const RDGeom::Transform3D *trans = 0, double vdwScale = 0.8,
                 double stepSize = 0.25, int maxLayers = -1,
                 bool ignoreHs = true);

//! Emcode the shape of a conformer on to a grid
/*!
  \param conf      The conformer of interest
  \param grid      Grid onto which the molecule is encoded
  \param trans     Optional 3D transform to be applied to this conformation
  \param vdwScale  Scaling factor for the radius of the atoms to determine the
  base radius
                   used in the encoding - grid points inside this sphere carry
  the maximum occupany
  \param stepSize  thickness of the layers outside the base radius, the
  occupancy value is decreased
                   from layer to layer from the maximum value
  \param maxLayers the maximum number of layers - defaults to the number allowed
  the number of bits
                   use per grid point - e.g. two bits per grid point will allow
  3 layers
  \param ignoreHs  if true, ignore the hydrogen atoms in the shape encoding
  process
*/
void EncodeShape(const Conformer &conf, RDGeom::UniformGrid3D &grid,
                 const RDGeom::Transform3D *trans = 0, double vdwScale = 0.8,
                 double stepSize = 0.25, int maxLayers = -1,
                 bool ignoreHs = true);
}
}
#endif