OpenVDB  12.0.0
Public Types | Public Member Functions | Protected Member Functions | List of all members
AttributeDetail< VDBGridType > Class Template Reference

#include <openvdb_houdini/AttributeTransferUtil.h>

Inherits AttributeDetailBase.

Public Types

using ValueType = typename VDBGridType::ValueType
 
using Ptr = std::shared_ptr< AttributeDetailBase >
 

Public Member Functions

 AttributeDetail (openvdb::GridBase::Ptr grid, const GA_Attribute *attribute, const GA_AIFTuple *tupleAIF, const int tupleIndex, const bool isVector=false)
 
void set (const openvdb::Coord &ijk, const GA_Offset(&offsets)[3], const openvdb::Vec3d &weights) override
 
void set (const openvdb::Coord &ijk, GA_Offset offset) override
 
openvdb::GridBase::Ptrgrid () override
 
std::string & name () override
 
AttributeDetailBase::Ptr copy () override
 

Protected Member Functions

 AttributeDetail ()
 

Member Typedef Documentation

using Ptr = std::shared_ptr<AttributeDetailBase>
inherited
using ValueType = typename VDBGridType::ValueType

Constructor & Destructor Documentation

AttributeDetail ( openvdb::GridBase::Ptr  grid,
const GA_Attribute *  attribute,
const GA_AIFTuple *  tupleAIF,
const int  tupleIndex,
const bool  isVector = false 
)
AttributeDetail ( )
protected

Member Function Documentation

AttributeDetailBase::Ptr copy ( )
overridevirtual

Implements AttributeDetailBase.

openvdb::GridBase::Ptr& grid ( )
inlineoverridevirtual

Implements AttributeDetailBase.

std::string& name ( )
inlineoverridevirtual

Implements AttributeDetailBase.

void set ( const openvdb::Coord &  ijk,
const GA_Offset(&)  offsets[3],
const openvdb::Vec3d &  weights 
)
overridevirtual

Implements AttributeDetailBase.

void set ( const openvdb::Coord &  ijk,
GA_Offset  offset 
)
overridevirtual

Implements AttributeDetailBase.