HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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"
+ Include dependency graph for PointAttribute.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  openvdb::OPENVDB_VERSION_NAME::points::point_attribute_internal::AppendAttributeOp< PointDataTreeType >
 
struct  openvdb::OPENVDB_VERSION_NAME::points::point_attribute_internal::CollapseAttributeOp< ValueType, PointDataTreeType >
 
struct  openvdb::OPENVDB_VERSION_NAME::points::point_attribute_internal::CollapseAttributeOp< Name, PointDataTreeType >
 
struct  openvdb::OPENVDB_VERSION_NAME::points::point_attribute_internal::DropAttributesOp< PointDataTreeType >
 
struct  openvdb::OPENVDB_VERSION_NAME::points::point_attribute_internal::CompactAttributesOp< PointDataTreeType >
 
struct  openvdb::OPENVDB_VERSION_NAME::points::point_attribute_internal::BloscCompressAttributesOp< PointDataTreeType >
 
struct  openvdb::OPENVDB_VERSION_NAME::points::point_attribute_internal::AttributeTypeConversion< ValueType, CodecType >
 
struct  openvdb::OPENVDB_VERSION_NAME::points::point_attribute_internal::AttributeTypeConversion< Name, CodecType >
 
struct  openvdb::OPENVDB_VERSION_NAME::points::point_attribute_internal::MetadataStorage< PointDataTree, ValueType >
 
struct  openvdb::OPENVDB_VERSION_NAME::points::point_attribute_internal::MetadataStorage< PointDataTree, Name >
 

Namespaces

 openvdb
 
 openvdb::OPENVDB_VERSION_NAME
 
 openvdb::OPENVDB_VERSION_NAME::points
 
 openvdb::OPENVDB_VERSION_NAME::points::point_attribute_internal
 

Functions

template<typename ValueType >
ValueType openvdb::OPENVDB_VERSION_NAME::points::point_attribute_internal::defaultValue ()
 
template<typename PointDataTree >
void openvdb::OPENVDB_VERSION_NAME::points::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 openvdb::OPENVDB_VERSION_NAME::points::appendAttribute (PointDataTree &tree, const std::string &name, const ValueType &uniformValue=point_attribute_internal::defaultValue< ValueType >(), 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 openvdb::OPENVDB_VERSION_NAME::points::appendAttribute (PointDataTree &tree, const std::string &name, const ValueType &uniformValue=point_attribute_internal::defaultValue< ValueType >(), 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 openvdb::OPENVDB_VERSION_NAME::points::collapseAttribute (PointDataTree &tree, const Name &name, const ValueType &uniformValue=point_attribute_internal::defaultValue< ValueType >())
 Collapse the attribute into a uniform value. More...
 
template<typename PointDataTree >
void openvdb::OPENVDB_VERSION_NAME::points::dropAttributes (PointDataTree &tree, const std::vector< size_t > &indices)
 Drops attributes from the VDB tree. More...
 
template<typename PointDataTree >
void openvdb::OPENVDB_VERSION_NAME::points::dropAttributes (PointDataTree &tree, const std::vector< Name > &names)
 Drops attributes from the VDB tree. More...
 
template<typename PointDataTree >
void openvdb::OPENVDB_VERSION_NAME::points::dropAttribute (PointDataTree &tree, const size_t &index)
 Drop one attribute from the VDB tree (convenience method). More...
 
template<typename PointDataTree >
void openvdb::OPENVDB_VERSION_NAME::points::dropAttribute (PointDataTree &tree, const Name &name)
 Drop one attribute from the VDB tree (convenience method). More...
 
template<typename PointDataTree >
void openvdb::OPENVDB_VERSION_NAME::points::renameAttributes (PointDataTree &tree, const std::vector< Name > &oldNames, const std::vector< Name > &newNames)
 Rename attributes in a VDB tree. More...
 
template<typename PointDataTree >
void openvdb::OPENVDB_VERSION_NAME::points::renameAttribute (PointDataTree &tree, const Name &oldName, const Name &newName)
 Rename an attribute in a VDB tree. More...
 
template<typename PointDataTree >
void openvdb::OPENVDB_VERSION_NAME::points::compactAttributes (PointDataTree &tree)
 Compact attributes in a VDB tree (if possible). More...
 
template<typename PointDataTree >
void openvdb::OPENVDB_VERSION_NAME::points::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

Definition in file PointAttribute.h.