3D Forest
Software for analysis of Lidar data from forest environment.
ComputeElevationAction Class Reference

#include <ComputeElevationAction.hpp>

Inherits ProgressActionInterface.

Public Member Functions

 ComputeElevationAction (Editor *editor)
 
virtual ~ComputeElevationAction ()
 
void start (double voxelRadius)
 
virtual void next ()
 
void clear ()
 
double minimum () const
 
double maximum () const
 
- Public Member Functions inherited from ProgressActionInterface
 ProgressActionInterface ()
 
virtual ~ProgressActionInterface ()=default
 
bool end () const
 
size_t progressMaximumSteps () const
 
size_t progressValueSteps () const
 
uint64_t progressMaximumStep () const
 
uint64_t progressValueStep () const
 
double progressPercent () const
 

Protected Member Functions

void stepResetPoints ()
 
void stepCountPoints ()
 
void stepCreateGround ()
 
void stepCreateIndex ()
 
void stepComputeElevation ()
 
void createGroundPoint ()
 

Protected Attributes

Editoreditor_
 
Query query_
 
Query queryPoint_
 
double voxelRadius_
 
uint64_t numberOfPoints_
 
uint64_t numberOfGroundPoints_
 
uint64_t numberOfNonGroundPoints_
 
size_t pointIndex_
 
double elevationMinimum_
 
double elevationMaximum_
 
double zMinimum_
 
Points points_
 
- Protected Attributes inherited from ProgressActionInterface
ProgressCounter progress_
 

Constructor & Destructor Documentation

◆ ComputeElevationAction()

ComputeElevationAction::ComputeElevationAction ( Editor * editor)

◆ ~ComputeElevationAction()

ComputeElevationAction::~ComputeElevationAction ( )
virtual

Member Function Documentation

◆ clear()

void ComputeElevationAction::clear ( )

◆ createGroundPoint()

void ComputeElevationAction::createGroundPoint ( )
protected

Referenced by stepCreateGround().

◆ maximum()

double ComputeElevationAction::maximum ( ) const
inline

◆ minimum()

double ComputeElevationAction::minimum ( ) const
inline

◆ next()

void ComputeElevationAction::next ( )
virtual

◆ start()

void ComputeElevationAction::start ( double voxelRadius)

◆ stepComputeElevation()

void ComputeElevationAction::stepComputeElevation ( )
protected

Referenced by next().

◆ stepCountPoints()

void ComputeElevationAction::stepCountPoints ( )
protected

Referenced by next().

◆ stepCreateGround()

void ComputeElevationAction::stepCreateGround ( )
protected

Referenced by next().

◆ stepCreateIndex()

void ComputeElevationAction::stepCreateIndex ( )
protected

Referenced by next().

◆ stepResetPoints()

void ComputeElevationAction::stepResetPoints ( )
protected

Referenced by next().

Member Data Documentation

◆ editor_

Editor* ComputeElevationAction::editor_
protected

◆ elevationMaximum_

double ComputeElevationAction::elevationMaximum_
protected

◆ elevationMinimum_

double ComputeElevationAction::elevationMinimum_
protected

◆ numberOfGroundPoints_

uint64_t ComputeElevationAction::numberOfGroundPoints_
protected

Referenced by clear(), start(), and stepCountPoints().

◆ numberOfNonGroundPoints_

uint64_t ComputeElevationAction::numberOfNonGroundPoints_
protected

◆ numberOfPoints_

uint64_t ComputeElevationAction::numberOfPoints_
protected

Referenced by clear(), start(), and stepResetPoints().

◆ pointIndex_

size_t ComputeElevationAction::pointIndex_
protected

Referenced by clear(), start(), and stepComputeElevation().

◆ points_

Points ComputeElevationAction::points_
protected

◆ query_

◆ queryPoint_

Query ComputeElevationAction::queryPoint_
protected

Referenced by clear(), and createGroundPoint().

◆ voxelRadius_

double ComputeElevationAction::voxelRadius_
protected

Referenced by clear(), createGroundPoint(), and start().

◆ zMinimum_

double ComputeElevationAction::zMinimum_
protected

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