#include <vanDerWaalsModel.h>
Inheritance diagram for VIEW::AddVanDerWaalsModel:
Public Member Functions | |
Constructors and Destructor | |
AddVanDerWaalsModel () throw () | |
Default Constructor. | |
AddVanDerWaalsModel (const AddVanDerWaalsModel &add_van_der_waals_model) throw () | |
Copy constructor. | |
virtual | ~AddVanDerWaalsModel () throw () |
Destructor. | |
Processor specific methods | |
virtual Processor::Result | operator() (Composite &composite) |
Operator method. | |
debuggers and diagnostics | |
virtual void | dump (std::ostream &s=std::cout, Size depth=0) const throw () |
Internal value dump. | |
void | setVDWRadiusFactor (float value) throw () |
Default = 1. | |
float | getVDWRadiusFactor () const throw () |
Protected Attributes | |
float | radius_factor_ |
AddVanDerWaalsModel is a model processor that is responsible for creating a Van der Waals model. For information about the processor concept see Processor.
|
Default Constructor.
|
|
Copy constructor.
|
|
Destructor.
|
|
Internal value dump. Dump the current state to the output ostream with a given dumping depth. Calls AtomBondModelBaseProcessor::dump.
Reimplemented from VIEW::AtomBondModelBaseProcessor. |
|
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_().
Reimplemented from VIEW::AtomBondModelBaseProcessor. |