/usr/include/BALL/VIEW/MODELS/lineModel.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 | // -*- Mode: C++; tab-width: 2; -*-
// vi: set ts=2:
//
// $Id: lineModel.h,v 1.12 2005/12/23 17:02:18 amoll Exp $
//
#ifndef BALL_VIEW_MODELS_LINEMODEL_H
#define BALL_VIEW_MODELS_LINEMODEL_H
#ifndef BALL_VIEW_MODELS_ATOMBONDMODELBASEPROCESSOR_H
# include <BALL/VIEW/MODELS/atomBondModelBaseProcessor.h>
#endif
namespace BALL
{
namespace VIEW
{
/** AddLineModel class.
The class AddLineModel is a model processor that is responsible
for creating a line model.
For information about the processor concept see Processor.
\ingroup ViewModels
*/
class BALL_VIEW_EXPORT AddLineModel: public AtomBondModelBaseProcessor
{
public:
BALL_CREATE(AddLineModel)
/** @name Constructors and Destructors
*/
//@{
/** Default Constructor.
*/
AddLineModel();
/** Copy constructor.
*/
AddLineModel(const AddLineModel& add_line_model);
/** Destructor.
*/
virtual ~AddLineModel();
//@}
/** @name Processor specific methods
*/
//@{
/** Operator method.
This method iterates over each Composite object reachable in the tree.
If the composite is of kind Atom than a Point
is created for that atom, and it inserted with the method insertAtom_().
The color for that Point object is calculated with the ColorCalculator
object retrieved with the method getColorCalculator().
All atoms inserted with the method insertAtom_() will later 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 Point object failed
*/
virtual Processor::Result operator() (Composite& composite);
//@}
/** @name debuggers and diagnostics
*/
//@{
/** Internal value dump.
Dump the current state of this AddLineModel to
the output ostream <b>s</b> with dumping depth <b>depth</b>.
Calls AtomBondModelBaseProcessor::dump.
\param s output stream where to output the state
\param depth the dumping depth
\see AtomBondModelBaseProcessor
*/
virtual void dump(std::ostream& s = std::cout, Size depth = 0) const;
//@}
protected:
void visualiseBond_(const Bond& bond);
};
} // namespace VIEW
} // namspace BALL
#endif // BALL_VIEW_MODELS_LINEMODEL_H
|