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

#include <GU_Flatten2.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 addAlignedGroup (const GA_OffsetArray &vtxs, AlignDir dir)
 
bool addStraightGroup (const GA_OffsetArray &vtxs)
 
ConstraintSetislandConstraints (const Island &island)
 
const ConstraintSetislandConstraints (const Island &island) const
 

Detailed Description

Definition at line 1155 of file GU_Flatten2.h.

Member Typedef Documentation

Constructor & Destructor Documentation

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

Definition at line 1161 of file GU_Flatten2.h.

Member Function Documentation

bool GU_Flatten2::ConstraintBundle::addAlignedGroup ( const GA_OffsetArray vtxs,
AlignDir  dir 
)
void GU_Flatten2::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_Flatten2::ConstraintBundle::addStraightGroup ( const GA_OffsetArray vtxs)
ConstraintSet& GU_Flatten2::ConstraintBundle::islandConstraints ( const Island island)
inline

Definition at line 1178 of file GU_Flatten2.h.

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

Definition at line 1182 of file GU_Flatten2.h.

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

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