Loading...
Searching...
No Matches
PointStatisticsImpl.h File Reference

Go to the source code of this file.

## Namespaces

namespace | openvdb
namespace | openvdb::v11_0
namespace | openvdb::v11_0::points

## Functions

template<typename ValueT , typename CodecT = UnknownCodec, typename FilterT = NullFilter, typename PointDataTreeT >
bool | evalMinMax (const PointDataTreeT &points, const std::string &attribute, ValueT &min, ValueT &max, const FilterT &filter=NullFilter(), typename PointDataTreeT::template ValueConverter< ValueT >::Type *minTree=nullptr, typename PointDataTreeT::template ValueConverter< ValueT >::Type *maxTree=nullptr)
| Evaluates the minimum and maximum values of a point attribute and returns whether the values are valid. Optionally constructs localised min and max value trees.
template<typename ValueT , typename CodecT = UnknownCodec, typename FilterT = NullFilter, typename PointDataTreeT , typename ResultTreeT = typename ConvertElementType<ValueT, double>::Type>
bool | evalAverage (const PointDataTreeT &points, const std::string &attribute, typename ConvertElementType< ValueT, double >::Type &average, const FilterT &filter=NullFilter(), typename PointDataTreeT::template ValueConverter< ResultTreeT >::Type *averageTree=nullptr)
| Evaluates the average value of a point attribute and returns whether the value is valid. Optionally constructs localised average value trees.
template<typename ValueT , typename CodecT = UnknownCodec, typename FilterT = NullFilter, typename PointDataTreeT , typename ResultTreeT = typename PromoteType<ValueT>::Highest>
bool | accumulate (const PointDataTreeT &points, const std::string &attribute, typename PromoteType< ValueT >::Highest &total, const FilterT &filter=NullFilter(), typename PointDataTreeT::template ValueConverter< ResultTreeT >::Type *totalTree=nullptr)
| Evaluates the total value of a point attribute and returns whether the value is valid. Optionally constructs localised total value trees.
template<typename ValueT , typename CodecT = UnknownCodec, typename FilterT = NullFilter, typename PointDataTreeT >
std::pair< ValueT, ValueT > | evalMinMax (const PointDataTreeT &points, const std::string &attribute, const FilterT &filter=NullFilter())
| Evaluates the minimum and maximum values of a point attribute.
template<typename ValueT , typename CodecT = UnknownCodec, typename FilterT = NullFilter, typename PointDataTreeT >
ConvertElementType< ValueT, double >::Type | evalAverage (const PointDataTreeT &points, const std::string &attribute, const FilterT &filter=NullFilter())
| Evaluates the average value of a point attribute.
template<typename ValueT , typename CodecT = UnknownCodec, typename FilterT = NullFilter, typename PointDataTreeT >
PromoteType< ValueT >::Highest | accumulate (const PointDataTreeT &points, const std::string &attribute, const FilterT &filter=NullFilter())
| Evaluates the total value of a point attribute.

## Detailed Description

Author
  Nick Avramoussis