1 #ifndef Fireworks_Core_FWGeoTopNode_h
2 #define Fireworks_Core_FWGeoTopNode_h
25 #include "TEveElement.h"
31 class TGLPhysicalShape;
32 class TGLSelectRecord;
65 FWGeoTopNode(
const char*
n =
"FWGeoTopNode",
const char*
t =
"FWGeoTopNode"){}
68 virtual void Paint(Option_t* option=
"");
74 std::set<TGLPhysicalShape*>
fHted;
75 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);
102 void setupBuffMtx(TBuffer3D& buff,
const TGeoHMatrix& mat);
107 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)
virtual void Paint(Option_t *option="")
int getFirstSelectedTableIndex()
FWGeoTopNodeGLScene * m_scene
UChar_t wrapTransparency(FWGeometryTableManagerBase::NodeInfo &data, bool leafNode)
virtual void popupMenu(int x, int y, TGLViewer *)
virtual void ComputeBBox()
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]
virtual void UnHighlighted()
void EraseFromSet(std::set< TGLPhysicalShape * > &sset, TGLPhysicalShape *id)
void ProcessSelection(TGLSelectRecord &rec, std::set< TGLPhysicalShape * > &sset, TGLPhysicalShape *id)
ClassDef(FWGeoTopNode, 0)
void SetStateOf(TGLPhysicalShape *id)
static int tableIdx(TGLPhysicalShape *ps)
virtual void UnSelected()
static TGLVector3 s_pickedCamera3DCenter
void setupBuffMtx(TBuffer3D &buff, const TGeoHMatrix &mat)
static UInt_t phyID(int tableIdx)