#include <BlockView3D.h>
◆ SliceID
◆ BlockView3D()
walberla::gui::BlockView3D::BlockView3D |
( |
QWidget * |
parent = 0 | ) |
|
◆ ~BlockView3D()
walberla::gui::BlockView3D::~BlockView3D |
( |
| ) |
|
|
virtual |
◆ addSlice()
◆ initializeGL()
void walberla::gui::BlockView3D::initializeGL |
( |
QGLPainter * |
painter | ) |
|
|
protected |
◆ mousePressEvent()
void walberla::gui::BlockView3D::mousePressEvent |
( |
QMouseEvent * |
me | ) |
|
|
protectedvirtual |
◆ onBlockForestChange
void walberla::gui::BlockView3D::onBlockForestChange |
( |
| ) |
|
|
slot |
◆ paintGL()
void walberla::gui::BlockView3D::paintGL |
( |
QGLPainter * |
painter | ) |
|
|
protected |
◆ removeSlice()
void walberla::gui::BlockView3D::removeSlice |
( |
SliceID |
id | ) |
|
|
virtual |
◆ setSliceActive()
void walberla::gui::BlockView3D::setSliceActive |
( |
SliceID |
id, |
|
|
bool |
active = true |
|
) |
| |
|
virtual |
◆ setup()
void walberla::gui::BlockView3D::setup |
( |
BlockForest * |
blockForest | ) |
|
Shows the contents of a BlockField use this as initialization function of the widget.
◆ wheelEvent()
void walberla::gui::BlockView3D::wheelEvent |
( |
QWheelEvent * |
we | ) |
|
|
protectedvirtual |
◆ blockForest_
◆ blocks_
◆ registeredBlocks_
QList<int> walberla::gui::BlockView3D::registeredBlocks_ |
|
private |
◆ shrinkingFactor_
double walberla::gui::BlockView3D::shrinkingFactor_ |
|
private |
The bounding box of the blocks is scaled down to generated free space between blocks, which makes picking easier the factor can be changed dynamically by using Ctrl+MouseWheel.
◆ sliceToDisplayObject
The documentation for this class was generated from the following files:
- /builds/administration/walberla-website/walberla/src/gui/BlockView3D/BlockView3D.h
- /builds/administration/walberla-website/walberla/src/gui/BlockView3D/BlockView3D.cpp