18 #include <QSharedPointer>
24 #include <ui_distanceMapGenerationDlg.h>
36 public Ui::DistanceMapGenerationDlg {
138 QSharedPointer<DistanceMapGenerationTool::Map>
updateMap();
156 QDoubleSpinBox* spinBox,
181 QSharedPointer<DistanceMapGenerationTool::Map>
m_map;
Dialog for generating a distance map (surface of revolution)
void updateOverlayGrid()
Updates overlat grid (if any)
ccColorScaleSelector * m_colorScaleSelector
Color scale selector.
ccPointCloud * m_cloud
Associated cloud.
DistanceMapGenerationTool::EmptyCellFillOption getEmptyCellFillingOption() const
Returns the empty cells filling option.
void toggleOverlayGrid(bool)
void updateProfileRevolDim(int)
ccSymbolCloud * m_xLabels
X labels.
double getBaseRadius() const
Returns currently applicable base radius.
DistanceMapGenerationDlg(ccPointCloud *cloud, ccScalarField *sf, ccPolyline *polyline, ecvMainAppInterface *app=0)
Default constructor.
ProjectionMode
Projection mode.
void updateMinAndMaxLimits()
Updates the min and max limits (fields)
ANGULAR_UNIT getAngularUnit() const
Returns selected angular unit.
void getGridXValues(double &minX, double &maxX, double &step, ANGULAR_UNIT unit=ANG_RAD) const
Returns the current 'X' parameters.
double getSpinboxAngularValue(QDoubleSpinBox *spinBox, DistanceMapGenerationDlg::ANGULAR_UNIT unit) const
Returns the angle in a particular spinbox in the specified units.
void clearView()
Clears the 3D view.
QSharedPointer< DistanceMapGenerationTool::Map > m_map
Internal map structure.
ccPolyline * m_profile
Associated profile.
void update()
Updates map (and display)
QString getAngularUnitString() const
Returns selected angular unit as a string.
void spawnColorScaleEditor()
void toggleColorScaleDisplay(bool)
ANGULAR_UNIT
Angular units.
QColor m_gridColor
Grid color.
ccMapWindow * m_window
2D display
void colorScaleChanged(int)
void colorRampStepsChanged(int)
ccScalarField * m_sf
Associated scalar field.
DistanceMapGenerationTool::FillStrategyType getFillingStrategy() const
Returns the grid filling strategy.
QSharedPointer< DistanceMapGenerationTool::Map > updateMap()
Updates internal map.
void overlaySymbolsSizeChanged(int)
QColor m_symbolColor
Symbols color.
ProjectionMode getProjectionMode() const
Returns current projection mode.
void overlaySymbolsColorChanged()
double getScaleYStep(ANGULAR_UNIT unit=ANG_RAD) const
Returns scale 'Y' step (current unit)
void loadOverlaySymbols()
void updateProfileOrigin()
void getGridYValues(double &minY, double &maxY, double &step, ANGULAR_UNIT unit=ANG_RAD) const
Returns the current 'Y' parameters.
void saveToPersistentSettings()
Saves parameters to persistent settings.
void updateMapTexture()
Updates internal map texture (if any)
void clearOverlaySymbols()
QString getHeightUnitString() const
Returns height unit.
QString getCondensedAngularUnitString() const
Returns selected angular unit as a condensed string.
void initFromPersistentSettings()
Loads parameters from persistent settings.
void projectionModeChanged(int)
void exportProfilesAsDXF()
void updateZoom(ccBBox &box)
Updates 2D view zoom.
ANGULAR_UNIT m_angularUnits
Current angular units.
void overlayGridColorChanged()
void labelFontSizeChanged(int)
ecvMainAppInterface * m_app
Application interface.
void baseRadiusChanged(double)
void angularUnitChanged(int)
ccSymbolCloud * m_yLabels
Y labels.
virtual ~DistanceMapGenerationDlg()
Default destructor.
void labelPrecisionChanged(int)
Advanced editor for color scales.
A 3D cloud and its associated features (color, normals, scalar fields, etc.)
A scalar field associated to display-related parameters.
Main application interface (for plugins)