Rosetta  2020.37
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Private Types | Private Attributes | List of all members
numeric::geometry::hashing::MinimalClashHash Class Reference

#include <MinimalClashHash.hh>

Inheritance diagram for numeric::geometry::hashing::MinimalClashHash:
Inheritance graph
[legend]

Public Member Functions

 MinimalClashHash (float grid_resolution=0.0f, float ball_radius=2.0f, utility::vector1< Ball > const &balls=utility::vector1< Ball >())
 
void init (utility::vector1< Ball > const &balls)
 
bool clash (Vec const &v) const
 
bool clash_ball (Ball const &b) const
 
Size clash_check_balls (utility::vector1< Ball > const &bs, Size clash_limit=100000000) const
 
- Public Member Functions inherited from utility::VirtualBase
 VirtualBase ()=default
 Default constructor. More...
 
virtual ~VirtualBase ()=default
 The virtual destructor is one of the main reasons for the VirtualBase class. More...
 
 VirtualBase (VirtualBase const &)=default
 
 VirtualBase (VirtualBase &&)=default
 
VirtualBaseoperator= (VirtualBase const &)=default
 
VirtualBaseoperator= (VirtualBase &&)=default
 

Private Types

typedef numeric::xyzVector< floatVec
 
typedef numeric::VoxelArray
< float, bool
VoxelArray
 
typedef
utility::pointer::shared_ptr
< VoxelArray
VoxelArrayOP
 

Private Attributes

float grid_resolution_
 
float ball_radius_
 
VoxelArrayOP voxel_array_
 

Member Typedef Documentation

Constructor & Destructor Documentation

numeric::geometry::hashing::MinimalClashHash::MinimalClashHash ( float  grid_resolution = 0.0f,
float  ball_radius = 2.0f,
utility::vector1< Ball > const &  balls = utility::vector1<Ball>() 
)

References init().

Member Function Documentation

bool numeric::geometry::hashing::MinimalClashHash::clash ( Vec const &  v) const

References voxel_array_.

Referenced by clash_ball().

bool numeric::geometry::hashing::MinimalClashHash::clash_ball ( Ball const &  b) const
Size numeric::geometry::hashing::MinimalClashHash::clash_check_balls ( utility::vector1< Ball > const &  bs,
Size  clash_limit = 100000000 
) const

References clash_ball().

void numeric::geometry::hashing::MinimalClashHash::init ( utility::vector1< Ball > const &  balls)

Member Data Documentation

float numeric::geometry::hashing::MinimalClashHash::ball_radius_
private

Referenced by init().

float numeric::geometry::hashing::MinimalClashHash::grid_resolution_
private

Referenced by init().

VoxelArrayOP numeric::geometry::hashing::MinimalClashHash::voxel_array_
private

Referenced by clash(), and init().


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