#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 47 of file FWGeoTopNode.h.
|
inline |
Definition at line 64 of file FWGeoTopNode.h.
|
inlineoverride |
Definition at line 65 of file FWGeoTopNode.h.
References TSGForRoadSearch_cfi::option, and Paint().
|
private |
|
inlinevirtual |
Reimplemented in FWEveDetectorGeo, and FWEveOverlap.
Definition at line 71 of file FWGeoTopNode.h.
Referenced by wrapTransparency().
|
private |
|
inline |
Definition at line 78 of file FWGeoTopNode.h.
References printSelected().
Referenced by FWGeometryTableView::setPath(), and FWGeometryTableViewBase::setPath().
|
protected |
Definition at line 71 of file FWGeoTopNode.cc.
References SetStateOf().
Referenced by ProcessSelection(), UnHighlighted(), and UnSelected().
|
overrideprotected |
|
protected |
Definition at line 64 of file FWGeoTopNode.cc.
References SetStateOf().
Referenced by ProcessSelection().
int FWGeoTopNode::getFirstSelectedTableIndex | ( | ) |
Definition at line 205 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 328 of file FWGeoTopNode.cc.
References WDecay::kNone.
Referenced by FWEveDetectorGeo::Paint(), FWEveOverlap::Paint(), and ~FWGeoTopNode().
|
protected |
Definition at line 244 of file FWGeoTopNode.cc.
References data, GetTransform(), WDecay::kNone, FWGeometryTableManagerBase::NodeInfo::m_color, FWGeometryTableManagerBase::NodeInfo::m_node, m_scene, FWGeoTopNodeGLScene::OpenCompositeWithPhyID(), phyID(), FWGeometryTableManagerBase::refEntries(), setupBuffMtx(), tableManager(), and wrapTransparency().
Referenced by FWEveDetectorGeo::Paint(), FWEveOverlap::Paint(), FWEveOverlap::paintChildNodesRecurse(), and FWEveDetectorGeo::paintChildNodesRecurse().
|
staticprotected |
Definition at line 53 of file FWGeoTopNode.cc.
Referenced by paintShape(), and selectPhysicalFromTable().
|
inlinevirtual |
Reimplemented in FWEveDetectorGeo, and FWEveOverlap.
Definition at line 81 of file FWGeoTopNode.h.
References UnHighlighted(), and UnSelected().
Referenced by FWGeometryTableViewBase::cellClicked(), and FWGeoTopNodeGLScene::GeoPopupMenu().
void FWGeoTopNode::printSelected | ( | ) |
Definition at line 195 of file FWGeoTopNode.cc.
References fSted, dataset::name, tableIdx(), and tableManager().
Referenced by clearSelection().
|
protected |
Definition at line 105 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 178 of file FWGeoTopNode.cc.
References fSted, fwLog, fwlog::kInfo, FWGeometryTableManagerBase::kVisNodeSelf, m_scene, phyID(), and tableManager().
Referenced by FWGeometryTableViewBase::setColumnSelected().
|
protected |
Definition at line 368 of file FWGeoTopNode.cc.
References fSted, fwLog, getFirstSelectedTableIndex(), kApplyChldCol, kApplyChldColRec, kCamera, fwlog::kInfo, kPrintMaterial, kPrintOverlap, kPrintPath, kPrintShape, kSetTopNode, kSetTopNodeCam, kVisChldOff, kVisChldOn, kVisSelfOff, s_pickedCamera3DCenter, s_pickedViewer, findQualityFiles::v, x, and y.
Referenced by FWEveOverlap::popupMenu(), and FWEveDetectorGeo::popupMenu().
|
protected |
Definition at line 81 of file FWGeoTopNode.cc.
References data, fHted, fSted, FWGeometryTableManagerBase::kHighlighted, FWGeometryTableManagerBase::kSelected, FWGeometryTableManagerBase::refEntries(), FWGeometryTableManagerBase::NodeInfo::resetBit(), FWGeometryTableManagerBase::NodeInfo::setBit(), tableIdx(), and tableManager().
Referenced by ClearSet(), EraseFromSet(), and ProcessSelection().
|
protected |
Definition at line 229 of file FWGeoTopNode.cc.
References funct::m, alignCSCRings::r, alignCSCRings::s, and protons_cff::t.
Referenced by paintShape().
|
staticprotected |
Definition at line 59 of file FWGeoTopNode.cc.
Referenced by FWEveOverlap::GetHighlightTooltip(), FWEveDetectorGeo::GetHighlightTooltip(), printSelected(), and SetStateOf().
|
inlinevirtual |
Reimplemented in FWEveDetectorGeo, and FWEveOverlap.
Definition at line 70 of file FWGeoTopNode.h.
Referenced by getFirstSelectedTableIndex(), paintShape(), printSelected(), ProcessSelection(), selectPhysicalFromTable(), SetStateOf(), UnHighlighted(), and UnSelected().
|
override |
Definition at line 359 of file FWGeoTopNode.cc.
References begin, ClearSet(), fHted, mps_fire::i, FWGeometryTableManagerBase::kHighlighted, FWGeometryTableManagerBase::refEntries(), and tableManager().
Referenced by popupMenu(), and FWGeometryTableViewBase::setColumnSelected().
|
override |
Definition at line 351 of file FWGeoTopNode.cc.
References begin, ClearSet(), fSted, mps_fire::i, FWGeometryTableManagerBase::kSelected, FWGeometryTableManagerBase::refEntries(), and tableManager().
Referenced by popupMenu(), and FWGeometryTableViewBase::setColumnSelected().
|
private |
Definition at line 415 of file FWGeoTopNode.cc.
References browser(), FWGeometryTableViewBase::getLeafTransparencyFactor(), FWGeometryTableViewBase::getParentTransparencyFactor(), FWGeometryTableManagerBase::NodeInfo::m_transparency, and Max().
Referenced by paintShape().
|
friend |
Definition at line 44 of file FWGeoTopNode.h.
std::set<TGLPhysicalShape*> FWGeoTopNode::fHted |
Definition at line 73 of file FWGeoTopNode.h.
Referenced by FWEveOverlap::GetHighlightTooltip(), FWEveDetectorGeo::GetHighlightTooltip(), FWGeoTopNodeGL::ProcessSelection(), SetStateOf(), and UnHighlighted().
std::set<TGLPhysicalShape*> FWGeoTopNode::fSted |
Definition at line 74 of file FWGeoTopNode.h.
Referenced by getFirstSelectedTableIndex(), printSelected(), FWGeoTopNodeGL::ProcessSelection(), selectPhysicalFromTable(), setPopupMenu(), SetStateOf(), and UnSelected().
FWGeoTopNodeGLScene* FWGeoTopNode::m_scene |
Definition at line 68 of file FWGeoTopNode.h.
Referenced by FWGeometryTableViewBase::addTo(), FWGeometryTableView::FWGeometryTableView(), FWOverlapTableView::FWOverlapTableView(), paintShape(), ProcessSelection(), FWGeometryTableViewBase::refreshTable3D(), and selectPhysicalFromTable().
|
static |
Definition at line 86 of file FWGeoTopNode.h.
Referenced by FWGeometryTableViewBase::chosenItem(), and setPopupMenu().
|
static |
Definition at line 87 of file FWGeoTopNode.h.
Referenced by FWGeometryTableViewBase::chosenItem(), and setPopupMenu().