1 #ifndef Fireworks_Core_FWGeoTopNode_h
2 #define Fireworks_Core_FWGeoTopNode_h
24 #include "TEveElement.h"
30 class TGLPhysicalShape;
31 class TGLSelectRecord;
62 FWGeoTopNode(
const char*
n =
"FWGeoTopNode",
const char*
t =
"FWGeoTopNode") {}
65 void Paint(Option_t* option =
"")
override;
71 std::set<TGLPhysicalShape*>
fHted;
72 std::set<TGLPhysicalShape*>
fSted;
92 static int tableIdx(TGLPhysicalShape* ps);
94 void ProcessSelection(TGLSelectRecord& rec, std::set<TGLPhysicalShape*>& sset, TGLPhysicalShape*
id);
96 void EraseFromSet(std::set<TGLPhysicalShape*>& sset, TGLPhysicalShape*
id);
97 void ClearSet(std::set<TGLPhysicalShape*>& sset);
101 void setupBuffMtx(TBuffer3D& buff,
const TGeoHMatrix& mat);
105 void paintShape(Int_t idx,
const TGeoHMatrix& nm,
bool volumeColor,
bool parentNode);
std::set< TGLPhysicalShape * > fSted
virtual FWGeometryTableManagerBase * tableManager()
void ClearSet(std::set< TGLPhysicalShape * > &sset)
int getFirstSelectedTableIndex()
void UnHighlighted() override
FWGeoTopNodeGLScene * m_scene
void UnSelected() override
UChar_t wrapTransparency(FWGeometryTableManagerBase::NodeInfo &data, bool leafNode)
ClassDefOverride(FWGeoTopNode, 0)
virtual void popupMenu(int x, int y, TGLViewer *)
FWGeoTopNode(const char *n="FWGeoTopNode", const char *t="FWGeoTopNode")
FWPopupMenu * setPopupMenu(int iX, int iY, TGLViewer *v, bool)
virtual FWGeometryTableViewBase * browser()
bool selectPhysicalFromTable(int)
static TGLViewer * s_pickedViewer
const FWGeoTopNode & operator=(const FWGeoTopNode &)
std::set< TGLPhysicalShape * > fHted
void paintShape(Int_t idx, const TGeoHMatrix &nm, bool volumeColor, bool parentNode)
char data[epos_bytes_allocation]
void Paint(Option_t *option="") override
void EraseFromSet(std::set< TGLPhysicalShape * > &sset, TGLPhysicalShape *id)
void ProcessSelection(TGLSelectRecord &rec, std::set< TGLPhysicalShape * > &sset, TGLPhysicalShape *id)
void SetStateOf(TGLPhysicalShape *id)
static int tableIdx(TGLPhysicalShape *ps)
void ComputeBBox() override
static TGLVector3 s_pickedCamera3DCenter
void setupBuffMtx(TBuffer3D &buff, const TGeoHMatrix &mat)
static UInt_t phyID(int tableIdx)