![]() |
ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
|
Dialog for generating a distance map (surface of revolution) More...
#include <distanceMapGenerationDlg.h>
Public Types | |
| enum | ANGULAR_UNIT { ANG_DEG, ANG_RAD, ANG_GRAD } |
| Angular units. More... | |
| enum | ProjectionMode { PROJ_CYLINDRICAL, PROJ_CONICAL } |
| Projection mode. More... | |
Public Member Functions | |
| DistanceMapGenerationDlg (ccPointCloud *cloud, ccScalarField *sf, ccPolyline *polyline, ecvMainAppInterface *app=0) | |
| Default constructor. More... | |
| virtual | ~DistanceMapGenerationDlg () |
| Default destructor. More... | |
| ANGULAR_UNIT | getAngularUnit () const |
| Returns selected angular unit. More... | |
| QString | getAngularUnitString () const |
| Returns selected angular unit as a string. More... | |
| QString | getCondensedAngularUnitString () const |
| Returns selected angular unit as a condensed string. More... | |
| QString | getHeightUnitString () const |
| Returns height unit. More... | |
| DistanceMapGenerationTool::FillStrategyType | getFillingStrategy () const |
| Returns the grid filling strategy. More... | |
| DistanceMapGenerationTool::EmptyCellFillOption | getEmptyCellFillingOption () const |
| Returns the empty cells filling option. More... | |
| ProjectionMode | getProjectionMode () const |
| Returns current projection mode. More... | |
| void | getGridXValues (double &minX, double &maxX, double &step, ANGULAR_UNIT unit=ANG_RAD) const |
| Returns the current 'X' parameters. More... | |
| void | getGridYValues (double &minY, double &maxY, double &step, ANGULAR_UNIT unit=ANG_RAD) const |
| Returns the current 'Y' parameters. More... | |
| double | getScaleYStep (ANGULAR_UNIT unit=ANG_RAD) const |
| Returns scale 'Y' step (current unit) More... | |
Protected Slots | |
| void | projectionModeChanged (int) |
| void | angularUnitChanged (int) |
| void | updateGridSteps () |
| void | updateProfileRevolDim (int) |
| void | updateProfileOrigin () |
| void | colorScaleChanged (int) |
| void | spawnColorScaleEditor () |
| void | updateHeightUnits () |
| void | exportMapAsCloud () |
| void | exportMapAsMesh () |
| void | exportMapAsGrid () |
| void | exportMapAsImage () |
| void | exportProfilesAsDXF () |
| void | loadOverlaySymbols () |
| void | clearOverlaySymbols () |
| void | overlaySymbolsSizeChanged (int) |
| void | overlaySymbolsColorChanged () |
| void | overlayGridColorChanged () |
| void | labelFontSizeChanged (int) |
| void | labelPrecisionChanged (int) |
| void | baseRadiusChanged (double) |
| void | colorRampStepsChanged (int) |
| void | toggleOverlayGrid (bool) |
| void | changeGridColor () |
| void | changeSymbolColor () |
| void | toggleColorScaleDisplay (bool) |
| void | updateVolumes () |
| void | updateOverlayGrid () |
| Updates overlat grid (if any) More... | |
| void | update () |
| Updates map (and display) More... | |
Protected Member Functions | |
| QSharedPointer< DistanceMapGenerationTool::Map > | updateMap () |
| Updates internal map. More... | |
| void | updateMapTexture () |
| Updates internal map texture (if any) More... | |
| void | updateZoom (ccBBox &box) |
| Updates 2D view zoom. More... | |
| void | clearView () |
| Clears the 3D view. More... | |
| double | getBaseRadius () const |
| Returns currently applicable base radius. More... | |
| double | getSpinboxAngularValue (QDoubleSpinBox *spinBox, DistanceMapGenerationDlg::ANGULAR_UNIT unit) const |
| Returns the angle in a particular spinbox in the specified units. More... | |
| void | initFromPersistentSettings () |
| Loads parameters from persistent settings. More... | |
| void | saveToPersistentSettings () |
| Saves parameters to persistent settings. More... | |
| void | updateMinAndMaxLimits () |
| Updates the min and max limits (fields) More... | |
Protected Attributes | |
| ecvMainAppInterface * | m_app |
| Application interface. More... | |
| ccPointCloud * | m_cloud |
| Associated cloud. More... | |
| ccPolyline * | m_profile |
| Associated profile. More... | |
| ccScalarField * | m_sf |
| Associated scalar field. More... | |
| QSharedPointer< DistanceMapGenerationTool::Map > | m_map |
| Internal map structure. More... | |
| ANGULAR_UNIT | m_angularUnits |
| Current angular units. More... | |
| ccMapWindow * | m_window |
| 2D display More... | |
| ccColorScaleSelector * | m_colorScaleSelector |
| Color scale selector. More... | |
| ccSymbolCloud * | m_xLabels |
| X labels. More... | |
| ccSymbolCloud * | m_yLabels |
| Y labels. More... | |
| QColor | m_gridColor |
| Grid color. More... | |
| QColor | m_symbolColor |
| Symbols color. More... | |
Dialog for generating a distance map (surface of revolution)
| DistanceMapGenerationDlg::DistanceMapGenerationDlg | ( | ccPointCloud * | cloud, |
| ccScalarField * | sf, | ||
| ccPolyline * | polyline, | ||
| ecvMainAppInterface * | app = 0 |
||
| ) |
Default constructor.
References ecvDisplayTools::AddToOwnDB(), ecvGenericDisplayTools::ALIGN_HMIDDLE, ecvGenericDisplayTools::ALIGN_HRIGHT, ecvGenericDisplayTools::ALIGN_VBOTTOM, ecvGenericDisplayTools::ALIGN_VMIDDLE, angularUnitChanged(), ecvGui::ParamStruct::backgroundCol, baseRadiusChanged(), ecvColor::black(), changeGridColor(), changeSymbolColor(), clearOverlaySymbols(), colorRampStepsChanged(), colorScaleChanged(), ecvGui::ParamStruct::colorScaleRampWidth, ecvGui::ParamStruct::colorScaleShowHistogram, ecvGui::ParamStruct::colorScaleUseShader, ecvGui::ParamStruct::decimateMeshOnMove, DEFAULT_LABEL_MARGIN, ecvGui::ParamStruct::displayCross, ecvGui::ParamStruct::displayedNumPrecision, ecvDisplayTools::DisplayOverlayEntities(), ecvMainAppInterface::dispToConsole(), ecvGui::ParamStruct::drawBackgroundGradient, ecvMainAppInterface::ERR_CONSOLE_MESSAGE, exportMapAsCloud(), exportMapAsGrid(), exportMapAsImage(), exportMapAsMesh(), exportProfilesAsDXF(), ccScalarField::getColorScale(), ecvMainAppInterface::getColorScalesManager(), ccColorScalesManager::GetDefaultScale(), ecvDisplayTools::GetDisplayParameters(), ccGenericPointCloud::getOwnBB(), DistanceMapGenerationTool::GetPoylineMetaData(), ccColorScaleSelector::init(), initFromPersistentSettings(), ecvDisplayTools::INTERACT_CLICKABLE_ITEMS, ecvDisplayTools::INTERACT_PAN, ecvDisplayTools::INTERACT_ZOOM_CAMERA, DxfProfilesExporter::IsEnabled(), cloudViewer::BoundingBoxTpl< T >::isValid(), labelFontSizeChanged(), labelPrecisionChanged(), loadOverlaySymbols(), m_angularUnits, m_app, m_cloud, m_colorScaleSelector, m_profile, m_sf, m_window, m_xLabels, m_yLabels, ccColorScale::MAX_STEPS, cloudViewer::BoundingBoxTpl< T >::maxCorner(), ccColorScale::MIN_STEPS, cloudViewer::BoundingBoxTpl< T >::minCorner(), DistanceMapGenerationTool::ProfileMetaData::origin, overlayGridColorChanged(), overlaySymbolsColorChanged(), overlaySymbolsSizeChanged(), projectionModeChanged(), DistanceMapGenerationTool::ProfileMetaData::revolDim, ecvDisplayTools::SetDisplayParameters(), ecvDisplayTools::SetInteractionMode(), ccSymbolCloud::setLabelAlignmentFlags(), ecvDisplayTools::SetPerspectiveState(), ccColorScaleSelector::setSelectedScale(), ccSymbolCloud::setSymbolSize(), ccMapWindow::showSF(), ccSymbolCloud::showSymbols(), spawnColorScaleEditor(), ecvGui::ParamStruct::textDefaultCol, toggleColorScaleDisplay(), toggleOverlayGrid(), Tuple3Tpl< Type >::u, update(), updateGridSteps(), updateHeightUnits(), updateMinAndMaxLimits(), updateOverlayGrid(), updateProfileOrigin(), updateProfileRevolDim(), updateVolumes(), ecvColor::white(), Tuple3Tpl< Type >::x, XLABEL_CLOUD_NAME, Tuple3Tpl< Type >::y, YLABEL_CLOUD_NAME, and Tuple3Tpl< Type >::z.
|
virtual |
Default destructor.
|
protectedslot |
References ANG_DEG, ANG_GRAD, ANG_RAD, getAngularUnitString(), getSpinboxAngularValue(), m_angularUnits, M_PI, cloudViewer::RadiansToDegrees(), SetSpinBoxValues(), and updateOverlayGrid().
Referenced by DistanceMapGenerationDlg(), and initFromPersistentSettings().
|
protectedslot |
|
protectedslot |
References m_gridColor, and overlayGridColorChanged().
Referenced by DistanceMapGenerationDlg().
|
protectedslot |
References m_symbolColor, and overlaySymbolsColorChanged().
Referenced by DistanceMapGenerationDlg().
|
protectedslot |
|
protected |
Clears the 3D view.
References ccHObject::filterChildren(), ecvDisplayTools::GetOwnDB(), m_window, m_xLabels, m_yLabels, CV_TYPES::MESH, CV_TYPES::POLY_LINE, ecvDisplayTools::RemoveFromOwnDB(), ccMapWindow::setAssociatedScalarField(), and ccDrawableObject::setVisible().
Referenced by projectionModeChanged(), and update().
|
protectedslot |
References colorScaleChanged().
Referenced by DistanceMapGenerationDlg().
|
protectedslot |
References ccMapWindow::getAssociatedScalarField(), ccColorScaleSelector::getSelectedScale(), m_colorScaleSelector, m_window, ecvDisplayTools::RedrawDisplay(), ccScalarField::setColorRampSteps(), ccScalarField::setColorScale(), and updateMapTexture().
Referenced by colorRampStepsChanged(), and DistanceMapGenerationDlg().
|
protectedslot |
References ecvMainAppInterface::addToDB(), DistanceMapGenerationTool::ConvertMapToCloud(), ecvMainAppInterface::dispToConsole(), ecvMainAppInterface::ERR_CONSOLE_MESSAGE, getBaseRadius(), ccPointCloud::getCurrentDisplayedScalarField(), ccObject::getName(), ccColorScaleSelector::getSelectedScale(), m_app, m_cloud, m_colorScaleSelector, m_map, m_profile, ccScalarField::setColorScale(), and ccObject::setName().
Referenced by DistanceMapGenerationDlg().
|
protectedslot |
References ConvertAngleFromRad(), ecvFileUtils::defaultDocPath(), ecvMainAppInterface::dispToConsole(), ecvMainAppInterface::ERR_CONSOLE_MESSAGE, filename, getAngularUnitString(), getHeightUnitString(), m_angularUnits, m_app, m_map, cloudViewer::t::geometry::path, DistanceMapGenerationTool::SaveMapAsCSVMatrix(), and ecvMainAppInterface::STD_CONSOLE_MESSAGE.
Referenced by DistanceMapGenerationDlg().
|
protectedslot |
References ccRenderToFileDlg::dontScalePoints(), ccRenderToFileDlg::getFilename(), ecvMainAppInterface::getMainWindow(), ccRenderToFileDlg::getZoom(), ecvDisplayTools::GlHeight(), ecvDisplayTools::GlWidth(), ccRenderToFileDlg::hideOptions(), m_app, m_window, ccRenderToFileDlg::renderOverlayItems(), and ecvDisplayTools::RenderToFile().
Referenced by DistanceMapGenerationDlg().
|
protectedslot |
References ecvMainAppInterface::addToDB(), DistanceMapGenerationTool::ProfileMetaData::computeCloudToProfileOriginTrans(), DistanceMapGenerationTool::ConvertMapToImage(), DistanceMapGenerationTool::ConvertProfileToMesh(), ecvMainAppInterface::dispToConsole(), ecvMainAppInterface::ERR_CONSOLE_MESSAGE, ccObject::getName(), DistanceMapGenerationTool::GetPoylineMetaData(), ccColorScaleSelector::getSelectedScale(), m_app, m_cloud, m_colorScaleSelector, m_map, m_profile, and ccObject::setName().
Referenced by DistanceMapGenerationDlg().
|
protectedslot |
References ANG_RAD, ConvertAngleFromRad(), DxfProfilesExporter::Parameters::devLabelMultCoef, DxfProfilesExporter::Parameters::devMagnifyCoef, ecvMainAppInterface::dispToConsole(), ecvMainAppInterface::ERR_CONSOLE_MESSAGE, getAngularUnitString(), getCondensedAngularUnitString(), getHeightUnitString(), DxfProfilesExportDlg::getHorizFilename(), DistanceMapGenerationTool::GetPolylineHeightShift(), getScaleYStep(), getSpinboxAngularValue(), DxfProfilesExportDlg::getVertFilename(), DxfProfilesExporter::Parameters::legendRealProfileTitle, DxfProfilesExporter::Parameters::legendTheoProfileTitle, m_angularUnits, m_app, m_map, M_PI, m_profile, DxfProfilesExporter::Parameters::precision, DxfProfilesExporter::Parameters::profileTitles, DxfProfilesExporter::SaveHorizontalProfiles(), DxfProfilesExporter::SaveVerticalProfiles(), DxfProfilesExporter::Parameters::scaledDevUnits, and ecvMainAppInterface::STD_CONSOLE_MESSAGE.
Referenced by DistanceMapGenerationDlg().
| DistanceMapGenerationDlg::ANGULAR_UNIT DistanceMapGenerationDlg::getAngularUnit | ( | ) | const |
Returns selected angular unit.
References ANG_DEG, ANG_GRAD, ANG_RAD, and m_angularUnits.
| QString DistanceMapGenerationDlg::getAngularUnitString | ( | ) | const |
Returns selected angular unit as a string.
References m_angularUnits.
Referenced by angularUnitChanged(), exportMapAsGrid(), and exportProfilesAsDXF().
|
protected |
Returns currently applicable base radius.
Warning: return always 1 for concial projection mode!
References getProjectionMode(), and PROJ_CONICAL.
Referenced by baseRadiusChanged(), and exportMapAsCloud().
| QString DistanceMapGenerationDlg::getCondensedAngularUnitString | ( | ) | const |
Returns selected angular unit as a condensed string.
References m_angularUnits.
Referenced by exportProfilesAsDXF(), and toggleOverlayGrid().
| DistanceMapGenerationTool::EmptyCellFillOption DistanceMapGenerationDlg::getEmptyCellFillingOption | ( | ) | const |
Returns the empty cells filling option.
References DistanceMapGenerationTool::FILL_INTERPOLATE, DistanceMapGenerationTool::FILL_WITH_ZERO, and DistanceMapGenerationTool::LEAVE_EMPTY.
Referenced by updateMap().
| DistanceMapGenerationTool::FillStrategyType DistanceMapGenerationDlg::getFillingStrategy | ( | ) | const |
Returns the grid filling strategy.
References DistanceMapGenerationTool::FILL_STRAT_AVG_DIST, DistanceMapGenerationTool::FILL_STRAT_MAX_DIST, DistanceMapGenerationTool::FILL_STRAT_MIN_DIST, and DistanceMapGenerationTool::INVALID_STRATEGY_TYPE.
Referenced by updateMap().
| void DistanceMapGenerationDlg::getGridXValues | ( | double & | minX, |
| double & | maxX, | ||
| double & | step, | ||
| ANGULAR_UNIT | unit = ANG_RAD |
||
| ) | const |
Returns the current 'X' parameters.
Always correspond to angular values
References getSpinboxAngularValue().
Referenced by toggleOverlayGrid(), and updateGridSteps().
| void DistanceMapGenerationDlg::getGridYValues | ( | double & | minY, |
| double & | maxY, | ||
| double & | step, | ||
| ANGULAR_UNIT | unit = ANG_RAD |
||
| ) | const |
Returns the current 'Y' parameters.
Depends on the current projection mode (i.e. height or latitude). The 'unit' parameter is only required for Conical mode.
References getProjectionMode(), getSpinboxAngularValue(), PROJ_CONICAL, and PROJ_CYLINDRICAL.
Referenced by toggleOverlayGrid(), update(), updateGridSteps(), and updateMap().
| QString DistanceMapGenerationDlg::getHeightUnitString | ( | ) | const |
Returns height unit.
Referenced by exportMapAsGrid(), exportProfilesAsDXF(), toggleOverlayGrid(), and updateHeightUnits().
| DistanceMapGenerationDlg::ProjectionMode DistanceMapGenerationDlg::getProjectionMode | ( | ) | const |
Returns current projection mode.
References PROJ_CONICAL, and PROJ_CYLINDRICAL.
Referenced by getBaseRadius(), getGridYValues(), getScaleYStep(), loadOverlaySymbols(), projectionModeChanged(), toggleOverlayGrid(), update(), updateMap(), updateMapTexture(), and updateVolumes().
| double DistanceMapGenerationDlg::getScaleYStep | ( | ANGULAR_UNIT | unit = ANG_RAD | ) | const |
Returns scale 'Y' step (current unit)
The 'unit' parameter is only required for Conical mode.
References getProjectionMode(), getSpinboxAngularValue(), and PROJ_CYLINDRICAL.
Referenced by exportProfilesAsDXF(), and toggleOverlayGrid().
|
protected |
Returns the angle in a particular spinbox in the specified units.
References ConvertAngleFromRad(), ConvertAngleToRad(), and m_angularUnits.
Referenced by angularUnitChanged(), exportProfilesAsDXF(), getGridXValues(), getGridYValues(), getScaleYStep(), toggleOverlayGrid(), and updateMap().
|
protected |
Loads parameters from persistent settings.
References angularUnitChanged(), m_colorScaleSelector, ccColorScaleSelector::setSelectedScale(), and updateHeightUnits().
Referenced by DistanceMapGenerationDlg().
|
protectedslot |
References ecvGui::ParamStruct::defaultFontSize, ccHObject::getChild(), ccHObject::getChildrenNumber(), ecvDisplayTools::GetDisplayParameters(), ecvDisplayTools::GetOwnDB(), ccObject::isA(), m_window, CV_TYPES::POINT_CLOUD, ecvDisplayTools::RedrawDisplay(), and ecvDisplayTools::SetDisplayParameters().
Referenced by DistanceMapGenerationDlg().
|
protectedslot |
|
protectedslot |
References ccSymbolCloud::addLabel(), cloudViewer::PointCloudTpl< T >::addPoint(), ecvDisplayTools::AddToOwnDB(), cloudViewer::PointCloudTpl< T >::capacity(), DistanceMapGenerationTool::ProfileMetaData::computeCloudToSurfaceOriginTrans(), DistanceMapGenerationTool::ConvertCloudToConical(), DistanceMapGenerationTool::ConvertCloudToCylindrical(), ecvFileUtils::defaultDocPath(), ecvMainAppInterface::dispToConsole(), ecvMainAppInterface::ERR_CONSOLE_MESSAGE, filename, DistanceMapGenerationTool::GetPoylineMetaData(), getProjectionMode(), m_app, m_map, m_profile, m_symbolColor, m_window, DistanceMapGenerationTool::ProfileMetaData::origin, cloudViewer::t::geometry::path, PROJ_CYLINDRICAL, qtCompatSplitRegex(), ecvDisplayTools::RedrawDisplay(), ccSymbolCloud::reserveLabelArray(), ccPointCloud::reserveThePointsTable(), DistanceMapGenerationTool::ProfileMetaData::revolDim, rgb, ccSymbolCloud::setFontSize(), ccSymbolCloud::setSymbolSize(), ccDrawableObject::setTempColor(), ccDrawableObject::setVisible(), ccPointCloud::shrinkToFit(), cloudViewer::PointCloudTpl< T >::size(), QtCompat::SkipEmptyParts, and Tuple3Tpl< Type >::u.
Referenced by DistanceMapGenerationDlg().
|
protectedslot |
References ccHObject::getChild(), ccHObject::getChildrenNumber(), ecvDisplayTools::GetOwnDB(), ccObject::isA(), m_gridColor, m_window, m_xLabels, m_yLabels, CV_TYPES::POLY_LINE, ecvDisplayTools::RedrawDisplay(), rgb, ccQtHelpers::SetButtonColor(), ccEntityAction::setColor(), and ccDrawableObject::setTempColor().
Referenced by changeGridColor(), and DistanceMapGenerationDlg().
|
protectedslot |
References ccHObject::getChild(), ccHObject::getChildrenNumber(), ecvDisplayTools::GetOwnDB(), ccObject::isA(), m_symbolColor, m_window, m_xLabels, m_yLabels, CV_TYPES::POINT_CLOUD, ecvDisplayTools::RedrawDisplay(), rgb, ccQtHelpers::SetButtonColor(), and ccDrawableObject::setTempColor().
Referenced by changeSymbolColor(), and DistanceMapGenerationDlg().
|
protectedslot |
|
protectedslot |
References baseRadiusChanged(), clearView(), getProjectionMode(), m_map, PROJ_CONICAL, PROJ_CYLINDRICAL, update(), and updateGridSteps().
Referenced by DistanceMapGenerationDlg().
|
protected |
Saves parameters to persistent settings.
References ccColorScaleSelector::getSelectedScale(), and m_colorScaleSelector.
Referenced by update().
|
protectedslot |
References ccColorScalesManager::BGYR, ccColorScaleEditorDialog::getActiveScale(), ecvMainAppInterface::getColorScalesManager(), ccColorScalesManager::getDefaultScale(), ecvMainAppInterface::getMainWindow(), ccColorScaleSelector::getSelectedScale(), ccColorScaleSelector::init(), m_app, m_colorScaleSelector, ccColorScaleSelector::setSelectedScale(), and ccColorScalesManager::toPersistentSettings().
Referenced by DistanceMapGenerationDlg().
|
protectedslot |
References m_window, ecvDisplayTools::RedrawDisplay(), and ccMapWindow::showSF().
Referenced by DistanceMapGenerationDlg().
|
protectedslot |
References ccHObject::addChild(), ccSymbolCloud::addLabel(), cloudViewer::PointCloudTpl< T >::addPoint(), cloudViewer::ReferenceCloud::addPointIndex(), ecvDisplayTools::AddToOwnDB(), ANG_RAD, cloudViewer::utility::ceil(), ccSymbolCloud::clear(), DistanceMapGenerationTool::ConicalProjectN(), ConvertAngleFromRad(), ecvMainAppInterface::dispToConsole(), ecvMainAppInterface::ERR_CONSOLE_MESSAGE, ccHObject::filterChildren(), getCondensedAngularUnitString(), getGridXValues(), getGridYValues(), getHeightUnitString(), ecvDisplayTools::GetOwnDB(), getProjectionMode(), getScaleYStep(), getSpinboxAngularValue(), ccDrawableObject::isVisible(), m_angularUnits, m_app, m_gridColor, m_map, m_window, m_xLabels, m_yLabels, PC_ONE, CV_TYPES::POLY_LINE, PROJ_CONICAL, DistanceMapGenerationTool::ProjectPointOnCone(), ecvDisplayTools::RedrawDisplay(), ecvDisplayTools::RemoveFromOwnDB(), ccSymbolCloud::reserve(), ccPointCloud::reserve(), ccSymbolCloud::reserveLabelArray(), rgb, ccPolyline::set2DMode(), ccPolyline::setColor(), ccObject::setEnabled(), ccDrawableObject::setTempColor(), ccDrawableObject::setVisible(), ccDrawableObject::showColors(), Tuple3Tpl< Type >::x, Tuple3Tpl< Type >::y, y, and Tuple3Tpl< Type >::z.
Referenced by DistanceMapGenerationDlg(), and updateOverlayGrid().
|
protectedslot |
Updates map (and display)
References cloudViewer::ScalarField::addElement(), ecvDisplayTools::AddToOwnDB(), ANG_RAD, clearOverlaySymbols(), clearView(), ccScalarField::computeMinAndMax(), DistanceMapGenerationTool::ConvertConicalMapToMesh(), ecvMainAppInterface::dispToConsole(), ecvMainAppInterface::ERR_CONSOLE_MESSAGE, ccColorScalesManager::GetDefaultScale(), ccHObject::getDisplayBB_recursive(), getGridYValues(), ecvDisplayTools::GetOwnDB(), getProjectionMode(), ccColorScaleSelector::getSelectedScale(), m_app, m_colorScaleSelector, m_map, m_window, PROJ_CONICAL, PROJ_CYLINDRICAL, saveToPersistentSettings(), ccMapWindow::setAssociatedScalarField(), ccScalarField::setColorRampSteps(), ccScalarField::setColorScale(), ccGLMatrixTpl< T >::setTranslation(), ccDrawableObject::setVisible(), ccGenericMesh::showNormals(), updateHeightUnits(), updateMap(), updateMapTexture(), updateVolumes(), and updateZoom().
Referenced by DistanceMapGenerationDlg(), and projectionModeChanged().
|
protectedslot |
References cloudViewer::utility::ceil(), getGridXValues(), getGridYValues(), and m_angularUnits.
Referenced by DistanceMapGenerationDlg(), and projectionModeChanged().
|
protectedslot |
References ccMapWindow::getAssociatedScalarField(), getHeightUnitString(), m_window, cloudViewer::ScalarField::setName(), and updateOverlayGrid().
Referenced by DistanceMapGenerationDlg(), initFromPersistentSettings(), and update().
|
protected |
Updates internal map.
References ANG_RAD, DistanceMapGenerationTool::ProfileMetaData::computeCloudToSurfaceOriginTrans(), DistanceMapGenerationTool::CreateMap(), getEmptyCellFillingOption(), getFillingStrategy(), getGridYValues(), DistanceMapGenerationTool::GetPoylineMetaData(), getProjectionMode(), getSpinboxAngularValue(), m_app, m_cloud, m_profile, m_sf, PROJ_CONICAL, and DistanceMapGenerationTool::ProfileMetaData::revolDim.
Referenced by update().
|
protected |
Updates internal map texture (if any)
References DistanceMapGenerationTool::ConvertMapToImage(), ecvMainAppInterface::dispToConsole(), ecvMainAppInterface::ERR_CONSOLE_MESSAGE, ecvDisplayTools::GetOwnDB(), getProjectionMode(), ccColorScaleSelector::getSelectedScale(), m_app, m_colorScaleSelector, m_map, m_window, CV_TYPES::MESH, CV_TYPES::PLANE, PROJ_CONICAL, PROJ_CYLINDRICAL, and ecvDisplayTools::RedrawDisplay().
Referenced by colorScaleChanged(), and update().
|
protected |
Updates the min and max limits (fields)
References DistanceMapGenerationTool::ProfileMetaData::computeCloudToSurfaceOriginTrans(), DistanceMapGenerationTool::ComputeMinAndMaxLatitude_rad(), ConvertAngleFromRad(), cloudViewer::ReferenceCloud::getPoint(), DistanceMapGenerationTool::GetPoylineMetaData(), height, DistanceMapGenerationTool::ProfileMetaData::heightShift, m_angularUnits, m_cloud, m_profile, DistanceMapGenerationTool::ProfileMetaData::revolDim, cloudViewer::ReferenceCloud::size(), Tuple3Tpl< Type >::x, and Tuple3Tpl< Type >::y.
Referenced by DistanceMapGenerationDlg(), and updateProfileOrigin().
|
protectedslot |
Updates overlat grid (if any)
References toggleOverlayGrid().
Referenced by angularUnitChanged(), DistanceMapGenerationDlg(), and updateHeightUnits().
|
protectedslot |
References clearOverlaySymbols(), DistanceMapGenerationTool::GetPoylineMetaData(), DistanceMapGenerationTool::ProfileMetaData::heightShift, m_profile, origin, DistanceMapGenerationTool::ProfileMetaData::origin, DistanceMapGenerationTool::ProfileMetaData::revolDim, DistanceMapGenerationTool::SetPolylineHeightShift(), DistanceMapGenerationTool::SetPoylineOrigin(), Tuple3Tpl< Type >::u, and updateMinAndMaxLimits().
Referenced by DistanceMapGenerationDlg().
|
protectedslot |
References m_profile, and DistanceMapGenerationTool::SetPoylineRevolDim().
Referenced by DistanceMapGenerationDlg().
|
protectedslot |
References DistanceMapGenerationTool::ComputeSurfacesAndVolumes(), getProjectionMode(), m_map, m_profile, DistanceMapGenerationTool::Measures::negative, DistanceMapGenerationTool::Measures::positive, PROJ_CONICAL, DistanceMapGenerationTool::Measures::theoretical, and DistanceMapGenerationTool::Measures::total.
Referenced by DistanceMapGenerationDlg(), and update().
|
protected |
Updates 2D view zoom.
References ecvViewportParameters::cameraAspectRatio, ecvGui::ParamStruct::colorScaleRampWidth, ecvDisplayTools::Deprecate3DLayer(), Vector3Tpl< double >::fromArray(), ccMapWindow::getAssociatedScalarField(), cloudViewer::BoundingBoxTpl< T >::getCenter(), cloudViewer::BoundingBoxTpl< T >::getDiagNorm(), cloudViewer::BoundingBoxTpl< T >::getDiagVec(), ecvDisplayTools::GetDisplayParameters(), ccSymbolCloud::getFontSize(), ccSymbolCloud::getLabel(), ecvDisplayTools::GetTextDisplayFont(), ecvDisplayTools::GetViewportParameters(), ecvDisplayTools::GlHeight(), ecvDisplayTools::GlWidth(), cloudViewer::GreaterThanEpsilon(), ecvDisplayTools::InvalidateViewport(), ecvDisplayTools::InvalidateVisualization(), cloudViewer::BoundingBoxTpl< T >::isValid(), ccDrawableObject::isVisible(), m_window, m_yLabels, cloudViewer::BoundingBoxTpl< T >::maxCorner(), cloudViewer::BoundingBoxTpl< T >::minCorner(), ecvViewportParameters::pixelSize, ecvDisplayTools::RedrawDisplay(), ecvDisplayTools::SetCameraPos(), ecvDisplayTools::SetPivotPoint(), ecvDisplayTools::SetViewportParameters(), ccMapWindow::sfShown(), cloudViewer::PointCloudTpl< T >::size(), Tuple3Tpl< Type >::u, width, Tuple3Tpl< Type >::x, Tuple3Tpl< Type >::y, and ecvViewportParameters::zoom.
Referenced by update().
|
protected |
Current angular units.
Referenced by angularUnitChanged(), DistanceMapGenerationDlg(), exportMapAsGrid(), exportProfilesAsDXF(), getAngularUnit(), getAngularUnitString(), getCondensedAngularUnitString(), getSpinboxAngularValue(), toggleOverlayGrid(), updateGridSteps(), and updateMinAndMaxLimits().
|
protected |
Application interface.
Referenced by DistanceMapGenerationDlg(), exportMapAsCloud(), exportMapAsGrid(), exportMapAsImage(), exportMapAsMesh(), exportProfilesAsDXF(), loadOverlaySymbols(), spawnColorScaleEditor(), toggleOverlayGrid(), update(), updateMap(), and updateMapTexture().
|
protected |
Associated cloud.
Referenced by DistanceMapGenerationDlg(), exportMapAsCloud(), exportMapAsMesh(), updateMap(), and updateMinAndMaxLimits().
|
protected |
Color scale selector.
Referenced by colorScaleChanged(), DistanceMapGenerationDlg(), exportMapAsCloud(), exportMapAsMesh(), initFromPersistentSettings(), saveToPersistentSettings(), spawnColorScaleEditor(), update(), and updateMapTexture().
|
protected |
Grid color.
Referenced by changeGridColor(), overlayGridColorChanged(), and toggleOverlayGrid().
|
protected |
Internal map structure.
Referenced by exportMapAsCloud(), exportMapAsGrid(), exportMapAsMesh(), exportProfilesAsDXF(), loadOverlaySymbols(), projectionModeChanged(), toggleOverlayGrid(), update(), updateMapTexture(), and updateVolumes().
|
protected |
Associated profile.
Referenced by DistanceMapGenerationDlg(), exportMapAsCloud(), exportMapAsMesh(), exportProfilesAsDXF(), loadOverlaySymbols(), updateMap(), updateMinAndMaxLimits(), updateProfileOrigin(), updateProfileRevolDim(), and updateVolumes().
|
protected |
Associated scalar field.
Referenced by DistanceMapGenerationDlg(), and updateMap().
|
protected |
Symbols color.
Referenced by changeSymbolColor(), loadOverlaySymbols(), and overlaySymbolsColorChanged().
|
protected |
2D display
Referenced by baseRadiusChanged(), clearOverlaySymbols(), clearView(), colorScaleChanged(), DistanceMapGenerationDlg(), exportMapAsImage(), labelFontSizeChanged(), labelPrecisionChanged(), loadOverlaySymbols(), overlayGridColorChanged(), overlaySymbolsColorChanged(), overlaySymbolsSizeChanged(), toggleColorScaleDisplay(), toggleOverlayGrid(), update(), updateHeightUnits(), updateMapTexture(), and updateZoom().
|
protected |
X labels.
Referenced by clearOverlaySymbols(), clearView(), DistanceMapGenerationDlg(), overlayGridColorChanged(), overlaySymbolsColorChanged(), overlaySymbolsSizeChanged(), and toggleOverlayGrid().
|
protected |
Y labels.
Referenced by clearOverlaySymbols(), clearView(), DistanceMapGenerationDlg(), overlayGridColorChanged(), overlaySymbolsColorChanged(), overlaySymbolsSizeChanged(), toggleOverlayGrid(), and updateZoom().