#include <Fireworks/Core/interface/FWGeoTopNode.h>
Public Member Functions | |
virtual FWGeometryTableViewBase * | browser () |
void | clearSelection () |
FWGeoTopNode (const char *n="FWGeoTopNode", const char *t="FWGeoTopNode") | |
int | getFirstSelectedTableIndex () |
void | Paint (Option_t *option="") override |
virtual void | popupMenu (int x, int y, TGLViewer *) |
void | printSelected () |
bool | selectPhysicalFromTable (int) |
virtual FWGeometryTableManagerBase * | tableManager () |
void | UnHighlighted () override |
void | UnSelected () override |
~FWGeoTopNode () override | |
Public Attributes | |
std::set< TGLPhysicalShape * > | fHted |
std::set< TGLPhysicalShape * > | fSted |
FWGeoTopNodeGLScene * | m_scene |
Static Public Attributes | |
static TGLVector3 | s_pickedCamera3DCenter |
static TGLViewer * | s_pickedViewer = nullptr |
Protected Member Functions | |
void | ClearSet (std::set< TGLPhysicalShape * > &sset) |
void | ComputeBBox () override |
void | EraseFromSet (std::set< TGLPhysicalShape * > &sset, TGLPhysicalShape *id) |
void | paintShape (Int_t idx, const TGeoHMatrix &nm, bool volumeColor, bool parentNode) |
void | ProcessSelection (TGLSelectRecord &rec, std::set< TGLPhysicalShape * > &sset, TGLPhysicalShape *id) |
FWPopupMenu * | setPopupMenu (int iX, int iY, TGLViewer *v, bool) |
void | SetStateOf (TGLPhysicalShape *id) |
void | setupBuffMtx (TBuffer3D &buff, const TGeoHMatrix &mat) |
Static Protected Member Functions | |
static UInt_t | phyID (int tableIdx) |
static int | tableIdx (TGLPhysicalShape *ps) |
Private Member Functions | |
ClassDefOverride (FWGeoTopNode, 0) | |
FWGeoTopNode (const FWGeoTopNode &) | |
const FWGeoTopNode & | operator= (const FWGeoTopNode &) |
UChar_t | wrapTransparency (FWGeometryTableManagerBase::NodeInfo &data, bool leafNode) |
Friends | |
class | FWGeoTopNodeGL |
Definition at line 45 of file FWGeoTopNode.h.
|
inline |
Definition at line 62 of file FWGeoTopNode.h.
|
inlineoverride |
Definition at line 63 of file FWGeoTopNode.h.
|
private |
|
inlinevirtual |
Reimplemented in FWEveDetectorGeo, and FWEveOverlap.
Definition at line 69 of file FWGeoTopNode.h.
Referenced by wrapTransparency().
|
private |
|
inline |
Definition at line 76 of file FWGeoTopNode.h.
Referenced by FWGeometryTableView::setPath(), and FWGeometryTableViewBase::setPath().
|
protected |
Definition at line 63 of file FWGeoTopNode.cc.
References SetStateOf().
Referenced by ProcessSelection(), UnHighlighted(), and UnSelected().
|
overrideprotected |
Definition at line 180 of file FWGeoTopNode.cc.
References f.
|
protected |
Definition at line 57 of file FWGeoTopNode.cc.
References SetStateOf().
Referenced by ProcessSelection().
int FWGeoTopNode::getFirstSelectedTableIndex | ( | ) |
Definition at line 164 of file FWGeoTopNode.cc.
References fSted, mps_fire::i, FWGeometryTableManagerBase::kSelected, FWGeometryTableManagerBase::refEntries(), and tableManager().
Referenced by FWOverlapTableView::chosenItem(), FWGeometryTableViewBase::chosenItem(), and setPopupMenu().
|
private |
|
override |
Definition at line 294 of file FWGeoTopNode.cc.
References WDecay::kNone.
Referenced by FWEveDetectorGeo::Paint(), and FWEveOverlap::Paint().
|
protected |
Definition at line 213 of file FWGeoTopNode.cc.
References data, GetTransform(), WDecay::kNone, m_scene, FWGeoTopNodeGLScene::OpenCompositeWithPhyID(), phyID(), FWGeometryTableManagerBase::refEntries(), setupBuffMtx(), tableManager(), wrapTransparency(), and testFFTrackingParticleHits::xxx.
Referenced by FWEveDetectorGeo::Paint(), FWEveOverlap::Paint(), FWEveOverlap::paintChildNodesRecurse(), and FWEveDetectorGeo::paintChildNodesRecurse().
|
staticprotected |
Definition at line 53 of file FWGeoTopNode.cc.
References tableIdx().
Referenced by paintShape(), and selectPhysicalFromTable().
|
inlinevirtual |
Reimplemented in FWEveOverlap, and FWEveDetectorGeo.
Definition at line 82 of file FWGeoTopNode.h.
Referenced by FWGeometryTableViewBase::cellClicked(), and FWGeoTopNodeGLScene::GeoPopupMenu().
void FWGeoTopNode::printSelected | ( | ) |
Definition at line 156 of file FWGeoTopNode.cc.
References fSted, Skims_PA_cff::name, tableIdx(), and tableManager().
|
protected |
Definition at line 88 of file FWGeoTopNode.cc.
References ClearSet(), FWTableManagerBase::dataChanged(), EraseFromSet(), WDecay::kNone, m_scene, SetStateOf(), and tableManager().
Referenced by FWGeoTopNodeGL::ProcessSelection().
bool FWGeoTopNode::selectPhysicalFromTable | ( | int | tableIndex | ) |
Definition at line 141 of file FWGeoTopNode.cc.
References fSted, fwLog, fwlog::kInfo, FWGeometryTableManagerBase::kVisNodeSelf, m_scene, phyID(), and tableManager().
Referenced by FWGeometryTableViewBase::setColumnSelected().
|
protected |
Definition at line 336 of file FWGeoTopNode.cc.
References fSted, fwLog, getFirstSelectedTableIndex(), kApplyChldCol, kApplyChldColRec, kCamera, fwlog::kInfo, kPrintMaterial, kPrintOverlap, kPrintPath, kPrintShape, kSetTopNode, kSetTopNodeCam, kVisChldOff, kVisChldOn, kVisSelfOff, goodZToMuMu_cfi::overlap, s_pickedCamera3DCenter, s_pickedViewer, findQualityFiles::v, x, and y.
Referenced by FWEveOverlap::popupMenu(), and FWEveDetectorGeo::popupMenu().
|
protected |
Definition at line 71 of file FWGeoTopNode.cc.
References data, fHted, fSted, FWGeometryTableManagerBase::kHighlighted, FWGeometryTableManagerBase::kSelected, FWGeometryTableManagerBase::refEntries(), tableIdx(), and tableManager().
Referenced by ClearSet(), EraseFromSet(), and ProcessSelection().
|
protected |
Definition at line 187 of file FWGeoTopNode.cc.
References visualization-live-secondInstance_cfg::m, alignCSCRings::r, alignCSCRings::s, and submitPVValidationJobs::t.
Referenced by paintShape().
|
staticprotected |
Definition at line 55 of file FWGeoTopNode.cc.
Referenced by FWEveOverlap::GetHighlightTooltip(), FWEveDetectorGeo::GetHighlightTooltip(), phyID(), printSelected(), and SetStateOf().
|
inlinevirtual |
Reimplemented in FWEveDetectorGeo, and FWEveOverlap.
Definition at line 68 of file FWGeoTopNode.h.
Referenced by getFirstSelectedTableIndex(), paintShape(), printSelected(), ProcessSelection(), selectPhysicalFromTable(), SetStateOf(), UnHighlighted(), and UnSelected().
|
override |
Definition at line 327 of file FWGeoTopNode.cc.
References ClearSet(), fHted, mps_fire::i, FWGeometryTableManagerBase::kHighlighted, FWGeometryTableManagerBase::refEntries(), and tableManager().
Referenced by FWGeometryTableViewBase::setColumnSelected().
|
override |
Definition at line 318 of file FWGeoTopNode.cc.
References ClearSet(), fSted, mps_fire::i, FWGeometryTableManagerBase::kSelected, FWGeometryTableManagerBase::refEntries(), and tableManager().
Referenced by FWGeometryTableViewBase::setColumnSelected().
|
private |
Definition at line 382 of file FWGeoTopNode.cc.
References browser(), data, FWGeometryTableViewBase::getLeafTransparencyFactor(), FWGeometryTableViewBase::getParentTransparencyFactor(), and Max().
Referenced by paintShape().
|
friend |
Definition at line 42 of file FWGeoTopNode.h.
std::set<TGLPhysicalShape*> FWGeoTopNode::fHted |
Definition at line 71 of file FWGeoTopNode.h.
Referenced by clearSelection(), FWEveOverlap::GetHighlightTooltip(), FWEveDetectorGeo::GetHighlightTooltip(), FWGeoTopNodeGL::ProcessSelection(), SetStateOf(), and UnHighlighted().
std::set<TGLPhysicalShape*> FWGeoTopNode::fSted |
Definition at line 72 of file FWGeoTopNode.h.
Referenced by clearSelection(), getFirstSelectedTableIndex(), printSelected(), FWGeoTopNodeGL::ProcessSelection(), selectPhysicalFromTable(), setPopupMenu(), SetStateOf(), and UnSelected().
FWGeoTopNodeGLScene* FWGeoTopNode::m_scene |
Definition at line 66 of file FWGeoTopNode.h.
Referenced by FWGeometryTableViewBase::addTo(), FWGeometryTableView::FWGeometryTableView(), FWOverlapTableView::FWOverlapTableView(), paintShape(), ProcessSelection(), FWGeometryTableViewBase::refreshTable3D(), and selectPhysicalFromTable().
|
static |
Definition at line 87 of file FWGeoTopNode.h.
Referenced by FWGeometryTableViewBase::chosenItem(), and setPopupMenu().
|
static |
Definition at line 88 of file FWGeoTopNode.h.
Referenced by FWGeometryTableViewBase::chosenItem(), and setPopupMenu().