#include <GeoInfo.h>
Public Member Functions | |
| bool | empty () const |
| bool | not_empty () const |
| void * | array (const unsigned *indices) const |
| float & | flt (const unsigned *indices) const |
| Vector2 & | vector2 (const unsigned *indices) const |
| Vector3 & | vector3 (const unsigned *indices) const |
| Vector4 & | vector4 (const unsigned *indices) const |
| Vector3 & | normal (const unsigned *indices) const |
| int & | integer (const unsigned *indices) const |
| char *& | string (const unsigned *indices) const |
| std::string & | stdstring (const unsigned *indices) const |
| void *& | pointer (const unsigned *indices) const |
| Matrix3 & | matrix3 (const unsigned *indices) const |
| Matrix4 & | matrix4 (const unsigned *indices) const |
| void | copy_to_channels (const unsigned *indices, VArray &out) const |
| void | print_info () const |
Public Attributes | |
| GroupType | group |
| Geometry group attribute is associated with. | |
| const char * | name |
| Attribute name - should be a NYI dictionary reference!! | |
| AttribType | type |
| Attribute type - should be a NYI dictionary reference!! | |
| AttributePtr | attribute |
| The allocation. | |
| unsigned | channel |
| Starting channel in a packed float array. | |
| bool | varying |
| Whether the attribute should be interpolated. | |
| bool | recursive |
| Whether the attribute should be recursed. | |
Attribute reference class.
| void AttribContext::copy_to_channels | ( | const unsigned * | indices, |
| VArray & | out | ||
| ) | const |
Copy the float data from the attribute to a VArray structure.
References DD::Image::Attribute::array(), attribute, channel, DD::Image::Attribute::floats(), group, and DD::Image::Attribute::size().
| void AttribContext::print_info | ( | ) | const |
Print some information about the reference to stdout.
References attribute, channel, group, DD::Image::group_names, name, DD::Image::Attribute::print_info(), and recursive.
| ©2025 The Foundry Visionmongers, Ltd. All Rights Reserved. |