/usr/include/BALL/VIEW/MODELS/HBondModel.h is in libballview1.4-dev 1.4.3~beta1-4.
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: HBondModel.h,v 1.8 2005/12/23 17:02:16 amoll Exp $
//
#ifndef BALL_VIEW_MODELS_HBONDMODELPROCESSOR_H
#define BALL_VIEW_MODELS_HBONDMODELPROCESSOR_H
#ifndef BALL_VIEW_MODELS_ATOMBONDMODELBASEPROCESSOR_H
# include <BALL/VIEW/MODELS/atomBondModelBaseProcessor.h>
#endif
namespace BALL
{
class Atom;
namespace VIEW
{
/** HBondModelProcessor class.
\ingroup ViewModels
*/
class BALL_VIEW_EXPORT HBondModelProcessor: public AtomBondModelBaseProcessor
{
public:
BALL_CREATE(HBondModelProcessor)
/** @name Constructors and Destructors
*/
//@{
/** Default Constructor.
*/
HBondModelProcessor();
/** Copy constructor.
*/
HBondModelProcessor(const HBondModelProcessor& model);
/** Destructor.
*/
virtual ~HBondModelProcessor();
/** Explicit default initialization.
Calls AtomBondModelBaseProcessor::clear.
*/
virtual void clear();
//@}
/** @name Assignment
*/
//@{
/** Assignment.
Calls AtomBondModelBaseProcessor::set.
*/
void set(const HBondModelProcessor& model);
/** Assignment operator.
Calls set().
\param model the HBondModelProcessor to be copied
*/
const HBondModelProcessor& operator = (const HBondModelProcessor& model);
//@}
/** @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
is created for that atom, and the atom is inserted with
the method insertAtom_().
*/
virtual Processor::Result operator() (Composite& composite);
///
void setRadius(float radius)
{ radius_ = radius;}
///
float getRadius() const
{ return radius_;}
protected:
float radius_;
//@}
};
} // namespace VIEW
} // namespace BALL
#endif // BALL_VIEW_MODELS_HBONDMODELPROCESSOR_H
|