OpenVDB 12.1.0

Loading...
Searching...
No Matches
WeightPosSumsTransfer< PointDataTreeT > Struct Template Reference

`#include <openvdb/points/impl/PrincipalComponentAnalysisImpl.h>`

Inheritance diagram for WeightPosSumsTransfer< PointDataTreeT >:

## Public Types
using | BaseT = PcaTransfer<PointDataTreeT>
using | LeafNodeType = typename PointDataTreeT::LeafNodeType
using | PositionHandleT = points::AttributeHandle<Vec3d, NullCodec>
using | TreeTupleT
using | TreeType
using | ValueType
using | NodeMaskT

## Public Member Functions
| WeightPosSumsTransfer (const AttrIndices &indices, const PcaSettings &settings, const Real vs, tree::LeafManager< PointDataTreeT > &manager, util::NullInterrupter *interrupt)
| WeightPosSumsTransfer (const WeightPosSumsTransfer &other)
void | initialize (const Coord &origin, const size_t idx, const CoordBBox &bounds)
void | rasterizePoints (const Coord &, const Index start, const Index end, const CoordBBox &bounds)
bool | finalize (const Coord &, size_t idx)
float | searchRadius () const
size_t | neighbourThreshold () const
size_t | maxSourcePointsPerVoxel () const
size_t | maxTargetPointsPerVoxel () const
Vec3i | range (const Coord &, size_t) const
Vec3i | range () const
bool | startPointLeaf (const typename PointDataTreeT::LeafNodeType &leaf)
bool | endPointLeaf (const typename PointDataTreeT::LeafNodeType &)
TreeType< 0 > & | topology ()
ValueType< Idx > * | buffer ()
const ValueType< Idx > * | buffer () const
NodeMaskT * | mask ()
NodeMaskT * | mask (const size_t idx)
const NodeMaskT * | mask () const
const NodeMaskT * | mask (const size_t idx) const
void | foreach (const FunctorT &functor)
bool | interrupted () const

## Static Public Attributes
static const Index | DIM = PointDataTreeT::LeafNodeType::DIM
static const Index | LOG2DIM = PointDataTreeT::LeafNodeType::LOG2DIM
static const size_t | Size

## Protected Attributes
const AttrIndices & | mIndices
const PcaSettings & | mSettings
const Real | mDxInv
const tree::LeafManager< PointDataTreeT > & | mManager
std::unique_ptr< PositionHandleT > | mTargetPosition
std::unique_ptr< PositionHandleT > | mSourcePosition

## Member Typedef Documentation

## ◆ BaseT

template<typename PointDataTreeT>

using BaseT = PcaTransfer<PointDataTreeT>

## ◆ LeafNodeType

template<typename PointDataTreeT>

using LeafNodeType = typename PointDataTreeT::LeafNodeType
| inherited

## ◆ NodeMaskT

using NodeMaskT
| inherited

## ◆ PositionHandleT

template<typename PointDataTreeT>

using PositionHandleT = points::AttributeHandle<Vec3d, NullCodec>
| inherited

## ◆ TreeTupleT

using TreeTupleT
| inherited

## ◆ TreeType

using TreeType
| inherited

## ◆ ValueType

using ValueType
| inherited

## Constructor & Destructor Documentation

## ◆ WeightPosSumsTransfer() [1/2]

template<typename PointDataTreeT>

WeightPosSumsTransfer | ( | const AttrIndices & | indices,
|  | const PcaSettings & | settings,
|  | const Real | vs,
|  | tree::LeafManager< PointDataTreeT > & | manager,
|  | util::NullInterrupter * | interrupt )
| inline

## ◆ WeightPosSumsTransfer() [2/2]

template<typename PointDataTreeT>

WeightPosSumsTransfer | ( | const WeightPosSumsTransfer< PointDataTreeT > & | other | ) |
| inline

## Member Function Documentation

## ◆ buffer() [1/2]

