 |
ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
|
Go to the documentation of this file.
50 unsigned char gridLevel);
56 std::vector<unsigned char>& resolved,
104 return instantiateGridTpl<DirectionCell*>(
size);
111 DirectionCell* destCell)
const;
int step() override
Propagates the front (one step)
Definition: ecvFastMarchingForNormsDirection.cpp:184
static int OrientNormals(ccPointCloud *theCloud, unsigned char octreeLevel, ecvProgressDialog *progressCb=nullptr)
Static entry point (helper)
Definition: ecvFastMarchingForNormsDirection.cpp:339
unsigned updateResolvedTable(ccGenericPointCloud *theCloud, std::vector< unsigned char > &resolved, NormsIndexesTableType *theNorms)
Updates a list of point flags, indicating the points already processed.
Definition: ecvFastMarchingForNormsDirection.cpp:262
int init(ccGenericPointCloud *cloud, NormsIndexesTableType *theNorms, ccOctree *theOctree, unsigned char gridLevel)
Initializes the grid with a point cloud (and ist corresponding octree)
Definition: ecvFastMarchingForNormsDirection.cpp:62
float computeTCoefApprox(cloudViewer::FastMarching::Cell *currentCell, cloudViewer::FastMarching::Cell *neighbourCell) const override
Computes the front acceleration between two cells.
Definition: ecvFastMarchingForNormsDirection.cpp:239
float computePropagationConfidence(DirectionCell *originCell, DirectionCell *destCell) const
Computes relative 'confidence' between two cells (orientations)
Definition: ecvFastMarchingForNormsDirection.cpp:107
A Fast Marching grid cell for normals direction resolution.
Definition: ecvFastMarchingForNormsDirection.h:64
Fast Marching algorithm for normals direction resolution.
Definition: ecvFastMarchingForNormsDirection.h:28
CCVector3 C
The local cell center.
Definition: ecvFastMarchingForNormsDirection.h:86
A 3D cloud and its associated features (color, normals, scalar fields, etc.)
Definition: ecvPointCloud.h:146
A generic Fast Marching grid cell.
Definition: FastMarching.h:95
Array of compressed 3D normals (single index)
Definition: ecvAdvancedTypes.h:21
void resolveCellOrientation(unsigned index)
Resolves the direction of a given cell (once and for all)
Definition: ecvFastMarchingForNormsDirection.cpp:125
int size
Definition: FileIOFactory.cpp:130
float signConfidence
Confidence value.
Definition: ecvFastMarchingForNormsDirection.h:90
Octree structure.
Definition: ecvOctree.h:27
A 3D cloud interface with associated features (color, normals, octree, etc.)
Definition: ecvGenericPointCloud.h:45
ccFastMarchingForNormsDirection()
Default constructor.
Definition: ecvFastMarchingForNormsDirection.cpp:24
normal_z scalar
Definition: my_point_types.h:169
~DirectionCell() override=default
! Destructor
Fast Marching algorithm (front propagation)
Definition: FastMarching.h:41
CCVector3 N
The local cell normal.
Definition: ecvFastMarchingForNormsDirection.h:84
Graphical progress indicator (thread-safe)
Definition: ecvProgressDialog.h:27
void initTrialCells() override
Initializes the TRIAL cells list.
Definition: ecvFastMarchingForNormsDirection.cpp:306
DirectionCell()
Default constructor.
Definition: ecvFastMarchingForNormsDirection.h:67
unsigned CellCode
Type of the code of an octree cell.
Definition: DgmOctree.h:78
cloudViewer::DgmOctree::CellCode cellCode
the code of the equivalent cell in the octree
Definition: ecvFastMarchingForNormsDirection.h:88
int propagate() override
Propagates the front.
Definition: ecvFastMarchingForNormsDirection.cpp:250
bool instantiateGrid(unsigned size) override
Instantiates grid in memory.
Definition: ecvFastMarchingForNormsDirection.h:103