 |
ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
|
Go to the documentation of this file.
41 unsigned char gridLevel,
42 bool constantAcceleration =
false);
102 Cell* neighbourCell)
const override;
105 return instantiateGridTpl<PropagationCell>(
size);
Generic file read and write utility for python interface.
Definition: CloudViewerConfig.cpp:12
~PropagationCell() override=default
Destructor.
Definition: GenericCloud.h:20
DgmOctree::CellCode cellCode
Equivalent cell code in the octree.
Definition: FastMarchingForPropagation.h:97
float computeTCoefApprox(Cell *currentCell, Cell *neighbourCell) const override
Computes the front acceleration between two cells.
Definition: FastMarchingForPropagation.cpp:212
bool setPropagationTimingsAsDistances()
Sets the propagation timings as distances for each point.
Definition: FastMarchingForPropagation.cpp:168
float m_detectionThreshold
Threshold for propagation stop.
Definition: FastMarchingForPropagation.h:111
A generic Fast Marching grid cell.
Definition: FastMarching.h:95
A Fast Marching grid cell for surfacical propagation.
Definition: FastMarchingForPropagation.h:86
int size
Definition: FileIOFactory.cpp:130
FastMarchingForPropagation()
Default constructor.
Definition: FastMarchingForPropagation.cpp:17
bool extractPropagatedPoints(ReferenceCloud *Zk)
Definition: FastMarchingForPropagation.cpp:141
int init(GenericCloud *theCloud, DgmOctree *theOctree, unsigned char gridLevel, bool constantAcceleration=false)
Initializes the grid with a point cloud (and ist corresponding octree)
Definition: FastMarchingForPropagation.cpp:27
Fast Marching algorithm (front propagation)
Definition: FastMarching.h:41
The octree structure used throughout the library.
Definition: DgmOctree.h:39
PropagationCell()
Default constructor.
Definition: FastMarchingForPropagation.h:89
bool instantiateGrid(unsigned size) override
Instantiates grid in memory.
Definition: FastMarchingForPropagation.h:104
void findPeaks()
Find peaks of local acceleration values.
Definition: FastMarchingForPropagation.cpp:219
A very simple point cloud (no point duplication)
Definition: ReferenceCloud.h:29
void setDetectionThreshold(float value)
Sets the threshold for propagation stop.
Definition: FastMarchingForPropagation.h:63
unsigned CellCode
Type of the code of an octree cell.
Definition: DgmOctree.h:78
float f
Local front acceleration.
Definition: FastMarchingForPropagation.h:95
int step() override
Propagates the front (one step)
Definition: FastMarchingForPropagation.cpp:73
int propagate() override
Propagates the front.
Definition: FastMarchingForPropagation.cpp:130
Fast Marching algorithm for surface front propagation.
Definition: FastMarchingForPropagation.h:22
void setJumpCoef(float value)
Sets the accceleration exageration factor.
Definition: FastMarchingForPropagation.h:72
float m_jumpCoef
Accceleration exageration factor.
Definition: FastMarchingForPropagation.h:109