Write-able version of AttributeHandle.
More...
#include <AttributeArray.h>
Inherits AttributeHandle< ValueType, CodecType >.
template<typename ValueType, typename CodecType = UnknownCodec>
class openvdb::v4_0_2::points::AttributeWriteHandle< ValueType, CodecType >
Write-able version of AttributeHandle.
◆ GetterPtr
◆ Handle
◆ Ptr
◆ ScopedPtr
◆ SetterPtr
◆ UniquePtr
◆ ValuePtr
◆ AttributeWriteHandle()
◆ ~AttributeWriteHandle()
◆ collapse() [1/2]
Replace the existing array with a uniform value (zero if none provided).
◆ collapse() [2/2]
| void collapse |
( |
const ValueType & |
uniformValue | ) |
|
◆ compact()
Compact the existing array to become uniform if all values are identical.
◆ create() [1/2]
◆ create() [2/2]
◆ expand()
| void expand |
( |
bool |
fill = true | ) |
|
If this array is uniform, replace it with an array of length size().
- Parameters
-
| fill | if true, assign the uniform value to each element of the array. |
◆ fill()
| void fill |
( |
const ValueType & |
value | ) |
|
Fill the existing array with the given value.
- Note
- Identical to collapse() except a non-uniform array will not become uniform.
◆ get()
◆ hasConstantStride()
| bool hasConstantStride |
( |
| ) |
const |
|
inherited |
◆ index()
◆ isUniform()
◆ set() [1/2]
| void set |
( |
Index |
n, |
|
|
const ValueType & |
value |
|
) |
| |
◆ set() [2/2]
| void set |
( |
Index |
n, |
|
|
Index |
m, |
|
|
const ValueType & |
value |
|
) |
| |
◆ size()
◆ stride()
◆ ::TestAttributeArray
| friend class ::TestAttributeArray |
|
friend |
◆ mArray
◆ mCollapser
◆ mFiller
◆ mGetter
◆ mSetter
The documentation for this class was generated from the following file: