BALL::VIEW::ForceModel Class Reference
[Model Processors]
#include <BALL/VIEW/MODELS/forceModel.h>
List of all members.
Detailed Description
ForceModel class. The class ForceModel is a model processor that is responsible for creating a model for forces on atoms. For information about the processor concept see Processor.
Constructor & Destructor Documentation
BALL::VIEW::ForceModel::ForceModel |
( |
|
) |
|
BALL::VIEW::ForceModel::ForceModel |
( |
const ForceModel & |
add_line_model |
) |
|
virtual BALL::VIEW::ForceModel::~ForceModel |
( |
|
) |
[virtual] |
Member Function Documentation
float BALL::VIEW::ForceModel::getBaseSize |
( |
|
) |
const [inline] |
float BALL::VIEW::ForceModel::getMaxLength |
( |
|
) |
const [inline] |
float BALL::VIEW::ForceModel::getOffset |
( |
|
) |
const [inline] |
float BALL::VIEW::ForceModel::getScaling |
( |
|
) |
const [inline] |
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_().
- Parameters:
-
| composite | the Composite object that will be processed |
- Returns:
- Processor::Result the result
- Exceptions:
-
| OutOfMemory | thrown if the memory allocation for a Point object failed |
Reimplemented from BALL::UnaryProcessor< Composite >.
void BALL::VIEW::ForceModel::setBaseSize |
( |
float |
size |
) |
[inline] |
void BALL::VIEW::ForceModel::setMaxLength |
( |
float |
value |
) |
[inline] |
void BALL::VIEW::ForceModel::setOffset |
( |
float |
off |
) |
[inline] |
void BALL::VIEW::ForceModel::setScaling |
( |
float |
value |
) |
[inline] |
Member Data Documentation