BALL  1.4.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members
BALL::VIEW::HBondModelProcessor Class Reference

#include <BALL/VIEW/MODELS/HBondModel.h>

Inheritance diagram for BALL::VIEW::HBondModelProcessor:
BALL::VIEW::AtomBondModelBaseProcessor BALL::VIEW::ModelProcessor BALL::UnaryProcessor< Composite > BALL::PropertyManager BALL::UnaryFunctor< Composite, Processor::Result >

Public Member Functions

Constructors and Destructors
 HBondModelProcessor ()
 
 HBondModelProcessor (const HBondModelProcessor &model)
 
virtual ~HBondModelProcessor ()
 
virtual void clear ()
 
Assignment
void set (const HBondModelProcessor &model)
 
const HBondModelProcessoroperator= (const HBondModelProcessor &model)
 
- Public Member Functions inherited from BALL::VIEW::AtomBondModelBaseProcessor
 AtomBondModelBaseProcessor ()
 
 AtomBondModelBaseProcessor (const AtomBondModelBaseProcessor &baseProcessor)
 
virtual ~AtomBondModelBaseProcessor ()
 
void set (const AtomBondModelBaseProcessor &processor)
 
const AtomBondModelBaseProcessoroperator= (const AtomBondModelBaseProcessor &processor)
 
virtual void dump (std::ostream &s=std::cout, Size depth=0) const
 
virtual void clearComposites ()
 
virtual bool createGeometricObjects ()
 
- Public Member Functions inherited from BALL::VIEW::ModelProcessor
 ModelProcessor ()
 
 ModelProcessor (const ModelProcessor &model_processor)
 
virtual ~ModelProcessor ()
 
virtual bool isValid () const
 
GeometricObjectListgetGeometricObjects ()
 Return the list with the created geometric objects. More...
 
const GeometricObjectListgetGeometricObjects () const
 Return the list with the created geometric objects. More...
 
void setDrawingPrecision (Index precision)
 
Index getDrawingPrecision () const
 
void setSurfaceDrawingPrecision (float precision)
 
float getSurfaceDrawingPrecision () const
 
- Public Member Functions inherited from BALL::UnaryProcessor< Composite >
 UnaryProcessor ()
 
 UnaryProcessor (const UnaryProcessor &)
 
virtual ~UnaryProcessor ()
 
virtual bool start ()
 
virtual bool finish ()
 
- Public Member Functions inherited from BALL::PropertyManager
BALL_INLINE PropertyManager ()
 Default constructor. More...
 
BALL_INLINE PropertyManager (const PropertyManager &property_manager)
 Copy constructor. More...
 
virtual ~PropertyManager ()
 Destructor. More...
 
virtual void destroy ()
 Clears all properties. More...
 
void set (const PropertyManager &property_manager)
 
const PropertyManageroperator= (const PropertyManager &property_manager)
 
void get (PropertyManager &property_manager) const
 
void swap (PropertyManager &property_manager)
 
BitVectorgetBitVector ()
 
const BitVectorgetBitVector () const
 
 operator BitVector & ()
 
void setProperty (Property property)
 
void clearProperty (Property property)
 
void toggleProperty (Property property)
 
Size countProperties () const
 
const NamedPropertygetNamedProperty (Position index) const
 
NamedPropertygetNamedProperty (Position index)
 
void setProperty (const NamedProperty &property)
 
void setProperty (const string &name)
 
void setProperty (const string &name, bool value)
 
void setProperty (const string &name, int value)
 
void setProperty (const string &name, unsigned int value)
 
void setProperty (const string &name, float value)
 
void setProperty (const string &name, double value)
 
void setProperty (const string &name, const string &value)
 
void setProperty (const string &name, const PersistentObject &value)
 
const NamedPropertygetProperty (const string &name) const
 
NamedPropertyIterator beginNamedProperty ()
 
NamedPropertyIterator endNamedProperty ()
 
void clearProperty (const string &name)
 
Size countNamedProperties () const
 
bool hasProperty (Property property) const
 Query for an unnamed property. More...
 
bool hasProperty (const string &name) const
 Query for a named property. More...
 
bool operator== (const PropertyManager &pm) const
 
bool operator!= (const PropertyManager &pm) const
 Inequality operator. More...
 
void write (PersistenceManager &pm) const
 Persistent stream writing. More...
 
bool read (PersistenceManager &pm)
 Persistent stream reading. More...
 
bool isValid () const
 
void dump (std::ostream &s=std::cout, Size depth=0) const
 

Processor specific methods

float radius_
 
virtual Processor::Result operator() (Composite &composite)
 
void setRadius (float radius)
 
float getRadius () const
 

Additional Inherited Members

- Public Types inherited from BALL::UnaryFunctor< Composite, Processor::Result >
typedef Processor::Result result_type
 
typedef Composite argument_type
 
typedef Compositeargument_reference
 
typedef const Compositeconst_argument_reference
 
typedef Compositeargument_pointer
 
typedef const Compositeconst_argument_pointer
 
- Protected Member Functions inherited from BALL::VIEW::AtomBondModelBaseProcessor
virtual void visualiseBond_ (const Bond &bond)
 
virtual void visualiseRings_ ()
 
void insertAtom_ (const Atom *atom)
 
void clearUsedAtoms_ ()
 
std::list< const Atom * > & getAtomList_ ()
 
HashSet< const Atom * > & getAtomSet_ ()
 
void buildBondModels_ ()
 
- Protected Attributes inherited from BALL::VIEW::AtomBondModelBaseProcessor
vector< vector< Atom * > > rings_
 
HashSet< const Atom * > ring_atoms_
 

Detailed Description

HBondModelProcessor class.

Definition at line 23 of file HBondModel.h.

Constructor & Destructor Documentation

BALL::VIEW::HBondModelProcessor::HBondModelProcessor ( )

Default Constructor.

BALL::VIEW::HBondModelProcessor::HBondModelProcessor ( const HBondModelProcessor model)

Copy constructor.

virtual BALL::VIEW::HBondModelProcessor::~HBondModelProcessor ( )
virtual

Destructor.

Member Function Documentation

virtual void BALL::VIEW::HBondModelProcessor::clear ( )
virtual

Explicit default initialization. Calls AtomBondModelBaseProcessor::clear.

Reimplemented from BALL::VIEW::AtomBondModelBaseProcessor.

float BALL::VIEW::HBondModelProcessor::getRadius ( ) const
inline

Definition at line 84 of file HBondModel.h.

virtual Processor::Result BALL::VIEW::HBondModelProcessor::operator() ( Composite composite)
virtual

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_().

Reimplemented from BALL::VIEW::AtomBondModelBaseProcessor.

const HBondModelProcessor& BALL::VIEW::HBondModelProcessor::operator= ( const HBondModelProcessor model)

Assignment operator. Calls set().

Parameters
modelthe HBondModelProcessor to be copied
void BALL::VIEW::HBondModelProcessor::set ( const HBondModelProcessor model)

Assignment. Calls AtomBondModelBaseProcessor::set.

void BALL::VIEW::HBondModelProcessor::setRadius ( float  radius)
inline

Definition at line 80 of file HBondModel.h.

Member Data Documentation

float BALL::VIEW::HBondModelProcessor::radius_
protected

Definition at line 89 of file HBondModel.h.