|
mmcfilters
Public API documentation
|
Composite key used to index sampled node-attribute layouts. More...
#include <AttributeTypes.hpp>

Public Member Functions | |
| NodeAttributeSampleKey (Attribute value, int offset=0) | |
Builds a composite key for value at offset. | |
| bool | operator== (const NodeAttributeSampleKey &other) const |
| Returns true when both the attribute and sample offset match. | |
Public Attributes | |
| Attribute | attribute |
| Attribute component of the composite lookup key. | |
| int | sampleOffset = 0 |
| Signed ancestor/current/representative-descendant sample coordinate. | |
Composite key used to index sampled node-attribute layouts.
Definition at line 199 of file AttributeTypes.hpp.
|
inline |
Builds a composite key for value at offset.
A zero offset denotes the current node. Negative offsets refer to ancestor samples and positive offsets refer to representative-descendant samples.
| value | Attribute component of the composite key. |
| offset | Sample coordinate of the composite key. |
Definition at line 216 of file AttributeTypes.hpp.
|
inline |
Returns true when both the attribute and sample offset match.
| other | Object to compare with or transfer from. |
Definition at line 224 of file AttributeTypes.hpp.
| Attribute mmcfilters::NodeAttributeSampleKey::attribute |
Attribute component of the composite lookup key.
Definition at line 201 of file AttributeTypes.hpp.
| int mmcfilters::NodeAttributeSampleKey::sampleOffset = 0 |
Signed ancestor/current/representative-descendant sample coordinate.
Definition at line 204 of file AttributeTypes.hpp.