#include <xcs_editor.hh>
Inherits ost::mol::EditorBase.
Public Member Functions | |
| XCSEditor () | |
| ~XCSEditor () | |
| XCSEditor (const XCSEditor &rhs) | |
| XCSEditor & | operator= (const XCSEditor &rhs) |
| void | SetAtomOriginalPos (const AtomHandle &atom, const geom::Vec3 &position) |
| void | SetAtomPos (const AtomHandle &atom, const geom::Vec3 &position) |
| void | ApplyTransform (const geom::Mat4 &transform) |
| void | SetTransform (const geom::Mat4 &transform) |
| void | UpdateICS () |
Protected Member Functions | |
| XCSEditor (const EntityHandle &ent, EditMode mode) | |
| void | Update () |
Friends | |
| class | EntityHandle |
For an introduction to editors go here.
Definition at line 36 of file xcs_editor.hh.
| XCSEditor | ( | ) |
create invalid xcs editor
| ~XCSEditor | ( | ) |
| XCSEditor | ( | const EntityHandle & | ent, | |
| EditMode | mode | |||
| ) | [protected] |
| void ApplyTransform | ( | const geom::Mat4 & | transform | ) |
apply additional transformation to all atoms
This transformation is applied after the transformation already stored in the entity
| void SetAtomOriginalPos | ( | const AtomHandle & | atom, | |
| const geom::Vec3 & | position | |||
| ) |
set original position of atom This function also updates the stores transformed coordinates
| void SetAtomPos | ( | const AtomHandle & | atom, | |
| const geom::Vec3 & | position | |||
| ) |
set transformed position of atom
This function also updates the original coordinates
| void SetTransform | ( | const geom::Mat4 & | transform | ) |
apply a new transformation to all atoms
| void Update | ( | ) | [protected] |
| void UpdateICS | ( | ) |
immediately update internal coordinate system
friend class EntityHandle [friend] |
Definition at line 38 of file xcs_editor.hh.
1.5.8