Rosetta  2020.50
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
core::scoring::nmr::NMRDummySpinlabelVoxelGrid Class Reference

Derived class of VoxelGrid to create a grid of VoxelGridPoint objects. More...

#include <NMRDummySpinlabelVoxelGrid.hh>

Inheritance diagram for core::scoring::nmr::NMRDummySpinlabelVoxelGrid:
Inheritance graph
[legend]

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...
 

Detailed Description

Derived class of VoxelGrid to create a grid of VoxelGridPoint objects.

Constructor & Destructor Documentation

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.

core::scoring::nmr::NMRDummySpinlabelVoxelGrid::~NMRDummySpinlabelVoxelGrid ( )
override

Destructor.

Member Function Documentation

Vector const * core::scoring::nmr::NMRDummySpinlabelVoxelGrid::ExtractPosition ( VoxelGridPoint const &  point) const
override

Extract the 3D coordinate of a given object of type VoxelGridPoint.

References core::scoring::nmr::VoxelGridPoint::get_coordinates().

bool core::scoring::nmr::NMRDummySpinlabelVoxelGrid::IsRelevantItem ( VoxelGridPoint const &  point) const
override

Check if this item is relevant for neighbor search.

References core::scoring::nmr::VoxelGridPoint::is_relevant_neighbor().

bool core::scoring::nmr::NMRDummySpinlabelVoxelGrid::IsSameItem ( VoxelGridPoint const &  point1,
VoxelGridPoint const &  point2 
) const
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().


The documentation for this class was generated from the following files: