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

#include <ClassificationAction.hpp>

Inherits ProgressActionInterface.

Public Member Functions

 ClassificationAction (Editor *editor)
 
virtual ~ClassificationAction ()
 
void start (double voxelRadius, double searchRadius, double angle, bool cleanGround, bool cleanAll)
 
virtual void next ()
 
void clear ()
 
- Public Member Functions inherited from ProgressActionInterface
 ProgressActionInterface ()
 
virtual ~ProgressActionInterface ()=default
 
virtual void next ()=0
 
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 stepPointsToVoxels ()
 
void stepCreateVoxelIndex ()
 
void stepClassifyGround ()
 
void stepVoxelsToPoints ()
 
void createVoxel ()
 

Protected Attributes

Editoreditor_
 
Query query_
 
Query queryPoint_
 
double voxelRadius_
 
double searchRadius_
 
double angle_
 
bool cleanGround_
 
bool cleanAll_
 
uint64_t nPointsTotal_
 
uint64_t nPointsInFilter_
 
Points voxels_
 
std::vector< size_t > group_
 
std::vector< size_t > path_
 
std::vector< size_t > searchNext_
 
std::vector< size_t > searchGround_
 
size_t minimumIndex_
 
double minimumValue_
 
- Protected Attributes inherited from ProgressActionInterface
ProgressCounter progress_
 

Constructor & Destructor Documentation

◆ ClassificationAction()

ClassificationAction::ClassificationAction ( Editor editor)

◆ ~ClassificationAction()

ClassificationAction::~ClassificationAction ( )
virtual

Member Function Documentation

◆ clear()

void ClassificationAction::clear ( )

◆ createVoxel()

void ClassificationAction::createVoxel ( )
protected

Referenced by stepPointsToVoxels().

◆ next()

void ClassificationAction::next ( )
virtual

◆ start()

void ClassificationAction::start ( double  voxelRadius,
double  searchRadius,
double  angle,
bool  cleanGround,
bool  cleanAll 
)

◆ stepClassifyGround()

void ClassificationAction::stepClassifyGround ( )
protected

Referenced by next().

◆ stepCountPoints()

void ClassificationAction::stepCountPoints ( )
protected

Referenced by next().

◆ stepCreateVoxelIndex()

void ClassificationAction::stepCreateVoxelIndex ( )
protected

Referenced by next().

◆ stepPointsToVoxels()

void ClassificationAction::stepPointsToVoxels ( )
protected

Referenced by next().

◆ stepResetPoints()

void ClassificationAction::stepResetPoints ( )
protected

Referenced by next().

◆ stepVoxelsToPoints()

void ClassificationAction::stepVoxelsToPoints ( )
protected

Referenced by next().

Member Data Documentation

◆ angle_

double ClassificationAction::angle_
protected

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

◆ cleanAll_

bool ClassificationAction::cleanAll_
protected

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

◆ cleanGround_

bool ClassificationAction::cleanGround_
protected

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

◆ editor_

Editor* ClassificationAction::editor_
protected

◆ group_

std::vector<size_t> ClassificationAction::group_
protected

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

◆ minimumIndex_

size_t ClassificationAction::minimumIndex_
protected

◆ minimumValue_

double ClassificationAction::minimumValue_
protected

◆ nPointsInFilter_

uint64_t ClassificationAction::nPointsInFilter_
protected

◆ nPointsTotal_

uint64_t ClassificationAction::nPointsTotal_
protected

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

◆ path_

std::vector<size_t> ClassificationAction::path_
protected

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

◆ query_

Query ClassificationAction::query_
protected

◆ queryPoint_

Query ClassificationAction::queryPoint_
protected

Referenced by clear(), and createVoxel().

◆ searchGround_

std::vector<size_t> ClassificationAction::searchGround_
protected

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

◆ searchNext_

std::vector<size_t> ClassificationAction::searchNext_
protected

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

◆ searchRadius_

double ClassificationAction::searchRadius_
protected

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

◆ voxelRadius_

double ClassificationAction::voxelRadius_
protected

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

◆ voxels_


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