HBondModel.h

Go to the documentation of this file.
00001 // -*- Mode: C++; tab-width: 2; -*-
00002 // vi: set ts=2:
00003 //
00004 // $Id: HBondModel.h,v 1.8 2005/12/23 17:02:16 amoll Exp $
00005 //
00006 
00007 #ifndef BALL_VIEW_MODELS_HBONDMODELPROCESSOR_H
00008 #define BALL_VIEW_MODELS_HBONDMODELPROCESSOR_H
00009 
00010 #ifndef BALL_VIEW_MODELS_ATOMBONDMODELBASEPROCESSOR_H
00011 # include <BALL/VIEW/MODELS/atomBondModelBaseProcessor.h>
00012 #endif
00013 
00014 namespace BALL
00015 {
00016   class Atom;
00017 
00018   namespace VIEW
00019   {
00023     class BALL_VIEW_EXPORT HBondModelProcessor: public AtomBondModelBaseProcessor
00024     {
00025       public:
00026 
00027       BALL_CREATE(HBondModelProcessor)
00028 
00029       
00032 
00035       HBondModelProcessor();
00036 
00039       HBondModelProcessor(const HBondModelProcessor& model);
00040 
00043       virtual ~HBondModelProcessor();
00044 
00048       virtual void clear();
00049 
00051 
00054 
00058       void set(const HBondModelProcessor& model);
00059 
00064       const HBondModelProcessor& operator = (const HBondModelProcessor& model);
00065       
00067 
00070 
00077       virtual Processor::Result operator() (Composite& composite);
00078 
00080       void setRadius(float radius)
00081         { radius_ = radius;}
00082 
00084       float getRadius() const
00085         { return radius_;}
00086       
00087       protected:
00088 
00089       float radius_;
00090 
00092     };
00093 
00094   } // namespace VIEW
00095 } // namespace BALL
00096 
00097 #endif // BALL_VIEW_MODELS_HBONDMODELPROCESSOR_H