ValueType< Idx > * buffer | ( |  | ) |
| inline inherited

## ◆ buffer() [2/2]

const ValueType< Idx > * buffer | ( |  | ) | const
| inline inherited

## ◆ endPointLeaf()

template<typename PointDataTreeT>

bool endPointLeaf | ( | const typename PointDataTreeT::LeafNodeType & |  | ) |
| inline inherited

## ◆ finalize()

template<typename PointDataTreeT>

bool finalize | ( | const Coord & | ,
|  | size_t | idx )
| inline

## ◆ foreach()

void foreach | ( | const FunctorT & | functor | ) |
| inline inherited

## ◆ initialize()

template<typename PointDataTreeT>

void initialize | ( | const Coord & | origin,
|  | const size_t | idx,
|  | const CoordBBox & | bounds )
| inline

## ◆ interrupted()

bool interrupted | ( |  | ) | const
| inline inherited

## ◆ mask() [1/4]

NodeMaskT * mask | ( |  | ) |
| inline inherited

## ◆ mask() [2/4]

const NodeMaskT * mask | ( |  | ) | const
| inline inherited

## ◆ mask() [3/4]

NodeMaskT * mask | ( | const size_t | idx | ) |
| inline inherited

## ◆ mask() [4/4]

const NodeMaskT * mask | ( | const size_t | idx | ) | const
| inline inherited

## ◆ maxSourcePointsPerVoxel()

template<typename PointDataTreeT>

size_t maxSourcePointsPerVoxel | ( |  | ) | const
| inline inherited

## ◆ maxTargetPointsPerVoxel()

template<typename PointDataTreeT>

size_t maxTargetPointsPerVoxel | ( |  | ) | const
| inline inherited

## ◆ neighbourThreshold()

template<typename PointDataTreeT>

size_t neighbourThreshold | ( |  | ) | const
| inline inherited

## ◆ range() [1/2]

template<typename PointDataTreeT>

Vec3i range | ( |  | ) | const
| inline inherited

## ◆ range() [2/2]

template<typename PointDataTreeT>

Vec3i range | ( | const Coord & | ,
|  | size_t | ) const
| inline inherited

## ◆ rasterizePoints()

template<typename PointDataTreeT>

void rasterizePoints | ( | const Coord & | ,
|  | const Index | start,
|  | const Index | end,
|  | const CoordBBox & | bounds )
| inline

## ◆ searchRadius()

template<typename PointDataTreeT>

float searchRadius | ( |  | ) | const
| inline inherited

## ◆ startPointLeaf()

template<typename PointDataTreeT>

bool startPointLeaf | ( | const typename PointDataTreeT::LeafNodeType & | leaf | ) |
| inline inherited

## ◆ topology()

TreeType< 0 > & topology | ( |  | ) |
| inline inherited

## Member Data Documentation

## ◆ DIM

template<typename PointDataTreeT>

const Index DIM = PointDataTreeT::LeafNodeType::DIM
| static

## ◆ LOG2DIM

template<typename PointDataTreeT>

const Index LOG2DIM = PointDataTreeT::LeafNodeType::LOG2DIM
| static

## ◆ mDxInv

template<typename PointDataTreeT>

const Real mDxInv
| protected inherited

## ◆ mIndices

template<typename PointDataTreeT>

const AttrIndices& mIndices
| protected inherited

## ◆ mManager

template<typename PointDataTreeT>

const tree::LeafManager<PointDataTreeT>& mManager
| protected inherited

## ◆ mSettings

template<typename PointDataTreeT>

const PcaSettings& mSettings
| protected inherited

## ◆ mSourcePosition

template<typename PointDataTreeT>

std::unique_ptr<PositionHandleT> mSourcePosition
| protected inherited

## ◆ mTargetPosition

template<typename PointDataTreeT>

std::unique_ptr<PositionHandleT> mTargetPosition
| protected inherited

## ◆ Size

const size_t Size
| static inherited