Rosetta
Public Types | Public Member Functions | Private Member Functions | Private Attributes | List of all members
protocols::protein_grid::ProteinGrid Class Reference

#include <ProteinGrid.hh>

Public Types

typedef utility::vector1< utility::vector1< utility::vector1< core::Size > > > ProteinMatrix
 condensing the data type name for the main 3D vector (or matrix) that represents the protein More...
 

Public Member Functions

 ProteinGrid (core::pose::PoseOP in_pose)
 
 ProteinGrid (core::pose::PoseOP in_pose, core::Real resolution)
 
 ProteinGrid (core::pose::PoseOP in_pose, numeric::xyzVector< int > sub_area_center, utility::vector1< core::Size > sub_region_dimensions)
 
 ProteinGrid (core::pose::PoseOP in_pose, core::Real resolution, numeric::xyzVector< int > sub_area_center, utility::vector1< core::Size > sub_region_dimensions)
 
 ProteinGrid (ProteinGrid const &)=default
 
ProteinGridoperator= (ProteinGrid const &)=default
 
 ~ProteinGrid ()
 
core::Size get_grid_volume ()
 
core::Size get_sub_area_grid_volume ()
 
core::Real get_grid_occupied_cell_ratio ()
 
core::Real get_sub_grid_occupied_cell_ratio ()
 
core::Real get_grid_occupied_cell_count ()
 
core::Real get_sub_grid_occupied_cell_count ()
 
void set_sub_regions (numeric::xyzVector< int > sub_area_center, utility::vector1< core::Size > sub_region_dimensions)
 
void ignore_sub_area ()
 
void ignore_lj_radii ()
 
void project_lj_radii ()
 
void placed_ligand_space_fill_analysis (core::conformation::ResidueOP ligresOP)
 
bool placed_ligand_clash_analysis (core::conformation::ResidueOP ligresOP)
 
core::pose::Pose export_protein_matrix_to_pose ()
 
void export_protein_matrix_to_pdb (std::string pdb_name_prefix)
 
void set_print_whole_matrix (bool setter)
 
void set_print_empty_space (bool setter)
 

Private Member Functions

 ProteinGrid ()
 
void wrap_matrix_around_pose ()
 
void validate_resolution ()
 
void reset_xyz_vectors ()
 
void reset_sub_region_vectors ()
 
void define_sub_regions ()
 
bool is_coordinate_in_sub_area (core::Size x, core::Size y, core::Size z)
 
void initialize_from_options ()
 
std::string base_10_to_base_62 (core::Size starting_num)
 

Private Attributes

ProteinMatrix protein_matrix_
 
core::pose::PoseOP working_pose_
 
utility::vector1< int > xyz_shift_
 
utility::vector1< core::Sizexyz_bound_
 
core::Size matrix_volume_ = 0
 
core::Size sub_matrix_volume_ = 0
 
core::Real resolution_ = 1
 
bool using_sub_area_ = false
 
bool using_lj_radii_ = false
 
numeric::xyzVector< int > true_sub_area_center_
 
numeric::xyzVector< core::Sizeadjusted_sub_area_center_
 
utility::vector1< core::Sizetrue_sub_region_dimensions_
 
utility::vector1< core::Sizeadjusted_sub_region_dimensions_
 
utility::vector1< core::Sizesub_region_max_
 
utility::vector1< core::Sizesub_region_min_
 
core::Size matrix_fullness_ = 0
 
core::Real fullness_ratio_ = 0
 
core::Size sub_matrix_fullness_ = 0
 
core::Real sub_fullness_ratio_ = 0
 
bool print_whole_matrix_ = false
 
bool print_empty_space_ = false
 

Member Typedef Documentation

◆ ProteinMatrix

typedef utility::vector1<utility::vector1<utility::vector1<core::Size> > > protocols::protein_grid::ProteinGrid::ProteinMatrix

condensing the data type name for the main 3D vector (or matrix) that represents the protein

Constructor & Destructor Documentation

◆ ProteinGrid() [1/6]

protocols::protein_grid::ProteinGrid::ProteinGrid ( core::pose::PoseOP  in_pose)

◆ ProteinGrid() [2/6]

protocols::protein_grid::ProteinGrid::ProteinGrid ( core::pose::PoseOP  in_pose,
core::Real  resolution 
)

◆ ProteinGrid() [3/6]

protocols::protein_grid::ProteinGrid::ProteinGrid ( core::pose::PoseOP  in_pose,
numeric::xyzVector< int >  sub_area_center,
utility::vector1< core::Size sub_region_dimensions 
)

◆ ProteinGrid() [4/6]

protocols::protein_grid::ProteinGrid::ProteinGrid ( core::pose::PoseOP  in_pose,
core::Real  resolution,
numeric::xyzVector< int >  sub_area_center,
utility::vector1< core::Size sub_region_dimensions 
)

◆ ProteinGrid() [5/6]

protocols::protein_grid::ProteinGrid::ProteinGrid ( ProteinGrid const &  )
default

◆ ~ProteinGrid()

protocols::protein_grid::ProteinGrid::~ProteinGrid ( )
default

◆ ProteinGrid() [6/6]

protocols::protein_grid::ProteinGrid::ProteinGrid ( )
private

Member Function Documentation

◆ base_10_to_base_62()

std::string protocols::protein_grid::ProteinGrid::base_10_to_base_62 ( core::Size  starting_num)
private

◆ define_sub_regions()

void protocols::protein_grid::ProteinGrid::define_sub_regions ( )
private

◆ export_protein_matrix_to_pdb()

void protocols::protein_grid::ProteinGrid::export_protein_matrix_to_pdb ( std::string  pdb_name_prefix)

◆ export_protein_matrix_to_pose()

core::pose::Pose protocols::protein_grid::ProteinGrid::export_protein_matrix_to_pose ( )

◆ get_grid_occupied_cell_count()

core::Real protocols::protein_grid::ProteinGrid::get_grid_occupied_cell_count ( )

References matrix_fullness_.

◆ get_grid_occupied_cell_ratio()

core::Real protocols::protein_grid::ProteinGrid::get_grid_occupied_cell_ratio ( )

References fullness_ratio_.

◆ get_grid_volume()

core::Size protocols::protein_grid::ProteinGrid::get_grid_volume ( )

References xyz_bound_.

Referenced by wrap_matrix_around_pose().

◆ get_sub_area_grid_volume()

core::Size protocols::protein_grid::ProteinGrid::get_sub_area_grid_volume ( )

References sub_region_max_, and sub_region_min_.

Referenced by define_sub_regions().

◆ get_sub_grid_occupied_cell_count()

core::Real protocols::protein_grid::ProteinGrid::get_sub_grid_occupied_cell_count ( )

References sub_matrix_fullness_.

◆ get_sub_grid_occupied_cell_ratio()

core::Real protocols::protein_grid::ProteinGrid::get_sub_grid_occupied_cell_ratio ( )

References sub_fullness_ratio_.

◆ ignore_lj_radii()

void protocols::protein_grid::ProteinGrid::ignore_lj_radii ( )

◆ ignore_sub_area()

void protocols::protein_grid::ProteinGrid::ignore_sub_area ( )

◆ initialize_from_options()

void protocols::protein_grid::ProteinGrid::initialize_from_options ( )
private

References print_empty_space_, and print_whole_matrix_.

Referenced by ProteinGrid().

◆ is_coordinate_in_sub_area()

bool protocols::protein_grid::ProteinGrid::is_coordinate_in_sub_area ( core::Size  x,
core::Size  y,
core::Size  z 
)
private

◆ operator=()

ProteinGrid& protocols::protein_grid::ProteinGrid::operator= ( ProteinGrid const &  )
default

◆ placed_ligand_clash_analysis()

bool protocols::protein_grid::ProteinGrid::placed_ligand_clash_analysis ( core::conformation::ResidueOP  ligresOP)

◆ placed_ligand_space_fill_analysis()

