1 #ifndef Fireworks_Core_FWGeometryTableManagerBase_h
2 #define Fireworks_Core_FWGeometryTableManagerBase_h
22 #include <sigc++/sigc++.h>
71 const char*
name()
const;
101 virtual void draw(Drawable_t iID,
int iX,
int iY,
unsigned int iWidth,
unsigned int iHeight);
124 virtual std::vector<std::string>
getTitles()
const;
126 virtual const std::string
title()
const;
155 void getNodeMatrix(
const NodeInfo& nodeInfo, TGeoHMatrix& mat)
const;
207 int nD = geoNode->GetNdaughters();
209 for (
int i = 0;
i < nD; ++
i )
virtual std::vector< std::string > getTitles() const
returns the title names for each column
virtual void draw(Drawable_t iID, int iX, int iY, unsigned int iWidth, unsigned int iHeight)
bool firstColumnClicked(int row, int xPos)
virtual bool nodeIsParent(const NodeInfo &) const
const char * name() const
std::vector< int > m_row_to_index
virtual bool getVisibility(const NodeInfo &nodeInfo) const
virtual const char * cellName(const NodeInfo &) const
virtual void recalculateVisibility()=0
virtual ~ColorBoxRenderer()
virtual bool getVisibilityChld(const NodeInfo &nodeInfo) const
void getNodePath(int, std::string &) const
void getNodeMatrix(const NodeInfo &nodeInfo, TGeoHMatrix &mat) const
virtual void setVisibilityChld(NodeInfo &, bool)
std::vector< int > rowToIndex()
TGGC * m_highlightContext
void switchBit(UChar_t f)
void setData(Color_t c, bool)
void setLevelOffset(int x)
bool nodeImported(int idx) const
std::vector< NodeInfo > Entries_v
virtual void implSort(int, bool)
Called by 'sort' method to actually handle the sorting of the rows. Arguments are the same as 'sort'...
const FWGeometryTableManagerBase & operator=(const FWGeometryTableManagerBase &)
FWGeometryTableManagerBase()
virtual const std::string title() const
virtual ~FWGeometryTableManagerBase()
void setBackgroundToWhite(bool)
void applyTransparencyFromEditor()
void loadGeometry(TGeoNode *, TObjArray *)
void setDaughtersSelfVisibility(bool)
int m_editTransparencyIdx
virtual void setVisibility(NodeInfo &, bool)
static void getNNodesTotal(TGeoNode *geoNode, int &off)
virtual int unsortedRowNumber(int unsorted) const
when passed the index to the sorted order of the rows it returns the original row number from the und...
NodeInfo(TGeoNode *n, Int_t p, Color_t col, Char_t l, UChar_t f=kVisNodeSelf|kVisNodeChld)
NodeInfo & refEntry(int i)
void setCellValueEditor(TGTextEntry *editor)
void setBitVal(UChar_t f, bool x)
int getLevelOffset() const
virtual UInt_t height() const
returns the minimum height of the cell to which the renderer is representing
virtual UInt_t width() const
returns the minimum width of the cell to which the renderer is representing
Entries_v::iterator Entries_i
virtual bool cellDataIsSortable() const
FWTextTreeCellRenderer m_renderer
void redrawTable(bool setExpand=false)
bool testBitAny(UChar_t f) const
ColorBoxRenderer m_colorBoxRenderer
bool testBit(UChar_t f) const
virtual int numberOfRows() const
Number of rows in the table.