xmol::proxy::smart::AtomSmartSpan class

AtomSpan with parent frame changes tracking.

Base classes

template<typename Observer>
class FrameObserver<AtomSmartSpan>

Constructors, destructors, conversion operators

AtomSmartSpan(AtomSpan sel)
operator const AtomSpan&() const &
operator AtomSpan&() &
operator AtomSpan&&() &&

Public functions

auto coords() -> CoordSpan
Coordinates.
auto residues() -> ResidueSpan
Parent residues.
auto molecules() -> MoleculeSpan
Parent molecules.
template<typename Predicate>
auto filter(Predicate&& p) -> AtomSelection
Returns selection with atoms that match predicate.
auto contains(const AtomRef& ref) const -> bool
Check if element in selection.
auto begin() -> auto
auto end() -> auto
auto size() const -> size_t
auto empty() const -> size_t
auto slice(std::optional<size_t> start, std::optional<size_t> stop, std::optional<size_t> step) -> AtomSelection
auto slice(std::optional<size_t> start, std::optional<size_t> stop) -> AtomSpan
auto index() -> auto
void guess_mass()
auto inertia_tensor() -> Eigen::Matrix3d -> auto
auto alignment_to(AtomSpan& rhs, bool weighted = false) -> geom::affine::Transformation3d -> auto
auto alignment_to(AtomSelection& rhs, bool weighted = false) -> geom::affine::Transformation3d -> auto
auto rmsd(AtomSpan& rhs, bool weighted = false) -> double
auto rmsd(AtomSelection& rhs, bool weighted = false) -> double
auto mean(bool weighted = false) -> XYZ
auto operator[](size_t i) -> AtomRef