walberla::gui Namespace Reference

Classes

class  BlockDisplayObject
 BlockDisplayObject renders one Block as a Cube. More...
 
class  BlockSliceView
 View to display a slice of a field ( which is stored inside a block) More...
 
class  BlockTreeView
 
class  BlockView3D
 
class  BlockViewText
 
class  CellView
 Class for drawing a single cell of a grid slice. More...
 
class  ComboBoxItem
 Helper class for inserting a combobox into a QListWidget. More...
 
class  DisplayAdaptor
 Abstract base class for display adaptors. More...
 
class  DisplayPropertiesItem
 Represents on line in a QTreeWidget. More...
 
class  FieldDisplayAdaptor
 Abstract class, for displaying fields. More...
 
class  FlagFieldDisplayAdaptor
 Displays a slice of a flag field. More...
 
class  GUI
 
class  ISliceChangeListener
 
class  MainWindow
 The main window of the GUI. More...
 
class  PropertyTree
 Interface for providing Key-Value pairs for Qt Tree/List Views. More...
 
struct  QStandardItem
 
struct  QStandardItemModel
 
class  ScalarField3DisplayAdaptor
 Class for drawing slices of vector fields. More...
 
class  ScalarFieldDisplayAdaptor
 Class for drawing a slice of a scalar field. More...
 
class  VectorFieldDisplayAdaptor
 Class for drawing slices of vector fields. More...
 
class  VPtr
 

Functions

void breakpoint (const std::string &, const std::string &, int)
 
QMimeData * createMimeDataFromPointer (void *p, const QString &role)
 Packs an arbitrary pointer in a QMimeData object. More...
 
void * getPointerFromMimeData (const QMimeData *data, const QString &type)
 Retrieves pointer from QMimeData, which was packed using createMimeDataFromPointer() More...
 
const QLinearGradient & getDefaultColormap ()
 
bool showColormapSelect (QLinearGradient &grad)
 Shows a gradient selection dialog. More...
 

Variables

static const double Pi = 3.14159265358979323846264338327950288419717
 
static const double TwoPi = 2.0 * Pi
 
const QString BLOCK_MIMETYPE = "application/BlockPointer"
 Application specific MIME type, encoding a blockforest::Block pointer. More...
 

Function Documentation

◆ breakpoint()

void walberla::gui::breakpoint ( const std::string &  ,
const std::string &  ,
int   
)

◆ createMimeDataFromPointer()

QMimeData * walberla::gui::createMimeDataFromPointer ( void *  p,
const QString &  role 
)

Packs an arbitrary pointer in a QMimeData object.

◆ getDefaultColormap()

const QLinearGradient & walberla::gui::getDefaultColormap ( )

◆ getPointerFromMimeData()

void * walberla::gui::getPointerFromMimeData ( const QMimeData *  data,
const QString &  type 
)

Retrieves pointer from QMimeData, which was packed using createMimeDataFromPointer()

◆ showColormapSelect()

bool walberla::gui::showColormapSelect ( QLinearGradient &  grad)

Shows a gradient selection dialog.

Parameters
[out]gradThe selected gradient
Returns
false if the user canceled the selection

Variable Documentation

◆ BLOCK_MIMETYPE

const QString walberla::gui::BLOCK_MIMETYPE = "application/BlockPointer"

Application specific MIME type, encoding a blockforest::Block pointer.

◆ Pi

const double walberla::gui::Pi = 3.14159265358979323846264338327950288419717
static

◆ TwoPi

const double walberla::gui::TwoPi = 2.0 * Pi
static