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