OpenVDB  8.1.1
Public Types | Public Member Functions | Public Attributes | List of all members
ConvertPointDataGridAttributeOp< PointDataTreeType, Attribute, FilterT > Struct Template Reference

#include <PointConversion.h>

Public Types

using LeafNode = typename PointDataTreeType::LeafNodeType
using ValueType = typename Attribute::ValueType
using HandleT = typename Attribute::Handle
using SourceHandleT = typename ConversionTraits< ValueType >::Handle
using LeafManagerT = typename tree::LeafManager< const PointDataTreeType >
using LeafRangeT = typename LeafManagerT::LeafRange

Public Member Functions

 ConvertPointDataGridAttributeOp (Attribute &attribute, const std::vector< Index64 > &pointOffsets, const Index64 startOffset, const size_t index, const Index stride, const FilterT &filter, const bool inCoreOnly)
template<typename IterT >
void convert (IterT &iter, HandleT &targetHandle, SourceHandleT &sourceHandle, Index64 &offset) const
void operator() (const LeafRangeT &range) const

Public Attributes

Attribute & mAttribute
const std::vector< Index64 > & mPointOffsets
const Index64 mStartOffset
const size_t mIndex
const Index mStride
const FilterT & mFilter
const bool mInCoreOnly

Member Typedef Documentation

using HandleT = typename Attribute::Handle
using LeafManagerT = typename tree::LeafManager<const PointDataTreeType>
using LeafNode = typename PointDataTreeType::LeafNodeType
using LeafRangeT = typename LeafManagerT::LeafRange
using SourceHandleT = typename ConversionTraits<ValueType>::Handle
using ValueType = typename Attribute::ValueType

Constructor & Destructor Documentation

ConvertPointDataGridAttributeOp ( Attribute &  attribute,
const std::vector< Index64 > &  pointOffsets,
const Index64  startOffset,
const size_t  index,
const Index  stride,
const FilterT &  filter,
const bool  inCoreOnly 

Member Function Documentation

void convert ( IterT &  iter,
HandleT targetHandle,
SourceHandleT sourceHandle,
Index64 offset 
) const
void operator() ( const LeafRangeT range) const

Member Data Documentation

Attribute& mAttribute
const FilterT& mFilter
const bool mInCoreOnly
const size_t mIndex
const std::vector<Index64>& mPointOffsets
const Index64 mStartOffset
const Index mStride

The documentation for this struct was generated from the following file: