Blender V5.0
SubdAttributeInterpolation Class Reference

#include <interpolation.h>

Public Member Functions

 SubdAttributeInterpolation (Mesh &mesh)
void setup ()

Public Attributes

vector< SubdAttributevertex_attributes
vector< SubdAttributetriangle_attributes

Protected Member Functions

bool support_interp_attribute (const Attribute &attr) const
void setup_attribute (const Attribute &subd_attr, Attribute &mesh_attr)
template<typename T>
void setup_attribute_vertex_linear (const Attribute &subd_attr, Attribute &mesh_attr, const int motion_step=0)
template<typename T>
void setup_attribute_corner_linear (const Attribute &subd_attr, Attribute &mesh_attr)
template<typename T>
void setup_attribute_face (const Attribute &subd_attr, Attribute &mesh_attr)
template<typename T>
void setup_attribute_type (const Attribute &subd_attr, Attribute &mesh_attr)

Protected Attributes

Meshmesh

Detailed Description

Definition at line 28 of file interpolation.h.

Constructor & Destructor Documentation

◆ SubdAttributeInterpolation()

SubdAttributeInterpolation::SubdAttributeInterpolation ( Mesh & mesh)

Definition at line 50 of file interpolation.cpp.

References mesh.

Member Function Documentation

◆ setup()

void SubdAttributeInterpolation::setup ( )

Definition at line 61 of file interpolation.cpp.

References mesh, setup_attribute(), and support_interp_attribute().

◆ setup_attribute()

void SubdAttributeInterpolation::setup_attribute ( const Attribute & subd_attr,
Attribute & mesh_attr )
protected

◆ setup_attribute_corner_linear()

template<typename T>
void SubdAttributeInterpolation::setup_attribute_corner_linear ( const Attribute & subd_attr,
Attribute & mesh_attr )
protected

◆ setup_attribute_face()

template<typename T>
void SubdAttributeInterpolation::setup_attribute_face ( const Attribute & subd_attr,
Attribute & mesh_attr )
protected

Definition at line 477 of file interpolation.cpp.

References assert, Attribute::data, i, SubdAttribute::interp, and triangle_attributes.

Referenced by setup_attribute_type().

◆ setup_attribute_type()

◆ setup_attribute_vertex_linear()

template<typename T>
void SubdAttributeInterpolation::setup_attribute_vertex_linear ( const Attribute & subd_attr,
Attribute & mesh_attr,
const int motion_step = 0 )
protected

◆ support_interp_attribute()

Member Data Documentation

◆ mesh

◆ triangle_attributes

vector<SubdAttribute> SubdAttributeInterpolation::triangle_attributes

Definition at line 39 of file interpolation.h.

Referenced by setup_attribute_corner_linear(), and setup_attribute_face().

◆ vertex_attributes

vector<SubdAttribute> SubdAttributeInterpolation::vertex_attributes

Definition at line 38 of file interpolation.h.

Referenced by setup_attribute_vertex_linear().


The documentation for this class was generated from the following files: