CMS 3D CMS Logo

List of all members | Classes | Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions | Friends
FWGeometryTableManagerBase Class Referenceabstract

#include <Fireworks/Core/interface/FWGeometryTableManagerBase.h>

Inheritance diagram for FWGeometryTableManagerBase:
FWTableManagerBase FWGeometryTableManager FWOverlapTableManager

Classes

class  ColorBoxRenderer
 
struct  NodeInfo
 

Public Types

enum  Bits {
  kExpanded = BIT(0), kVisNodeSelf = BIT(1), kVisNodeChld = BIT(2), kHighlighted = BIT(3),
  kSelected = BIT(4)
}
 
typedef Entries_v::iterator Entries_i
 
typedef std::vector< NodeInfoEntries_v
 

Public Member Functions

virtual void applyColorTranspToDaughters (int selectedIdx, bool recurse)
 
void applyTransparencyFromEditor ()
 
void cancelEditor (bool)
 
bool cellDataIsSortable () const override
 
virtual const char * cellName (const NodeInfo &) const
 
bool firstColumnClicked (int row, int xPos)
 
 FWGeometryTableManagerBase ()
 
 FWGeometryTableManagerBase (const FWGeometryTableManagerBase &)
 
int getLevelOffset () const
 
void getNodeMatrix (const NodeInfo &nodeInfo, TGeoHMatrix &mat) const
 
void getNodePath (int, std::string &) const
 
NodeInfogetSelected ()
 
std::vector< std::string > getTitles () const override
 returns the title names for each column More...
 
virtual bool getVisibility (const NodeInfo &nodeInfo) const
 
virtual bool getVisibilityChld (const NodeInfo &nodeInfo) const
 
void implSort (int, bool) override
 Called by 'sort' method to actually handle the sorting of the rows. Arguments are the same as 'sort'. More...
 
bool isNodeRendered (int idx, int top_node_idx) const
 
void loadGeometry (TGeoNode *, TObjArray *)
 
bool nodeImported (int idx) const
 
int numberOfRows () const override
 Number of rows in the table. More...
 
const FWGeometryTableManagerBaseoperator= (const FWGeometryTableManagerBase &)
 
virtual void recalculateVisibility ()=0
 
void redrawTable (bool setExpand=false)
 
Entries_vrefEntries ()
 
NodeInforefEntry (int i)
 
std::vector< int > rowToIndex ()
 
void setBackgroundToWhite (bool)
 
void setCellValueEditor (TGTextEntry *editor)
 
void setDaughtersSelfVisibility (bool)
 
virtual void setDaughtersSelfVisibility (int selectedIdx, bool v)
 
void setLevelOffset (int x)
 
virtual void setVisibility (NodeInfo &, bool)
 
virtual void setVisibilityChld (NodeInfo &, bool)
 
void showEditor (int)
 
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 underlying data More...
 
 ~FWGeometryTableManagerBase () override
 
- Public Member Functions inherited from FWTableManagerBase
virtual void buttonPressedInRowHeader (Int_t row, Event_t *event, Int_t relX, Int_t relY)
 Called if mouse button pressed in Row Header, defaults is to do nothing. More...
 
virtual void buttonReleasedInRowHeader (Int_t row, Event_t *event, Int_t relX, Int_t relY)
 
virtual unsigned int cellHeight () const
 require all cells to be the same height More...
 
virtual FWTableCellRendererBasecellRenderer (int iSortedRowNumber, int iCol) const =0
 
 ClassDefOverride (FWTableManagerBase, 0)
 
void dataChanged ()
 Classes which inherit from FWTableManagerBase must call this when their underlying data changes. More...
 
 FWTableManagerBase ()
 
virtual bool hasLabelHeaders () const
 
virtual bool hasRowHeaders () const
 Returns 'true' if this table has row headers. Defaults return value is false. More...
 
virtual std::vector< unsigned int > maxWidthForColumns () const
 for each column in the table this returns the present maximum width for that column More...
 
virtual int numberOfColumns () const =0
 Number of columns in the table. More...
 
virtual FWTableCellRendererBaserowHeader (int iSortedRowNumber) const
 Returns the renderer for the row header for the sorted row number iSortedRowNumber. More...
 
void sort (int iCol, bool iSortOrder)
 Call to have table sorted on values in column iCol with the sort order being descending if iSortOrder is 'true'. More...
 
int sortColumn (void)
 The current sort column. More...
 
