This file is indexed.

/usr/include/BALL/VIEW/MODELS/vanDerWaalsModel.h is in libballview1.4-dev 1.4.3~beta1-3.

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
// -*- Mode: C++; tab-width: 2; -*-
// vi: set ts=2:
//
// $Id: vanDerWaalsModel.h,v 1.12 2005/12/23 17:02:19 amoll Exp $
//

#ifndef BALL_VIEW_MODELS_VANDERWAALSMODEL_H
#define BALL_VIEW_MODELS_VANDERWAALSMODEL_H

#ifndef BALL_VIEW_MODELS_ATOMBONDMODELBASEPROCESSOR_H
# include <BALL/VIEW/MODELS/atomBondModelBaseProcessor.h>
#endif

namespace BALL
{
	namespace VIEW
	{
		/** AddVanDerWaalsModel class.
				AddVanDerWaalsModel is a model processor that is responsible
				for creating a <b>Van der Waals</b> model.
				For information about the processor concept see Processor.
				\ingroup  ViewModels
		*/
		class BALL_VIEW_EXPORT AddVanDerWaalsModel: public AtomBondModelBaseProcessor
		{
			public:

			BALL_CREATE(AddVanDerWaalsModel)

			/**	@name	Constructors and Destructor
			*/	
			//@{

			/** Default Constructor.
			*/
			AddVanDerWaalsModel();

			/** Copy constructor.
			*/
			AddVanDerWaalsModel(const AddVanDerWaalsModel& add_van_der_waals_model);

			/** Destructor.
			*/
			virtual ~AddVanDerWaalsModel();

			//@}
			/**	@name Processor specific methods 
			*/ 
			//@{

			/**	Operator method.
					This method iterates over each Composite object reachable in the 
					Composite tree. If the Composite is of kind Atom, than a Sphere
					with radius getVanDerWaalsRadius() is created for that atom, 
					and the atom is appended with the method insertAtom_().
					The color for that Sphere object is calculated with the ColorCalculator
					object retrieved with the method getColorCalculator().
					All atoms inserted with the method insertAtom_() will later be used for creating
					the model of the reachable Bond objects. 
					Those models will be created with the method buildBondModels_().
					\param  composite the Composite object that will be processed
					\return Processor::Result the result 
					@exception OutOfMemory thrown if the memory allocation for a Sphere failed
			*/
			virtual Processor::Result operator() (Composite& composite);

			//@} 
			/**	@name	debuggers and diagnostics 
			*/ 
			//@{

			/** Internal value dump.
					Dump the current state to the output ostream with a given dumping depth.
					Calls AtomBondModelBaseProcessor::dump.
					\param   s output stream where to output the state 
					\param   depth the dumping depth
			*/
			virtual void dump(std::ostream& s = std::cout, Size depth = 0) const;

			/// Default = 1
			void setVDWRadiusFactor(float value)
				{ radius_factor_ = value;}

			///
			float getVDWRadiusFactor() const
				{ return 	radius_factor_;}
							
			//@}
			
			protected:
			float radius_factor_;
		};

	} // namespace VIEW
} // namespace BALL

#endif // BALL_VIEW_MODELS_VANDERWAALSMODEL_H