#include <atom.h>
Collaboration diagram for BTK::Atom:

Public Member Functions | |
| Atom (ATOM::index_t index=ATOM::UNKNOWN, ELEMENT::index_t element=ELEMENT::UNKNOWN, group_type *group=0) | |
| Default constructor. | |
| Atom (BTKVector const &pos, ATOM::index_t index=ATOM::UNKNOWN, ELEMENT::index_t element=ELEMENT::UNKNOWN, group_type *group=0) | |
| BTKVector coordinate constructor. | |
| Atom (double X, double Y, double Z, ATOM::index_t index=ATOM::UNKNOWN, ELEMENT::index_t element=ELEMENT::UNKNOWN, group_type *group=0) | |
| cartesian coordinate constructor. | |
| virtual | ~Atom () |
| ATOM::index_t | atom_index () const |
| report the topological type of the atom | |
| void | set_atom_index (ATOM::index_t x) |
| set the topological type of the atom | |
| virtual const std::string & | atom_name () const |
| report the name of the atom's topological type | |
| ELEMENT::index_t | element () const |
| report the chemical element type | |
| void | set_element (ELEMENT::index_t element) |
| set the chemical element type | |
| std::string | element_name () const |
| virtual int | group_num () const |
| report the order number of the group containing the atom | |
| virtual const std::string & | group_name3 () const |
| report the name of the group containing the atom | |
| GROUP::index_t | group_index () const |
| report the group index type of the group containing the atom | |
| void | set_group (group_type &a) |
| declare what group has primary ownership of the atom | |
| const BTKVector & | position () const |
| void | set_position (const BTKVector &position) |
| void | print_pdb_line (int atom_num, char chain_id, std::ostream &os) const |
| bool | is_selected () const |
| void | set_is_selected (const bool is_selected) |
This is the root Atom class from which more complex atomtypes can be derived. This class carries an index of its topological type and a pointer to the group which contains it (which can be none).
|
||||||||||||||||
|
Default constructor.
|
Here is the call graph for this function:

|
||||||||||||||||||||
|
BTKVector coordinate constructor.
|
Here is the call graph for this function:

|
||||||||||||||||||||||||||||
|
cartesian coordinate constructor.
|
Here is the call graph for this function:

|
|
|
|
|
report the topological type of the atom
|
|
|
report the name of the atom's topological type
|
Here is the call graph for this function:

|
|
report the chemical element type
|
|
|
|
Here is the call graph for this function:

|
|
report the group index type of the group containing the atom
|
Here is the call graph for this function:

|
|
report the name of the group containing the atom
|
Here is the call graph for this function:

|
|
report the order number of the group containing the atom
|
Here is the call graph for this function:

|
|
|
|
|
|
|
||||||||||||||||
|
|
Here is the call graph for this function:

|
|
set the topological type of the atom
|
Here is the call graph for this function:

|
|
set the chemical element type
|
|
|
declare what group has primary ownership of the atom
|
|
|
|
|
|
|
1.3.6