bool sortOrder (void)
 The current sort order for the table. More...
 
void visualPropertiesChanged ()
 Classes which inherit from FWTableManagerBase must call this when how the data is shown (e.g. color) changes. More...
 
 ~FWTableManagerBase () override
 

Static Public Member Functions

static void getNNodesTotal (TGeoNode *geoNode, int &off)
 

Public Attributes

ColorBoxRenderer m_colorBoxRenderer
 
TGTextEntry * m_editor
 
int m_editTransparencyIdx
 
Entries_v m_entries
 
TGGC * m_highlightContext
 
int m_highlightIdx
 
int m_levelOffset
 
FWTextTreeCellRenderer m_renderer
 
std::vector< int > m_row_to_index
 

Protected Member Functions

virtual bool nodeIsParent (const NodeInfo &) const
 

Friends

class FWGeometryTableViewBase
 

Detailed Description

Description: [one line class summary]

Usage: <usage>

Definition at line 36 of file FWGeometryTableManagerBase.h.

Member Typedef Documentation

◆ Entries_i

typedef Entries_v::iterator FWGeometryTableManagerBase::Entries_i

Definition at line 88 of file FWGeometryTableManagerBase.h.

◆ Entries_v

Definition at line 87 of file FWGeometryTableManagerBase.h.

Member Enumeration Documentation

◆ Bits

Constructor & Destructor Documentation

◆ FWGeometryTableManagerBase() [1/2]

FWGeometryTableManagerBase::FWGeometryTableManagerBase ( )

Definition at line 86 of file FWGeometryTableManagerBase.cc.

References FWTextTableCellRenderer::height(), m_colorBoxRenderer, FWGeometryTableManagerBase::ColorBoxRenderer::m_height, m_highlightContext, m_renderer, FWGeometryTableManagerBase::ColorBoxRenderer::m_width, and FWTextTableCellRenderer::setHighlightContext().

90 
91  GCValues_t gval;
92  gval.fMask = kGCForeground | kGCBackground | kGCStipple | kGCFillStyle | kGCGraphicsExposures;
93  gval.fForeground = gVirtualX->GetPixel(kGray); //gClient->GetResourcePool()->GetFrameHiliteColor();
94  gval.fBackground = gVirtualX->GetPixel(kWhite); //gClient->GetResourcePool()->GetFrameBgndColor();
95  gval.fFillStyle = kFillOpaqueStippled; // kFillTiled;
96  gval.fStipple = gClient->GetResourcePool()->GetCheckeredBitmap();
97  gval.fGraphicsExposures = kFALSE;
98  m_highlightContext = gClient->GetGC(&gval, kTRUE);
99 
101 }
UInt_t height() const override
returns the minimum height of the cell to which the renderer is representing
void setHighlightContext(const TGGC *context)

◆ ~FWGeometryTableManagerBase()

FWGeometryTableManagerBase::~FWGeometryTableManagerBase ( )
override

Definition at line 103 of file FWGeometryTableManagerBase.cc.

103 {}

◆ FWGeometryTableManagerBase() [2/2]

FWGeometryTableManagerBase::FWGeometryTableManagerBase ( const FWGeometryTableManagerBase )

Member Function Documentation

◆ applyColorTranspToDaughters()

void FWGeometryTableManagerBase::applyColorTranspToDaughters ( int  selectedIdx,
bool  recurse 
)
virtual

Definition at line 286 of file FWGeometryTableManagerBase.cc.

References data, getNNodesTotal(), heavyIonCSV_trainingSettings::idx, m_entries, FWGeometryTableManagerBase::NodeInfo::m_node, and create_idmaps::n.

Referenced by FWGeometryTableViewBase::chosenItem().

286  {
287  NodeInfo& nInfo = m_entries[selectedIdx];
288  TGeoNode* parentNode = nInfo.m_node;
289  int nD = parentNode->GetNdaughters();
290  int dOff = 0;
291  for (int n = 0; n != nD; ++n) {
292  int idx = selectedIdx + 1 + n + dOff;
293  NodeInfo& data = m_entries[idx];
294 
295  data.copyColorTransparency(nInfo);
296 
297  if (recurse) {
299  }
300 
301  getNNodesTotal(parentNode->GetDaughter(n), dOff);
302  }
303 }
virtual void applyColorTranspToDaughters(int selectedIdx, bool recurse)
static void getNNodesTotal(TGeoNode *geoNode, int &off)
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:80

◆ applyTransparencyFromEditor()

void FWGeometryTableManagerBase::applyTransparencyFromEditor ( )

Definition at line 223 of file FWGeometryTableManagerBase.cc.

References cancelEditor(), cppFunctionSkipper::exception, fwLog, fwlog::kError, m_editor, m_editTransparencyIdx, m_entries, and submitPVValidationJobs::t.

Referenced by FWGeometryTableViewBase::transparencyChanged().

223  {
224  printf("transparency idx %d opaci %s \n", m_editTransparencyIdx, m_editor->GetText());
225  if (m_editTransparencyIdx >= 0) {
226  try {
227  int t = std::stoi(m_editor->GetText());
228  if (t > 100 || t < 0) {
229  fwLog(fwlog::kError) << "Transparency must be set in procentage [0-100].";
230  return;
231  }
232  m_entries[m_editTransparencyIdx].m_transparency = 100 - t;
233  printf("SET !! \n");
234  cancelEditor(true);
235  } catch (const std::exception&) {
236  fwLog(fwlog::kError) << "Bad Lexical cast. Transparency must be set in procentage [0-100].";
237  }
238  }
239 }
#define fwLog(_level_)
Definition: fwLog.h:45

◆ cancelEditor()

void FWGeometryTableManagerBase::cancelEditor ( bool  redraw)

Definition at line 241 of file FWGeometryTableManagerBase.cc.

References m_editor, m_editTransparencyIdx, and redrawTable().

Referenced by applyTransparencyFromEditor(), and FWGeometryTableViewBase::cellClicked().

241  {
243 
244  if (m_editor->IsMapped()) {
245  m_editor->UnmapWindow();
246  if (redraw)
247  redrawTable();
248  }
249 }
void redrawTable(bool setExpand=false)

◆ cellDataIsSortable()

bool FWGeometryTableManagerBase::cellDataIsSortable ( ) const
inlineoverridevirtual

Reimplemented from FWTableManagerBase.

Definition at line 186 of file FWGeometryTableManagerBase.h.

186 { return false; }

◆ cellName()

virtual const char* FWGeometryTableManagerBase::cellName ( const NodeInfo ) const
inlinevirtual

Reimplemented in FWGeometryTableManager.

Definition at line 119 of file FWGeometryTableManagerBase.h.

119 { return nullptr; }

◆ firstColumnClicked()

bool FWGeometryTableManagerBase::firstColumnClicked ( int  row,
int  xPos 
)

Definition at line 134 of file FWGeometryTableManagerBase.cc.

References FWTableManagerBase::dataChanged(), heavyIonCSV_trainingSettings::idx, kExpanded, m_entries, m_levelOffset, recalculateVisibility(), rowToIndex(), and FWTableManagerBase::visualPropertiesChanged().

Referenced by FWGeometryTableViewBase::cellClicked().

