![]() |
Rosetta
2020.50
|
Derived class of VoxelGrid to create a grid of VoxelGridPoint objects. More...
#include <NMRDummySpinlabelVoxelGrid.hh>
Public Member Functions | |
NMRDummySpinlabelVoxelGrid (Real const &resolution, utility::vector1< VoxelGridPoint > const &points, bool const &cache_edges=false) | |
Construct from a vector of points. More... | |
NMRDummySpinlabelVoxelGrid (Real const &resolution, utility::vector1< VoxelGridPoint const * > const &points, bool const &cache_edges=false) | |
Construct from a vector of points. More... | |
~NMRDummySpinlabelVoxelGrid () override | |
Destructor. More... | |
Vector const * | ExtractPosition (VoxelGridPoint const &point) const override |
Extract the 3D coordinate of a given object of type VoxelGridPoint. More... | |
bool | IsSameItem (VoxelGridPoint const &point1, VoxelGridPoint const &point2) const override |
Check if two grid points are the same. More... | |
bool | IsRelevantItem (VoxelGridPoint const &point) const override |
Check if this item is relevant for neighbor search. More... | |
Derived class of VoxelGrid to create a grid of VoxelGridPoint objects.
core::scoring::nmr::NMRDummySpinlabelVoxelGrid::NMRDummySpinlabelVoxelGrid | ( | Real const & | resolution, |
utility::vector1< VoxelGridPoint > const & | points, | ||
bool const & | cache_edges = false |
||
) |
Construct from a vector of points.
Class NMRDummySpinlabelVoxelGrid.
Construct from a vector of points
core::scoring::nmr::NMRDummySpinlabelVoxelGrid::NMRDummySpinlabelVoxelGrid | ( | Real const & | resolution, |
utility::vector1< VoxelGridPoint const * > const & | points, | ||
bool const & | cache_edges = false |
||
) |
Construct from a vector of points.
|
override |
Destructor.
|
override |
Extract the 3D coordinate of a given object of type VoxelGridPoint.
References core::scoring::nmr::VoxelGridPoint::get_coordinates().
|
override |
Check if this item is relevant for neighbor search.
References core::scoring::nmr::VoxelGridPoint::is_relevant_neighbor().
|
override |
Check if two grid points are the same.
Check if two grid points are the same. Note, that we could also lock() the derived classes' member pointer and test them for equality, to know if the two points belong to the same group, but this operation would probably take too long.
References core::scoring::nmr::VoxelGridPoint::atom_name(), core::scoring::nmr::VoxelGridPoint::id(), and core::scoring::nmr::VoxelGridPoint::type().