![]() |
open_iA
2019.12
A tool for the visual analysis and processing of volumetric datasets, with a focus on industrial computed tomography.
|
DreamCaster - Application main window class. Contains GUI and some global classes instances. More...
#include <iADreamCaster.h>
Public Slots | |
| void | AddCutFigSlot () |
| New cut figure is added to the list. More... | |
| void | ColorBadAngles () |
| Color show triangles with bad dip angle. More... | |
| void | ComparisonTabPlacementPickedSlot (int, int) |
| When some placement picked on one of the comparison tab's height maps. More... | |
| void | ConfigureSettingsSlot () |
| Read settings from config file and open settings dialog with that data. More... | |
| void | CurrentParameterChangedSlot () |
| When new current parameter picked from combobox. More... | |
| void | CutFigParametersChanged () |
| Current cut figure's parameters are changed. More... | |
| void | CutFigPicked () |
| Cut figure picked in the list. More... | |
| void | HideColoring () |
| Hide coloring of bad triangles. More... | |
| void | HideDipAnglesSlot () |
| Hide coloring of object corresponding to dip angles of triangles. More... | |
| void | HideRays () |
| Slot that hiding rays/triangles picked by user before. More... | |
| void | LowCutParam1Slot () |
| Low cut of height map of param1 on weighting tab is changed. More... | |
| void | LowCutParam2Slot () |
| Low cut of height map of param2 on weighting tab is changed. More... | |
| void | LowCutParam3Slot () |
| Low cut of height map of param3 on weighting tab is changed. More... | |
| void | LowCutWeightingResSlot () |
| Low cut of height map of weighted results on weighting tab is changed. More... | |
| void | maximize3DView () |
| Maximize one area/show all areas. More... | |
| void | maximizeBottom () |
| Maximize one area/show all areas. More... | |
| void | maximizePlacements () |
| Maximize one area/show all areas. More... | |
| void | maximizeRC () |
| Maximize one area/show all areas. More... | |
| void | maximizeStability () |
| Maximize one area/show all areas. More... | |
| void | NewSetSlot () |
| Slot that specify new set of renderings filename. More... | |
| void | OpenModelSlot () |
| Slot that reads object from stl-file and prepares renderer considering new data. More... | |
| void | OpenSetSlot () |
| Slot opening new set of renderings file. Also updates 3d plot and colormap. More... | |
| void | pbGrab3DSlot () |
| Set single rendering's position sliders to values corresponding current object orientation on interactive 3D view. More... | |
| void | pbSetPositionSlot () |
| Set single rendering's position sliders to same values as set's of renderings position sliders. More... | |
| void | ProjectionChangedSlot () |
| When current projection selected using slider. More... | |
| void | RemoveCutFigSlot () |
| Cut figure removed from the list. More... | |
| void | RenderFrameMouseReleasedSlot () |
| When mouse released on ViewsFrame. More... | |
| void | RenderSingleViewSlot () |
| Slot that renders single view with specified parameters. More... | |
| void | RenderViewsSlot () |
| Slot that renders set of renderings with specified parameters. More... | |
| void | ResetSettingsSlot () |
| Read settings from config file. More... | |
| void | SaveResultsSlot () |
| Save results to .result file in same directory as data stl file. More... | |
| void | SaveSettingsSlot () |
| Save settings to config file. More... | |
| void | SaveSlot () |
| Empty. Not used. More... | |
| void | SaveTree () |
| Save current KD tree in file named as .stl file with extension .kdtree. More... | |
| void | SensitivityChangedSlot () |
| Update stability sensitivity. More... | |
| void | ShowDipAnglesSlot () |
| Slot that shows colors object, corresponding to angles btw tri's norm and ray to middle of tri. More... | |
| void | ShowLogsSlot () |
| Show logs window. More... | |
| void | ShowRangeRays () |
| Slot that shows rays/triangles with certain parameter range. Rendering indices and parameter range are specified by user. More... | |
| void | ShowResultsSlot () |
| Show optimal positon. More... | |
| void | StabilityResolutionChangedSlot () |
| Update stability resoultion. More... | |
| void | StopRenderingSlot () |
| Slot that stopo rendering set of renderings with specified parameters. More... | |
| void | TopPlacementsChangedSlot () |
| Top placements to be shown on heightmap is changed. More... | |
| void | UpdateHistogramSlot () |
| Slot that updates histogram with parameters specified by user. More... | |
| void | UpdatePlotSlot () |
| Updates 3d plot and colormap data with consideration of parameters specified by user. More... | |
| void | UpdateSlot () |
| Slot that updates pixmap based widgets. More... | |
| void | UpdateStabilityOnMouseMoveCheckedSlot () |
| Update stability on mouse move mode. More... | |
| void | UpdateWeightingResultsSlot () |
| Update results of weighted combination of parameters on weighting tab. More... | |
| void | ViewsMouseMoveSlot () |
| When mouse moved on ViewsFrame. More... | |
| void | WeightingResultsPlacementPickedSlot (int, int) |
| When some placement picked on one of the weighted results on weighting tab. More... | |
Public Member Functions | |
| bool | eventFilter (QObject *obj, QEvent *event) override |
| Handler of child-widgets events. More... | |
| int | findSelectedTriangles () |
| Find triangles that are belong to selected features. More... | |
| iADreamCaster (QWidget *parent=nullptr, Qt::WindowFlags flags=0) | |
| A DreamCaster consturctor. More... | |
| void | initHistograms () |
| Setting default parameters to histograms plot. More... | |
| void | initRaycast () |
| Recreates rendering surface and rendering engine. Loads object. Prepares renderer. More... | |
| void | loadFile (const QString filename) |
| Open .STL model by specified file name. Used to be called from outside. More... | |
| void | log (QString text, bool appendToPrev=false) |
| Loging function. More... | |
| void | setRangeSB (float minX, float maxX, float minZ, float maxZ) |
| Set values to the rotation range scroll boxes. More... | |
| int | updateCutAABVtk () |
| Update 3D representation of cutting AABBs. More... | |
| ~iADreamCaster () | |
Public Attributes | |
| iADreamCasterSettings | stngs |
Protected Member Functions | |
| void | closeEvent (QCloseEvent *event) override |
DreamCaster - Application main window class. Contains GUI and some global classes instances.
| iADreamCaster::iADreamCaster | ( | QWidget * | parent = nullptr, |
| Qt::WindowFlags | flags = 0 |
||
| ) |
A DreamCaster consturctor.
| parent | parent widget pointer. Default is 0. |
| flags | window flags |
connect(ui.tb_openModel, SIGNAL(clicked()), this, SLOT(OpenModelSlot())); connect(ui.actionShow_logs, SIGNAL(triggered()), this, SLOT(ShowLogsSlot()));
connect(ui.tb_new, SIGNAL(clicked()), this, SLOT(NewSetSlot())); connect(ui.tb_open, SIGNAL(clicked()), this, SLOT(OpenSetSlot()));
| iADreamCaster::~iADreamCaster | ( | ) |
|
slot |
New cut figure is added to the list.
|
overrideprotected |
|
slot |
Color show triangles with bad dip angle.
|
slot |
When some placement picked on one of the comparison tab's height maps.
|
slot |
Read settings from config file and open settings dialog with that data.
|
slot |
When new current parameter picked from combobox.
|
slot |
Current cut figure's parameters are changed.
|
slot |
Cut figure picked in the list.
|
override |
Handler of child-widgets events.
| int iADreamCaster::findSelectedTriangles | ( | ) |
Find triangles that are belong to selected features.
|
slot |
Hide coloring of bad triangles.
|
slot |
Hide coloring of object corresponding to dip angles of triangles.
|
slot |
Slot that hiding rays/triangles picked by user before.
| void iADreamCaster::initHistograms | ( | ) |
Setting default parameters to histograms plot.
| void iADreamCaster::initRaycast | ( | ) |
Recreates rendering surface and rendering engine. Loads object. Prepares renderer.
| void iADreamCaster::loadFile | ( | const QString | filename | ) |
Open .STL model by specified file name. Used to be called from outside.
ui.l_modelName->setText(modelFileName);
| void iADreamCaster::log | ( | QString | text, |
| bool | appendToPrev = false |
||
| ) |
Loging function.
Adds string to log window.
| text | string containing logging message. |
| appendToPrev | Append message to previous string or add as new string. |
|
slot |
Low cut of height map of param1 on weighting tab is changed.
|
slot |
Low cut of height map of param2 on weighting tab is changed.
|
slot |
Low cut of height map of param3 on weighting tab is changed.
|
slot |
Low cut of height map of weighted results on weighting tab is changed.
|
slot |
Maximize one area/show all areas.
|
slot |
Maximize one area/show all areas.
|
slot |
Maximize one area/show all areas.
|
slot |
Maximize one area/show all areas.
|
slot |
Maximize one area/show all areas.
|
slot |
Slot that specify new set of renderings filename.
|
slot |
Slot that reads object from stl-file and prepares renderer considering new data.
ui.l_modelName->setText(modelFileName);
|
slot |
Slot opening new set of renderings file. Also updates 3d plot and colormap.
|
slot |
Set single rendering's position sliders to values corresponding current object orientation on interactive 3D view.
|
slot |
Set single rendering's position sliders to same values as set's of renderings position sliders.
|
slot |
When current projection selected using slider.
|
slot |
Cut figure removed from the list.
|
slot |
When mouse released on ViewsFrame.
|
slot |
Slot that renders single view with specified parameters.
|
slot |
Slot that renders set of renderings with specified parameters.
plot->loadFromData(plotData, cntX, cntY, 0,1,0,1);
plot->setScale(1.,1., 1./max_param); plot->updateData(); plot->updateGL();
plot->loadFromData(plotData, cntX, cntY, 0,1,0,1);
plot->setScale(1.,1., 1./max_param); plot->updateData(); plot->updateGL();
|
slot |
Read settings from config file.
|
slot |
Save results to .result file in same directory as data stl file.
|
slot |
Save settings to config file.
|
slot |
Empty. Not used.
|
slot |
Save current KD tree in file named as .stl file with extension .kdtree.
|
slot |
Update stability sensitivity.
| void iADreamCaster::setRangeSB | ( | float | minX, |
| float | maxX, | ||
| float | minZ, | ||
| float | maxZ | ||
| ) |
Set values to the rotation range scroll boxes.
|
slot |
Slot that shows colors object, corresponding to angles btw tri's norm and ray to middle of tri.
|
slot |
Show logs window.
|
slot |
Slot that shows rays/triangles with certain parameter range. Rendering indices and parameter range are specified by user.
|
slot |
Show optimal positon.
|
slot |
Update stability resoultion.
|
slot |
Slot that stopo rendering set of renderings with specified parameters.
|
slot |
Top placements to be shown on heightmap is changed.
| int iADreamCaster::updateCutAABVtk | ( | ) |
Update 3D representation of cutting AABBs.
|
slot |
Slot that updates histogram with parameters specified by user.
SetMemLeakCheckActive(true);
|
slot |
Updates 3d plot and colormap data with consideration of parameters specified by user.
|
slot |
Slot that updates pixmap based widgets.
|
slot |
Update stability on mouse move mode.
|
slot |
Update results of weighted combination of parameters on weighting tab.
|
slot |
When mouse moved on ViewsFrame.
|
slot |
When some placement picked on one of the weighted results on weighting tab.
| iADreamCasterSettings iADreamCaster::stngs |
1.8.16