Nuke binary plugins 15.1.4
 
Loading...
Searching...
No Matches
DD::Image::AttribContext Class Reference

#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
 
Vector2vector2 (const unsigned *indices) const
 
Vector3vector3 (const unsigned *indices) const
 
Vector4vector4 (const unsigned *indices) const
 
Vector3normal (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
 
Matrix3matrix3 (const unsigned *indices) const
 
Matrix4matrix4 (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.
 

Detailed Description

Attribute reference class.

Member Function Documentation

◆ copy_to_channels()

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().

◆ print_info()

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.



©2024 The Foundry Visionmongers, Ltd. All Rights Reserved.
www.foundry.com