Blender V4.5
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.

Member Function Documentation

◆ setup()

◆ 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, 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

Mesh& SubdAttributeInterpolation::mesh
protected

◆ triangle_attributes

vector<SubdAttribute> SubdAttributeInterpolation::triangle_attributes

◆ vertex_attributes

vector<SubdAttribute> SubdAttributeInterpolation::vertex_attributes

Definition at line 38 of file interpolation.h.

Referenced by EdgeDice::set_vertex(), and setup_attribute_vertex_linear().


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