HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GU_UVFlatten::ConstraintBundle Class Reference

#include <GU_UVFlatten.h>

Public Types

using PinInfo = ConstraintSet::PinInfo
 
using AlignDir = ConstraintSet::AlignDir
 

Public Member Functions

 ConstraintBundle (const IslandBundle &islands)
 
void addPin (GA_Offset vtx, UT_Vector3R uv, int id=-1, GA_Offset ref_vtx=GA_INVALID_OFFSET, UT_Vector3R refuv={0, 0, 0})
 
void sanitizePins (UT_IntArray *removed_pin_ids=nullptr)
 
bool addAlignGroup (const GA_OffsetArray &vtxs, AlignDir dir, int id=-1)
 
bool addStraightenGroup (const GA_OffsetArray &vtxs, int id=-1)
 
ConstraintSetislandConstraints (const Island &island)
 
const ConstraintSetislandConstraints (const Island &island) const
 

Detailed Description

Definition at line 744 of file GU_UVFlatten.h.

Member Typedef Documentation

Constructor & Destructor Documentation

GU_UVFlatten::ConstraintBundle::ConstraintBundle ( const IslandBundle islands)
inlineexplicit

Definition at line 750 of file GU_UVFlatten.h.

Member Function Documentation

bool GU_UVFlatten::ConstraintBundle::addAlignGroup ( const GA_OffsetArray vtxs,
AlignDir  dir,
int  id = -1 
)
void GU_UVFlatten::ConstraintBundle::addPin ( GA_Offset  vtx,
UT_Vector3R  uv,
int  id = -1,
GA_Offset  ref_vtx = GA_INVALID_OFFSET,
UT_Vector3R  refuv = {0, 0, 0} 
)
bool GU_UVFlatten::ConstraintBundle::addStraightenGroup ( const GA_OffsetArray vtxs,
int  id = -1 
)
ConstraintSet& GU_UVFlatten::ConstraintBundle::islandConstraints ( const Island island)
inline

Definition at line 768 of file GU_UVFlatten.h.

const ConstraintSet& GU_UVFlatten::ConstraintBundle::islandConstraints ( const Island island) const
inline

Definition at line 772 of file GU_UVFlatten.h.

void GU_UVFlatten::ConstraintBundle::sanitizePins ( UT_IntArray removed_pin_ids = nullptr)

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