OpenSceneGraph 2.8.4
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes
osgWidget::Table Class Reference
Inheritance diagram for osgWidget::Table:
Inheritance graph
[legend]

List of all members.

Public Types

typedef std::vector< point_typeCellSizes

Public Member Functions

 META_Object (osgWidget, Table)
 Table (const std::string &="", unsigned int=0, unsigned int=0)
 Table (const Table &, const osg::CopyOp &)
virtual bool addWidget (Widget *)
virtual bool addWidget (Widget *, unsigned int, unsigned int)
void getRowHeights (CellSizes &) const
void getRowMinHeights (CellSizes &) const
void getColumnWidths (CellSizes &) const
void getColumnMinWidths (CellSizes &) const
void addHeightToRow (unsigned int, point_type)
void addWidthToColumn (unsigned int, point_type)
bool isRowVerticallyFillable (unsigned int) const
bool isColumnHorizontallyFillable (unsigned int) const
WidgetgetByRowCol (unsigned int row, unsigned int col)
const WidgetgetByRowCol (unsigned int row, unsigned int col) const

Protected Member Functions

unsigned int _calculateIndex (unsigned int, unsigned int) const
void _getRows (CellSizes &, Getter) const
void _getColumns (CellSizes &, Getter) const
virtual void _resizeImplementation (point_type, point_type)
virtual Sizes _getWidthImplementation () const
virtual Sizes _getHeightImplementation () const

Protected Attributes

unsigned int _rows
unsigned int _cols
unsigned int _lastRowAdd
unsigned int _lastColAdd

Member Typedef Documentation


Constructor & Destructor Documentation

osgWidget::Table::Table ( const std::string &  = "",
unsigned  int = 0,
unsigned  int = 0 
)
osgWidget::Table::Table ( const Table ,
const osg::CopyOp  
)

Member Function Documentation

unsigned int osgWidget::Table::_calculateIndex ( unsigned  int,
unsigned  int 
) const [protected]
void osgWidget::Table::_getColumns ( CellSizes ,
Getter   
) const [protected]
virtual Sizes osgWidget::Table::_getHeightImplementation ( ) const [protected, virtual]

Reimplemented from osgWidget::Window.

void osgWidget::Table::_getRows ( CellSizes ,
Getter   
) const [protected]
virtual Sizes osgWidget::Table::_getWidthImplementation ( ) const [protected, virtual]

Reimplemented from osgWidget::Window.

virtual void osgWidget::Table::_resizeImplementation ( point_type  ,
point_type   
) [protected, virtual]

Implements osgWidget::Window.

void osgWidget::Table::addHeightToRow ( unsigned  int,
point_type   
)
virtual bool osgWidget::Table::addWidget ( Widget ) [virtual]

Reimplemented from osgWidget::Window.

virtual bool osgWidget::Table::addWidget ( Widget ,
unsigned  int,
unsigned  int 
) [virtual]
void osgWidget::Table::addWidthToColumn ( unsigned  int,
point_type   
)
const Widget* osgWidget::Table::getByRowCol ( unsigned int  row,
unsigned int  col 
) const [inline]
Widget* osgWidget::Table::getByRowCol ( unsigned int  row,
unsigned int  col 
) [inline]
void osgWidget::Table::getColumnMinWidths ( CellSizes ) const
void osgWidget::Table::getColumnWidths ( CellSizes ) const
void osgWidget::Table::getRowHeights ( CellSizes ) const
void osgWidget::Table::getRowMinHeights ( CellSizes ) const
bool osgWidget::Table::isColumnHorizontallyFillable ( unsigned  int) const
bool osgWidget::Table::isRowVerticallyFillable ( unsigned  int) const
osgWidget::Table::META_Object ( osgWidget  ,
Table   
)

Member Data Documentation

unsigned int osgWidget::Table::_cols [protected]
unsigned int osgWidget::Table::_lastColAdd [protected]
unsigned int osgWidget::Table::_lastRowAdd [protected]
unsigned int osgWidget::Table::_rows [protected]

The documentation for this class was generated from the following file:

osg logo
Generated at Sun Jan 8 2012 13:17:08 for the OpenSceneGraph by doxygen 1.7.4.