OpenVDB 5.1.0

Classes | Namespaces | Functions
PointAttribute.h File Reference

Point attribute manipulation in a VDB Point Grid. More...

`#include <openvdb/openvdb.h>`
`#include "AttributeArrayString.h"`
`#include "AttributeSet.h"`
`#include "AttributeGroup.h"`
`#include "PointDataGrid.h"`

Go to the source code of this file.

## Classes
struct | Default< ValueType >
struct | AppendAttributeOp< PointDataTreeType >
struct | CollapseAttributeOp< ValueType, PointDataTreeType >
struct | CollapseAttributeOp< Name, PointDataTreeType >
struct | DropAttributesOp< PointDataTreeType >
struct | CompactAttributesOp< PointDataTreeType >
struct | BloscCompressAttributesOp< PointDataTreeType >
struct | AttributeTypeConversion< ValueType, CodecType >
struct | AttributeTypeConversion< Name, CodecType >
struct | MetadataStorage< PointDataTree, ValueType >
struct | MetadataStorage< PointDataTree, Name >

## Namespaces
| openvdb
| openvdb::v5_1
| openvdb::v5_1::points
| openvdb::v5_1::points::point_attribute_internal

## Functions
template<typename PointDataTree >
void | appendAttribute (PointDataTree &tree, const Name &name, const NamePair &type, const Index strideOrTotalSize=1, const bool constantStride=true, Metadata::Ptr metaDefaultValue=Metadata::Ptr(), const bool hidden=false, const bool transient=false)
| Appends a new attribute to the VDB tree (this method does not require a templated AttributeType) More...
template<typename ValueType , typename CodecType , typename PointDataTree >
void | appendAttribute (PointDataTree &tree, const std::string &name, const ValueType &uniformValue=point_attribute_internal::Default< ValueType >::value(), const Index strideOrTotalSize=1, const bool constantStride=true, Metadata::Ptr metaDefaultValue=Metadata::Ptr(), const bool hidden=false, const bool transient=false)
| Appends a new attribute to the VDB tree. More...
template<typename ValueType , typename PointDataTree >
void | appendAttribute (PointDataTree &tree, const std::string &name, const ValueType &uniformValue=point_attribute_internal::Default< ValueType >::value(), const Index strideOrTotalSize=1, const bool constantStride=true, Metadata::Ptr metaDefaultValue=Metadata::Ptr(), const bool hidden=false, const bool transient=false)
| Appends a new attribute to the VDB tree. More...
template<typename ValueType , typename PointDataTree >
void | collapseAttribute (PointDataTree &tree, const Name &name, const ValueType &uniformValue=point_attribute_internal::Default< ValueType >::value())
| Collapse the attribute into a uniform value. More...
template<typename PointDataTree >
void | dropAttributes (PointDataTree &tree, const std::vector< size_t > &indices)
| Drops attributes from the VDB tree. More...
template<typename PointDataTree >
void | dropAttributes (PointDataTree &tree, const std::vector< Name > &names)
| Drops attributes from the VDB tree. More...
template<typename PointDataTree >
void | dropAttribute (PointDataTree &tree, const size_t &index)
| Drop one attribute from the VDB tree (convenience method). More...
template<typename PointDataTree >
void | dropAttribute (PointDataTree &tree, const Name &name)
| Drop one attribute from the VDB tree (convenience method). More...
template<typename PointDataTree >
void | renameAttributes (PointDataTree &tree, const std::vector< Name > &oldNames, const std::vector< Name > &newNames)
| Rename attributes in a VDB tree. More...
template<typename PointDataTree >
void | renameAttribute (PointDataTree &tree, const Name &oldName, const Name &newName)
| Rename an attribute in a VDB tree. More...
template<typename PointDataTree >
void | compactAttributes (PointDataTree &tree)
| Compact attributes in a VDB tree (if possible). More...
template<typename PointDataTree >
void | bloscCompressAttribute (PointDataTree &tree, const Name &name)
| Apply Blosc compression to one attribute in the VDB tree. More...

## Detailed Description

Point attribute manipulation in a VDB Point Grid.

Author
  Dan Bailey, Khang Ngo