void protocols::protein_grid::ProteinGrid::placed_ligand_space_fill_analysis ( core::conformation::ResidueOP  ligresOP)

◆ project_lj_radii()

void protocols::protein_grid::ProteinGrid::project_lj_radii ( )

◆ reset_sub_region_vectors()

void protocols::protein_grid::ProteinGrid::reset_sub_region_vectors ( )
private

◆ reset_xyz_vectors()

void protocols::protein_grid::ProteinGrid::reset_xyz_vectors ( )
private

References xyz_bound_, and xyz_shift_.

Referenced by wrap_matrix_around_pose().

◆ set_print_empty_space()

void protocols::protein_grid::ProteinGrid::set_print_empty_space ( bool  setter)

References print_empty_space_.

◆ set_print_whole_matrix()

void protocols::protein_grid::ProteinGrid::set_print_whole_matrix ( bool  setter)

References print_whole_matrix_.

◆ set_sub_regions()

void protocols::protein_grid::ProteinGrid::set_sub_regions ( numeric::xyzVector< int >  sub_area_center,
utility::vector1< core::Size sub_region_dimensions 
)

◆ validate_resolution()

void protocols::protein_grid::ProteinGrid::validate_resolution ( )
private

◆ wrap_matrix_around_pose()

void protocols::protein_grid::ProteinGrid::wrap_matrix_around_pose ( )
private

Member Data Documentation

◆ adjusted_sub_area_center_

numeric::xyzVector<core::Size> protocols::protein_grid::ProteinGrid::adjusted_sub_area_center_
private

◆ adjusted_sub_region_dimensions_

utility::vector1<core::Size> protocols::protein_grid::ProteinGrid::adjusted_sub_region_dimensions_
private

◆ fullness_ratio_

core::Real protocols::protein_grid::ProteinGrid::fullness_ratio_ = 0
private

◆ matrix_fullness_

core::Size protocols::protein_grid::ProteinGrid::matrix_fullness_ = 0
private

◆ matrix_volume_

core::Size protocols::protein_grid::ProteinGrid::matrix_volume_ = 0
private

◆ print_empty_space_

bool protocols::protein_grid::ProteinGrid::print_empty_space_ = false
private

◆ print_whole_matrix_

bool protocols::protein_grid::ProteinGrid::print_whole_matrix_ = false
private

◆ protein_matrix_

ProteinMatrix protocols::protein_grid::ProteinGrid::protein_matrix_
private

◆ resolution_

core::Real protocols::protein_grid::ProteinGrid::resolution_ = 1
private

◆ sub_fullness_ratio_

core::Real protocols::protein_grid::ProteinGrid::sub_fullness_ratio_ = 0
private

◆ sub_matrix_fullness_

core::Size protocols::protein_grid::ProteinGrid::sub_matrix_fullness_ = 0
private

◆ sub_matrix_volume_

core::Size protocols::protein_grid::ProteinGrid::sub_matrix_volume_ = 0
private

◆ sub_region_max_

utility::vector1<core::Size> protocols::protein_grid::ProteinGrid::sub_region_max_
private

◆ sub_region_min_

utility::vector1<core::Size> protocols::protein_grid::ProteinGrid::sub_region_min_
private

◆ true_sub_area_center_

numeric::xyzVector<int> protocols::protein_grid::ProteinGrid::true_sub_area_center_
private

◆ true_sub_region_dimensions_

utility::vector1<core::Size> protocols::protein_grid::ProteinGrid::true_sub_region_dimensions_
private

◆ using_lj_radii_

bool protocols::protein_grid::ProteinGrid::using_lj_radii_ = false
private

◆ using_sub_area_

bool protocols::protein_grid::ProteinGrid::using_sub_area_ = false
private

◆ working_pose_

core::pose::PoseOP protocols::protein_grid::ProteinGrid::working_pose_
private

◆ xyz_bound_

utility::vector1<core::Size> protocols::protein_grid::ProteinGrid::xyz_bound_
private

◆ xyz_shift_

utility::vector1<int> protocols::protein_grid::ProteinGrid::xyz_shift_
private

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