134  {
135  if (row == -1)
136  return false;
137 
138  int idx = rowToIndex()[row];
139  // printf("click %s \n", m_entries[idx].name());
140 
141  int off = 0;
142  if (idx >= 0)
143  off = (m_entries[idx].m_level - m_levelOffset) * 20;
144 
145  // printf("compare %d %d level %d\n" , xPos, off, idx);
146  if (xPos > off && xPos < (off + 20)) {
147  m_entries[idx].switchBit(kExpanded);
148 
150  dataChanged();
152  return false;
153  }
154 
155  return true;
156 }
virtual void recalculateVisibility()=0
void dataChanged()
Classes which inherit from FWTableManagerBase must call this when their underlying data changes...
void visualPropertiesChanged()
Classes which inherit from FWTableManagerBase must call this when how the data is shown (e...

◆ getLevelOffset()

int FWGeometryTableManagerBase::getLevelOffset ( ) const
inline

Definition at line 151 of file FWGeometryTableManagerBase.h.

References m_levelOffset.

Referenced by FWEveDetectorGeo::Paint().

◆ getNNodesTotal()

void FWGeometryTableManagerBase::getNNodesTotal ( TGeoNode *  geoNode,
int &  off 
)
inlinestatic

◆ getNodeMatrix()

void FWGeometryTableManagerBase::getNodeMatrix ( const NodeInfo nodeInfo,
TGeoHMatrix &  mat 
) const

Definition at line 160 of file FWGeometryTableManagerBase.cc.

References data, and m_entries.

Referenced by FWEveDetectorGeo::Paint(), and FWEveOverlap::Paint().

160  {
161  // utility used by browser and FWGeoNode
162  // printf("================ FWGeometryTableManagerBase::getNodeMatri \n");
163  int pIdx = data.m_parent;
164 
165  while (pIdx > 0) {
166  // printf("%s [%d]\n",m_entries.at(pIdx).name(), m_entries.at(pIdx).m_level );
167  mtx.MultiplyLeft(m_entries.at(pIdx).m_node->GetMatrix());
168  pIdx = m_entries.at(pIdx).m_parent;
169  }
170 
171  // printf("right %s [%d]\n",data.name(), data.m_level );
172  mtx.Multiply(data.m_node->GetMatrix());
173 }
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:80

◆ getNodePath()

void FWGeometryTableManagerBase::getNodePath ( int  idx,
std::string &  path 
) const

Definition at line 191 of file FWGeometryTableManagerBase.cc.

References mps_fire::i, heavyIonCSV_trainingSettings::idx, m_entries, mergeVDriftHistosByStation::name, and EnsembleCalibrationLA_cfg::path.

Referenced by FWGeometryTableViewBase::cdNode(), FWGeometryTableViewBase::cdUp(), and FWGeometryTableViewBase::chosenItem().

191  {
192  std::vector<std::string> relPath;
193  while (idx >= 0) {
194  relPath.push_back(m_entries[idx].name());
195  // printf("push %s \n",m_entries[idx].name() );
196  idx = m_entries[idx].m_parent;
197  }
198 
199  size_t ns = relPath.size();
200  for (size_t i = 1; i < ns; ++i) {
201  path += "/";
202  path += relPath[ns - i - 1];
203  // printf("push_back add to path %s\n", path.c_str());
204  }
205 }

◆ getSelected()

NodeInfo* FWGeometryTableManagerBase::getSelected ( )

◆ getTitles()

std::vector< std::string > FWGeometryTableManagerBase::getTitles ( ) const
overridevirtual

returns the title names for each column

Implements FWTableManagerBase.

Reimplemented in FWOverlapTableManager.

Definition at line 109 of file FWGeometryTableManagerBase.cc.

References FWTableManagerBase::numberOfColumns().

109  {
110  std::vector<std::string> returnValue;
111  returnValue.reserve(numberOfColumns());
112 
113  returnValue.push_back("Name");
114  returnValue.push_back("Color");
115  returnValue.push_back("Opcty");
116  returnValue.push_back("RnrSelf");
117  returnValue.push_back("RnrChildren");
118  returnValue.push_back("Material");
119  return returnValue;
120 }
virtual int numberOfColumns() const =0
Number of columns in the table.

◆ getVisibility()

bool FWGeometryTableManagerBase::getVisibility ( const NodeInfo nodeInfo) const
virtual

Reimplemented in FWGeometryTableManager.

Definition at line 278 of file FWGeometryTableManagerBase.cc.

References data, and kVisNodeSelf.

278 { return data.testBit(kVisNodeSelf); }
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:80

◆ getVisibilityChld()

bool FWGeometryTableManagerBase::getVisibilityChld ( const NodeInfo nodeInfo) const
virtual

Reimplemented in FWGeometryTableManager.

Definition at line 282 of file FWGeometryTableManagerBase.cc.

References data, and kVisNodeChld.

282 { return data.testBit(kVisNodeChld); }
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:80

◆ implSort()

void FWGeometryTableManagerBase::implSort ( int  iCol,
bool  iSortOrder 
)
inlineoverridevirtual

Called by 'sort' method to actually handle the sorting of the rows. Arguments are the same as 'sort'.

Implements FWTableManagerBase.

Definition at line 136 of file FWGeometryTableManagerBase.h.

136 {}

◆ isNodeRendered()

bool FWGeometryTableManagerBase::isNodeRendered ( int  idx,
int  top_node_idx 
) const

Definition at line 307 of file FWGeometryTableManagerBase.cc.

References data, heavyIonCSV_trainingSettings::idx, kVisNodeChld, kVisNodeSelf, and m_entries.

Referenced by FWOverlapTableView::refreshTable3D().

307  {
308  const NodeInfo& data = m_entries[idx];
309  bool foundParent = false;
310 
311  if (data.testBit(kVisNodeSelf)) {
312  int pidx = data.m_parent;
313  while (pidx >= 0) {
314  if (!m_entries[pidx].testBit(kVisNodeChld)) {
315  // printf ("parent disallow not visible !!! \n");
316  return false;
317  }
318 
319  if (pidx == topNodeIdx) {
320  foundParent = true;
321  // printf("parent found \n");
322  break;
323  }
324  pidx = m_entries[pidx].m_parent;
325  }
326 
327  return foundParent;
328  }
329  return false;
330 }
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:80

◆ loadGeometry()

void FWGeometryTableManagerBase::loadGeometry ( TGeoNode *  ,
TObjArray *   
)

◆ nodeImported()

bool FWGeometryTableManagerBase::nodeImported ( int  idx) const

◆ nodeIsParent()

virtual bool FWGeometryTableManagerBase::nodeIsParent ( const NodeInfo ) const
inlineprotectedvirtual

Reimplemented in FWGeometryTableManager, and FWOverlapTableManager.

Definition at line 112 of file FWGeometryTableManagerBase.h.

112 { return false; }

◆ numberOfRows()

int FWGeometryTableManagerBase::numberOfRows ( ) const
overridevirtual

Number of rows in the table.

Implements FWTableManagerBase.

Definition at line 107 of file FWGeometryTableManagerBase.cc.

References m_row_to_index.

107 { return m_row_to_index.size(); }

◆ operator=()

const FWGeometryTableManagerBase& FWGeometryTableManagerBase::operator= ( const FWGeometryTableManagerBase )

◆ recalculateVisibility()

virtual void FWGeometryTableManagerBase::recalculateVisibility ( )
pure virtual

◆ redrawTable()

void FWGeometryTableManagerBase::redrawTable ( bool  setExpand = false)

Definition at line 176 of file FWGeometryTableManagerBase.cc.

References FWTableManagerBase::dataChanged(), m_entries, recalculateVisibility(), and FWTableManagerBase::visualPropertiesChanged().

Referenced by FWGeometryTableView::autoExpandCallback(), cancelEditor(), FWGeometryTableViewBase::refreshTable3D(), FWGeometryTableViewBase::setColumnSelected(), and showEditor().

176  {
177  // std::cerr << "GeometryTableManagerBase::redrawTable ------------------------------------- \n";
178  if (m_entries.empty())
179  return;
180 
181  // if (setExpand) checkExpandLevel();
182 
184 
185  dataChanged();
187 }
virtual void recalculateVisibility()=0
void dataChanged()
Classes which inherit from FWTableManagerBase must call this when their underlying data changes...
void visualPropertiesChanged()
Classes which inherit from FWTableManagerBase must call this when how the data is shown (e...

◆ refEntries()

Entries_v& FWGeometryTableManagerBase::refEntries ( )
inline

◆ refEntry()

NodeInfo& FWGeometryTableManagerBase::refEntry ( int  i)
inline

◆ rowToIndex()

std::vector<int> FWGeometryTableManagerBase::rowToIndex ( )
inline

Definition at line 133 of file FWGeometryTableManagerBase.h.

References m_row_to_index.

Referenced by FWGeometryTableViewBase::cellClicked(), and firstColumnClicked().

133 { return m_row_to_index; }

◆ setBackgroundToWhite()

void FWGeometryTableManagerBase::setBackgroundToWhite ( bool  iToWhite)

Definition at line 124 of file FWGeometryTableManagerBase.cc.

References m_renderer, FWTextTreeCellRenderer::setBlackIcon(), and FWTextTableCellRenderer::setGraphicsContext().

Referenced by FWGeometryTableViewBase::setBackgroundColor().

124  {
125  if (iToWhite) {
126  m_renderer.setGraphicsContext(&TGFrame::GetBlackGC());
127  } else {
128  m_renderer.setGraphicsContext(&TGFrame::GetWhiteGC());
129  }
130  m_renderer.setBlackIcon(iToWhite);
131 }
void setGraphicsContext(const TGGC *iContext)

◆ setCellValueEditor()

void FWGeometryTableManagerBase::setCellValueEditor ( TGTextEntry *  editor)

Definition at line 209 of file FWGeometryTableManagerBase.cc.

References m_editor, m_renderer, and FWTextTreeCellRenderer::setCellEditor().

Referenced by FWGeometryTableViewBase::postConst().

209  {
210  m_editor = editor;
212 }
virtual void setCellEditor(TGTextEntry *editor)

◆ setDaughtersSelfVisibility() [1/2]

void FWGeometryTableManagerBase::setDaughtersSelfVisibility ( bool  )

◆ setDaughtersSelfVisibility() [2/2]

void FWGeometryTableManagerBase::setDaughtersSelfVisibility ( int  selectedIdx,
bool  v 
)
virtual

Reimplemented in FWOverlapTableManager, and FWGeometryTableManager.

Definition at line 261 of file FWGeometryTableManagerBase.cc.

References data, getNNodesTotal(), heavyIonCSV_trainingSettings::idx, m_entries, create_idmaps::n, setVisibility(), setVisibilityChld(), and findQualityFiles::v.

261  {
262  TGeoNode* parentNode = m_entries[selectedIdx].m_node;
263  int nD = parentNode->GetNdaughters();
264  int dOff = 0;
265  for (int n = 0; n != nD; ++n) {
266  int idx = selectedIdx + 1 + n + dOff;
267  NodeInfo& data = m_entries[idx];
268 
269  setVisibility(data, v);
271 
272  getNNodesTotal(parentNode->GetDaughter(n), dOff);
273  }
274 }
virtual void setVisibilityChld(NodeInfo &, bool)
virtual void setVisibility(NodeInfo &, bool)
static void getNNodesTotal(TGeoNode *geoNode, int &off)
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:80

◆ setLevelOffset()

void FWGeometryTableManagerBase::setLevelOffset ( int  x)
inline

◆ setVisibility()

void FWGeometryTableManagerBase::setVisibility ( NodeInfo data,
bool  x 
)
virtual

◆ setVisibilityChld()

void FWGeometryTableManagerBase::setVisibilityChld ( NodeInfo data,
bool  x 
)
virtual

Reimplemented in FWGeometryTableManager.

Definition at line 257 of file FWGeometryTableManagerBase.cc.

References data, kVisNodeChld, and x.

Referenced by FWGeometryTableViewBase::cellClicked(), and setDaughtersSelfVisibility().

257 { data.setBitVal(kVisNodeChld, x); }
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:80

◆ showEditor()

void FWGeometryTableManagerBase::showEditor ( int  row)

Definition at line 214 of file FWGeometryTableManagerBase.cc.

References m_editor, m_editTransparencyIdx, m_entries, and redrawTable().

Referenced by FWGeometryTableViewBase::cellClicked().

214  {
215  m_editTransparencyIdx = row;
216  m_editor->UnmapWindow();
217  m_editor->SetText(Form("%d", 100 - m_entries[row].m_transparency));
218  m_editor->Resize(40, 17);
219  m_editor->SetCursorPosition(2);
220  redrawTable();
221 }
void redrawTable(bool setExpand=false)

◆ title()

const std::string FWGeometryTableManagerBase::title ( ) const
virtual

Definition at line 122 of file FWGeometryTableManagerBase.cc.

122 { return "Geometry"; }

◆ unsortedRowNumber()

int FWGeometryTableManagerBase::unsortedRowNumber ( int  iSortedRowNumber) const
overridevirtual

when passed the index to the sorted order of the rows it returns the original row number from the underlying data

Implements FWTableManagerBase.

Definition at line 105 of file FWGeometryTableManagerBase.cc.

105 { return unsorted; }

Friends And Related Function Documentation

◆ FWGeometryTableViewBase

friend class FWGeometryTableViewBase
friend

Definition at line 37 of file FWGeometryTableManagerBase.h.

Member Data Documentation

◆ m_colorBoxRenderer

ColorBoxRenderer FWGeometryTableManagerBase::m_colorBoxRenderer
mutable

◆ m_editor

TGTextEntry* FWGeometryTableManagerBase::m_editor

◆ m_editTransparencyIdx

int FWGeometryTableManagerBase::m_editTransparencyIdx

◆ m_entries

Entries_v FWGeometryTableManagerBase::m_entries

◆ m_highlightContext

TGGC* FWGeometryTableManagerBase::m_highlightContext
mutable

◆ m_highlightIdx

int FWGeometryTableManagerBase::m_highlightIdx

Definition at line 90 of file FWGeometryTableManagerBase.h.

◆ m_levelOffset

int FWGeometryTableManagerBase::m_levelOffset

◆ m_renderer

FWTextTreeCellRenderer FWGeometryTableManagerBase::m_renderer
mutable

◆ m_row_to_index

std::vector<int> FWGeometryTableManagerBase::m_row_to_index