#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 () |
virtual void | Paint (Option_t *option="") |
virtual void | popupMenu (int x, int y, TGLViewer *) |
void | printSelected () |
bool | selectPhysicalFromTable (int) |
virtual FWGeometryTableManagerBase * | tableManager () |
virtual void | UnHighlighted () |
virtual void | UnSelected () |
virtual | ~FWGeoTopNode () |
Public Attributes | |
std::set< TGLPhysicalShape * > | fHted |
std::set< TGLPhysicalShape * > | fSted |
FWGeoTopNodeGLScene * | m_scene |
Static Public Attributes | |
static TGLVector3 | s_pickedCamera3DCenter |
static TGLViewer * | s_pickedViewer = 0 |
Protected Member Functions | |
void | ClearSet (std::set< TGLPhysicalShape * > &sset) |
virtual void | ComputeBBox () |
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 | |
ClassDef (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.
|
inlinevirtual |
Definition at line 65 of file FWGeoTopNode.h.
|
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.
Referenced by FWGeometryTableView::setPath(), and FWGeometryTableViewBase::setPath().
|
protected |
Definition at line 71 of file FWGeoTopNode.cc.
References SetStateOf().
Referenced by ProcessSelection(), UnHighlighted(), and UnSelected().
|
protectedvirtual |
|
protected |
Definition at line 64 of file FWGeoTopNode.cc.
References SetStateOf().
Referenced by ProcessSelection().
int FWGeoTopNode::getFirstSelectedTableIndex | ( | ) |
Definition at line 207 of file FWGeoTopNode.cc.
References fSted, i, FWGeometryTableManagerBase::kSelected, FWGeometryTableManagerBase::refEntries(), and tableManager().
Referenced by FWOverlapTableView::chosenItem(), FWGeometryTableViewBase::chosenItem(), and setPopupMenu().
|
private |
|
virtual |
Reimplemented in FWEveDetectorGeo, and FWEveOverlap.
Definition at line 330 of file FWGeoTopNode.cc.
References WDecay::kNone.
Referenced by FWEveDetectorGeo::Paint(), and FWEveOverlap::Paint().
|
protected |
Definition at line 246 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.
Referenced by FWGeometryTableViewBase::cellClicked(), and FWGeoTopNodeGLScene::GeoPopupMenu().
void FWGeoTopNode::printSelected | ( | ) |
Definition at line 197 of file FWGeoTopNode.cc.
References asciidump::at, fSted, mergeVDriftHistosByStation::name, tableIdx(), and tableManager().
|
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 asciidump::at, fSted, fwLog, fwlog::kInfo, FWGeometryTableManagerBase::kVisNodeSelf, m_scene, phyID(), and tableManager().
Referenced by FWGeometryTableViewBase::setColumnSelected().
|
protected |
Definition at line 370 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 detailsBasic3DVector::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 231 of file FWGeoTopNode.cc.
References visualization-live-secondInstance_cfg::m, alignCSCRings::r, alignCSCRings::s, and edmStreamStallGrapher::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().
|
virtual |
Definition at line 361 of file FWGeoTopNode.cc.
References begin, ClearSet(), fHted, i, FWGeometryTableManagerBase::kHighlighted, FWGeometryTableManagerBase::refEntries(), and tableManager().
Referenced by FWGeometryTableViewBase::setColumnSelected().
|
virtual |
Definition at line 353 of file FWGeoTopNode.cc.
References begin, ClearSet(), fSted, i, FWGeometryTableManagerBase::kSelected, FWGeometryTableManagerBase::refEntries(), and tableManager().
Referenced by FWGeometryTableViewBase::setColumnSelected().
|
private |
Definition at line 417 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 clearSelection(), FWEveOverlap::GetHighlightTooltip(), FWEveDetectorGeo::GetHighlightTooltip(), FWGeoTopNodeGL::ProcessSelection(), SetStateOf(), and UnHighlighted().
std::set<TGLPhysicalShape*> FWGeoTopNode::fSted |
Definition at line 74 of file FWGeoTopNode.h.
Referenced by clearSelection(), 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().