qCC version 2.13.alpha (Qt) - 31 May 2022
Main CloudCompare application (GUI & command line)
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
cc2Point5DimEditor Class Referenceabstract

2.5D data editor (generic interface) More...

#include <cc2.5DimEditor.h>

Inheritance diagram for cc2Point5DimEditor:
Inheritance graph
[legend]
Collaboration diagram for cc2Point5DimEditor:
Collaboration graph
[legend]

Public Member Functions

 cc2Point5DimEditor ()
 Default constructor.
 
virtual ~cc2Point5DimEditor ()
 Destructor.
 

Protected Member Functions

virtual double getGridStep () const =0
 Returns projection grid step. More...
 
virtual unsigned char getProjectionDimension () const =0
 Returns projection dimension. More...
 
virtual ccRasterGrid::ProjectionType getTypeOfProjection () const =0
 Returns type of projection. More...
 
virtual ccBBox getCustomBBox () const
 Returns custom bbox.
 
virtual void gridIsUpToDate (bool state)=0
 Declares whether the grid is up-to-date or not. More...
 
virtual void update2DDisplayZoom (ccBBox &box)
 Updates the 2D display zoom.
 
virtual bool showGridBoxEditor ()
 Show grid box editor and update. More...
 
virtual QString getGridSizeAsString () const
 Returns the grid size as a string.
 
virtual bool getGridSize (unsigned &width, unsigned &height) const
 Returns the grid size.
 
void createBoundingBoxEditor (const ccBBox &gridBBox, QWidget *parent)
 Creates the bounding-box editor.
 
void create2DView (QFrame *parentFrame)
 Creates the 2D view.
 
ccRasterGrid::EmptyCellFillOption getFillEmptyCellsStrategy (QComboBox *comboBox) const
 Returns the empty cell strategy (for a given combo-box)
 
ccPointCloud * convertGridToCloud (const std::vector< ccRasterGrid::ExportableFields > &exportedFields, bool interpolateSF, bool interpolateColors, bool resampleInputCloudXY, bool resampleInputCloudZ, ccGenericPointCloud *inputCloud, bool fillEmptyCells, double emptyCellsHeight, bool exportToOriginalCS) const
 Shortcut to ccRasterGrid::convertToCloud.
 

Protected Attributes

ccRasterGrid m_grid
 Raster grid.
 
ccBoundingBoxEditorDlgm_bbEditorDlg
 Associated dialog.
 
ccGLWindow * m_glWindow
 2D display
 
ccPointCloud * m_rasterCloud
 'Raster' cloud
 

Detailed Description

2.5D data editor (generic interface)

Member Function Documentation

◆ getGridStep()

virtual double cc2Point5DimEditor::getGridStep ( ) const
protectedpure virtual

Returns projection grid step.

Implemented in ccVolumeCalcTool.

◆ getProjectionDimension()

virtual unsigned char cc2Point5DimEditor::getProjectionDimension ( ) const
protectedpure virtual

Returns projection dimension.

Returns
dimension as int (0: X, 1: Y, 2:Z)

Implemented in ccVolumeCalcTool.

◆ getTypeOfProjection()

virtual ccRasterGrid::ProjectionType cc2Point5DimEditor::getTypeOfProjection ( ) const
protectedpure virtual

Returns type of projection.

Implemented in ccVolumeCalcTool.

◆ gridIsUpToDate()

virtual void cc2Point5DimEditor::gridIsUpToDate ( bool  state)
protectedpure virtual

Declares whether the grid is up-to-date or not.

Implemented in ccVolumeCalcTool.

◆ showGridBoxEditor()

bool cc2Point5DimEditor::showGridBoxEditor ( )
protectedvirtual

Show grid box editor and update.

Returns
whether the box was modified or not

Reimplemented in ccVolumeCalcTool.


The documentation for this class was generated from the following files: