17#ifndef OPENVDB_POINTS_POINT_PRINCIPAL_COMPONENT_ANALYSIS_HAS_BEEN_INCLUDED
18#define OPENVDB_POINTS_POINT_PRINCIPAL_COMPONENT_ANALYSIS_HAS_BEEN_INCLUDED
24#include <openvdb/thread/Threading.h>
57template <
typename Po
intDataGr
idT>
59pca(PointDataGridT& points,
60 const PcaSettings& settings,
61 const PcaAttributes& attrs);
Point attribute manipulation in a VDB Point Grid.
Attribute-owned data structure for points. Point attributes are stored in leaf nodes and ordered by v...
Point group manipulation in a VDB Point Grid.
Framework methods for rasterizing PointDataGrid data to Trees.
3x3 matrix class.
Definition Mat3.h:29
void pca(PointDataGridT &points, const PcaSettings &settings, const PcaAttributes &attrs)
Calculate ellipsoid transformations from the local point distributions as described in Yu and Turk's ...
Definition PrincipalComponentAnalysisImpl.h:548
Definition Exceptions.h:13
The persistent attributes created by the PCA methods.
Definition PrincipalComponentAnalysis.h:156
std::string rotation
Definition PrincipalComponentAnalysis.h:167
math::Vec3< float > StretchT
Settings for the "stretch" attribute, a floating point vector attribute which represents the scaling ...
Definition PrincipalComponentAnalysis.h:160
std::string positionWS
Definition PrincipalComponentAnalysis.h:176
std::string ellipses
A point group to create that represents points which have valid ellipsoidal neighborhood....
Definition PrincipalComponentAnalysis.h:185
math::Mat3< float > RotationT
Settings for the "rotation" attribute, a floating point matrix attribute which represents the orthogo...
Definition PrincipalComponentAnalysis.h:166
std::string stretch
Definition PrincipalComponentAnalysis.h:161
math::Vec3< double > PosWsT
Settings for the world space position of every point. This may end up being different to their actual...
Definition PrincipalComponentAnalysis.h:175
Various settings for the neighborhood analysis of point distributions.
Definition PrincipalComponentAnalysis.h:67
size_t neighbourThreshold
Definition PrincipalComponentAnalysis.h:111
float allowedAnisotropyRatio
Definition PrincipalComponentAnalysis.h:94
float averagePositions
Definition PrincipalComponentAnalysis.h:147
util::NullInterrupter * interrupter
Definition PrincipalComponentAnalysis.h:149
size_t maxTargetPointsPerVoxel
Definition PrincipalComponentAnalysis.h:137
size_t maxSourcePointsPerVoxel
Definition PrincipalComponentAnalysis.h:123
float nonAnisotropicStretch
Definition PrincipalComponentAnalysis.h:99
float searchRadius
Definition PrincipalComponentAnalysis.h:78
Base class for interrupters.
Definition NullInterrupter.h:26
#define OPENVDB_VERSION_NAME
The version namespace name for this library version.
Definition version.h.in:121
#define OPENVDB_USE_VERSION_NAMESPACE
Definition version.h.in:218