NCBI C++ ToolKit
|
Search Toolkit Book for ShowHideManager
#include "show_hide_manager.hpp"
(Private to src/app/cn3d
.)
Private Types | |
typedef std::map< const StructureBase *, bool > | EntitiesHidden |
Private Member Functions | |
void | PrivateShowResidues (const StructureSet *set, bool showAligned) |
void | UnHideEntityAndChildren (const StructureBase *entity) |
Private Attributes | |
EntitiesHidden | entitiesHidden |
std::vector< const ShowHideInfo * > | structureInfo |
Definition at line 53 of file show_hide_manager.hpp.
|
private |
Definition at line 86 of file show_hide_manager.hpp.
|
virtual |
Definition at line 143 of file show_hide_manager.cpp.
References i, and structureInfo.
void ShowHideManager::ConstructShowHideArray | ( | const StructureSet * | structureSet | ) |
Definition at line 273 of file show_hide_manager.cpp.
References info, StructureSet::objects, and structureInfo.
Referenced by StructureSet::Load().
void ShowHideManager::GetShowHideInfo | ( | std::vector< std::string > * | names, |
std::vector< bool > * | visibilities | ||
) | const |
Definition at line 312 of file show_hide_manager.cpp.
References i, names, and structureInfo.
Referenced by StructureWindow::OnShowHide().
bool ShowHideManager::IsHidden | ( | const StructureBase * | entity | ) | const |
Definition at line 241 of file show_hide_manager.cpp.
References entitiesHidden, ERRORMSG, StructureBase::GetParentOfType(), and NULL.
Referenced by StyleManager::GetAtomStyle(), IsVisible(), and UnHideEntityAndChildren().
|
inline |
Definition at line 68 of file show_hide_manager.hpp.
References IsHidden().
Referenced by Molecule::DrawAllWithTerminiLabels(), StyleManager::GetObjectStyle(), ShowHideObject::IsVisible(), ShowHideMolecule::IsVisible(), and ShowHideDomain::IsVisible().
void ShowHideManager::MakeAllVisible | ( | void | ) |
Definition at line 382 of file show_hide_manager.cpp.
References entitiesHidden, and Show().
Referenced by StructureWindow::OnShowHide(), ShowAlignedChains(), ShowAlignedDomains(), ShowAlignedOrAnnotatedDomains(), ShowDomainsWithHighlights(), CDDAnnotateDialog::ShowEvidence(), ShowResidues(), and ShowSelectedResidues().
|
inline |
Definition at line 59 of file show_hide_manager.hpp.
Referenced by Residue::Draw(), Bond::Draw(), Molecule::DrawAllWithTerminiLabels(), StyleManager::GetBondStyle(), and Molecule::GetResidueColor().
|
private |
Definition at line 473 of file show_hide_manager.cpp.
References set< Key, Compare >::begin(), set< Key, Compare >::end(), r(), and Show().
Referenced by ShowResidues(), and ShowUnalignedResiduesInAlignedDomains().
|
virtual |
Reimplemented from ShowHideCallbackObject.
Definition at line 335 of file show_hide_manager.cpp.
References i, and structureInfo.
void ShowHideManager::Show | ( | const StructureBase * | entity, |
bool | isShown | ||
) |
Definition at line 172 of file show_hide_manager.cpp.
References entitiesHidden, ERRORMSG, StructureBase::parentSet, PostRedrawEntity(), StructureSet::renderer, OpenGLRenderer::ShowAllFrames(), and UnHideEntityAndChildren().
Referenced by MakeAllVisible(), PrivateShowResidues(), ShowHideObject::Show(), ShowHideMolecule::Show(), ShowHideDomain::Show(), ShowAlignedChains(), ShowAlignedDomains(), ShowAlignedOrAnnotatedDomains(), ShowDomainsWithHighlights(), CDDAnnotateDialog::ShowEvidence(), AlignmentManager::ShowHideCallbackFunction(), ShowHideCallbackFunction(), and ShowSelectedResidues().
void ShowHideManager::ShowAlignedChains | ( | const StructureSet * | set | ) |
Definition at line 455 of file show_hide_manager.cpp.
References set< Key, Compare >::begin(), set< Key, Compare >::end(), MakeAllVisible(), and Show().
Referenced by StructureWindow::OnShowHide().
void ShowHideManager::ShowAlignedDomains | ( | const StructureSet * | set | ) |
Definition at line 387 of file show_hide_manager.cpp.
References set< Key, Compare >::begin(), map_checker< Container >::end(), set< Key, Compare >::end(), map_checker< Container >::find(), MakeAllVisible(), r(), and Show().
Referenced by StructureWindow::OnShowHide(), and ShowUnalignedResiduesInAlignedDomains().
void ShowHideManager::ShowAlignedOrAnnotatedDomains | ( | const StructureSet * | set | ) |
Definition at line 423 of file show_hide_manager.cpp.
References set< Key, Compare >::begin(), map_checker< Container >::end(), set< Key, Compare >::end(), map_checker< Container >::find(), MakeAllVisible(), r(), and Show().
Referenced by StructureSet::Load().
void ShowHideManager::ShowDomainsWithHighlights | ( | const StructureSet * | set | ) |
Definition at line 545 of file show_hide_manager.cpp.
References set< Key, Compare >::begin(), map_checker< Container >::end(), set< Key, Compare >::end(), map_checker< Container >::find(), GlobalMessenger(), MakeAllVisible(), Molecule::NO_DOMAIN_SET, r(), Show(), and ShowSelectedResidues().
Referenced by AnnotateDialog::OnButton(), and StructureWindow::OnShowHide().
Implements ShowHideCallbackObject.
Definition at line 323 of file show_hide_manager.cpp.
References entitiesHidden, ERRORMSG, i, Show(), structureInfo, and TRACEMSG.
void ShowHideManager::ShowResidues | ( | const StructureSet * | set, |
bool | showAligned | ||
) |
Definition at line 501 of file show_hide_manager.cpp.
References MakeAllVisible(), and PrivateShowResidues().
Referenced by StructureWindow::OnShowHide().
void ShowHideManager::ShowSelectedResidues | ( | const StructureSet * | set | ) |
Definition at line 513 of file show_hide_manager.cpp.
References set< Key, Compare >::begin(), set< Key, Compare >::end(), GlobalMessenger(), MakeAllVisible(), r(), and Show().
Referenced by StructureWindow::OnShowHide(), and ShowDomainsWithHighlights().
void ShowHideManager::ShowUnalignedResiduesInAlignedDomains | ( | const StructureSet * | set | ) |
Definition at line 507 of file show_hide_manager.cpp.
References PrivateShowResidues(), and ShowAlignedDomains().
|
private |
Definition at line 200 of file show_hide_manager.cpp.
References entitiesHidden, StructureBase::GetParentOfType(), IsHidden(), StructureBase::parentSet, PostRedrawEntity(), StructureSet::renderer, and OpenGLRenderer::ShowAllFrames().
Referenced by Show().
|
private |
Definition at line 87 of file show_hide_manager.hpp.
Referenced by IsHidden(), MakeAllVisible(), Show(), ShowHideCallbackFunction(), and UnHideEntityAndChildren().
|
private |
Definition at line 90 of file show_hide_manager.hpp.
Referenced by ConstructShowHideArray(), GetShowHideInfo(), SelectionChangedCallback(), ShowHideCallbackFunction(), and ~ShowHideManager().