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

#include <GU_LoopHelper.h>

Public Member Functions

 GU_LoopHelper ()
 
 ~GU_LoopHelper ()
 
bool primLoop (GA_Index start, GA_Index end, GU_LoopType loop_type, UT_Array< GEO_SHedge > &loop)
 
bool edgeLoop (GEO_Hedge start, GEO_Hedge end, GU_LoopType loop_type, bool allow_ring_instead, UT_Array< GEO_SHedge > &loop)
 
bool edgeRing (GEO_Hedge start, GEO_Hedge end, GU_LoopType loop_type, UT_Array< GEO_SHedge > &loop)
 
bool pointLoop (GA_Index start, GA_Index end, GU_LoopType loop_type, UT_Array< GEO_SHedge > &loop)
 
bool vertexLoop (GA_Index start, int svtx, GA_Index end, int evtx, GU_LoopType loop_type, UT_Array< GEO_SHedge > &loop)
 
bool primLoop (GA_Index start, GA_Index end, GU_LoopType loop_type, UT_Array< GU_PathSHedge > &loop)
 
bool edgeLoop (GU_PathHedge start, GU_PathHedge end, GU_LoopType loop_type, bool allow_ring_instead, bool force_find_path, bool &result_is_ring, UT_Array< GU_PathSHedge > &loop)
 
bool edgeLoop (GU_PathHedge start, GU_PathHedge end, GU_LoopType loop_type, bool allow_ring_instead, UT_Array< GU_PathSHedge > &loop)
 
bool edgeRing (GU_PathHedge start, GU_PathHedge end, GU_LoopType loop_type, UT_Array< GU_PathSHedge > &loop)
 
bool pointLoop (GA_Index start, GA_Index end, GU_LoopType loop_type, UT_Array< GU_PathSHedge > &loop)
 
bool vertexLoop (GA_Index start, int svtx, GA_Index end, int evtx, GU_LoopType loop_type, UT_Array< GU_PathSHedge > &loop)
 
bool extendLoop (UT_Array< GU_PathSHedge > &loop)
 
bool extendRing (UT_Array< GU_PathSHedge > &loop, bool is_for_prim_loop=false)
 
void setActiveDetail (const GU_Detail *gdp, const GA_Attribute *uv_attrib=nullptr)
 
const GU_DetailgetActiveDetail () const
 
const UT_Array< GA_OffsetArray > * getActiveRingZero ()
 
const GEO_DetachedHedgeInterfacegetActiveHedgeInterface ()
 
GU_PathHedge::InterfacegetActivePathHedgeInterface ()
 
const GA_AttributegetActiveUVAttrib ()
 
void setPreviousPath (const GA_Group *prev_gp, bool replace_existing=true)
 
void resetPreviousPath ()
 
void setCollisionGroup (const GA_Group *g, bool exclude_collision_group, bool collision_strong_rule)
 

Detailed Description

Definition at line 34 of file GU_LoopHelper.h.

Constructor & Destructor Documentation

GU_LoopHelper::GU_LoopHelper ( )
GU_LoopHelper::~GU_LoopHelper ( )

Member Function Documentation

bool GU_LoopHelper::edgeLoop ( GEO_Hedge  start,
GEO_Hedge  end,
GU_LoopType  loop_type,
bool  allow_ring_instead,
UT_Array< GEO_SHedge > &  loop 
)
bool GU_LoopHelper::edgeLoop ( GU_PathHedge  start,
GU_PathHedge  end,
GU_LoopType  loop_type,
bool  allow_ring_instead,
bool  force_find_path,
bool &  result_is_ring,
UT_Array< GU_PathSHedge > &  loop 
)
bool GU_LoopHelper::edgeLoop ( GU_PathHedge  start,
GU_PathHedge  end,
GU_LoopType  loop_type,
bool  allow_ring_instead,
UT_Array< GU_PathSHedge > &  loop 
)
inline

Definition at line 74 of file GU_LoopHelper.h.

bool GU_LoopHelper::edgeRing ( GEO_Hedge  start,
GEO_Hedge  end,
GU_LoopType  loop_type,
UT_Array< GEO_SHedge > &  loop 
)
bool GU_LoopHelper::edgeRing ( GU_PathHedge  start,
GU_PathHedge  end,
GU_LoopType  loop_type,
UT_Array< GU_PathSHedge > &  loop 
)
bool GU_LoopHelper::extendLoop ( UT_Array< GU_PathSHedge > &  loop)
bool GU_LoopHelper::extendRing ( UT_Array< GU_PathSHedge > &  loop,
bool  is_for_prim_loop = false 
)
const GU_Detail* GU_LoopHelper::getActiveDetail ( ) const
const GEO_DetachedHedgeInterface* GU_LoopHelper::getActiveHedgeInterface ( )
GU_PathHedge::Interface* GU_LoopHelper::getActivePathHedgeInterface ( )
const UT_Array<GA_OffsetArray>* GU_LoopHelper::getActiveRingZero ( )
const GA_Attribute* GU_LoopHelper::getActiveUVAttrib ( )
bool GU_LoopHelper::pointLoop ( GA_Index  start,
GA_Index  end,
GU_LoopType  loop_type,
UT_Array< GEO_SHedge > &  loop 
)
bool GU_LoopHelper::pointLoop ( GA_Index  start,
GA_Index  end,
GU_LoopType  loop_type,
UT_Array< GU_PathSHedge > &  loop 
)
bool GU_LoopHelper::primLoop ( GA_Index  start,
GA_Index  end,
GU_LoopType  loop_type,
UT_Array< GEO_SHedge > &  loop 
)
bool GU_LoopHelper::primLoop ( GA_Index  start,
GA_Index  end,
GU_LoopType  loop_type,
UT_Array< GU_PathSHedge > &  loop 
)
void GU_LoopHelper::resetPreviousPath ( )
void GU_LoopHelper::setActiveDetail ( const GU_Detail gdp,
const GA_Attribute uv_attrib = nullptr 
)
void GU_LoopHelper::setCollisionGroup ( const GA_Group g,
bool  exclude_collision_group,
bool  collision_strong_rule 
)
inline

Definition at line 130 of file GU_LoopHelper.h.

void GU_LoopHelper::setPreviousPath ( const GA_Group prev_gp,
bool  replace_existing = true 
)
bool GU_LoopHelper::vertexLoop ( GA_Index  start,
int  svtx,
GA_Index  end,
int  evtx,
GU_LoopType  loop_type,
UT_Array< GEO_SHedge > &  loop 
)
bool GU_LoopHelper::vertexLoop ( GA_Index  start,
int  svtx,
GA_Index  end,
int  evtx,
GU_LoopType  loop_type,
UT_Array< GU_PathSHedge > &  loop 
)

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