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

#include <GU_Flatten2.h>

Classes

class  BoundaryMap
 
class  PointMap
 
class  QuadLayout
 

Public Member Functions

 Island (const GU_Detail *gdp, int idx=-1)
 
const GU_DetailgetDetail () const
 
SYS_FORCE_INLINE int getIndex () const
 
const GA_OffsetArraypolys () const
 
SYS_FORCE_INLINE void appendPoly (GA_Offset poly)
 
const TriangulationgetTriangulation () const
 
void triangualte (const GA_EdgeGroup *seams=nullptr)
 
void calcHedgeDirichletData (UT_FprealArray &apx_cotan, UT_FprealArray &tri_area) const
 
fpreal calcArea (ROHandleV3R pos, UT_Vector3R *centroid=nullptr) const
 
template<typename Func >
void forEachVertex (Func func) const
 
SYS_FORCE_INLINE bool hasPointIndex () const
 
int numPoints () const
 
GA_ROHandleI vertexPointAttr () const
 
SYS_FORCE_INLINE int vertexPoint (GA_Offset vtx) const
 
int indexPoints (GA_RWHandleI &vtx_pt_attr)
 
int indexPoints (UT_IntArray &vtx_island_pt) const
 
const PointMapgetPointMap () const
 
const QuadLayoutgetQuadLayout () const
 
const BoundaryMapgetBoundaryMap () const
 

Detailed Description

Definition at line 178 of file GU_Flatten2.h.

Constructor & Destructor Documentation

GU_Flatten2::Island::Island ( const GU_Detail gdp,
int  idx = -1 
)
inlineexplicit

Definition at line 181 of file GU_Flatten2.h.

Member Function Documentation

SYS_FORCE_INLINE void GU_Flatten2::Island::appendPoly ( GA_Offset  poly)
inline

Definition at line 194 of file GU_Flatten2.h.

fpreal GU_Flatten2::Island::calcArea ( ROHandleV3R  pos,
UT_Vector3R centroid = nullptr 
) const
void GU_Flatten2::Island::calcHedgeDirichletData ( UT_FprealArray apx_cotan,
UT_FprealArray tri_area 
) const
template<typename Func >
void GU_Flatten2::Island::forEachVertex ( Func  func) const
inline

Definition at line 216 of file GU_Flatten2.h.

const BoundaryMap& GU_Flatten2::Island::getBoundaryMap ( ) const
inline

Definition at line 543 of file GU_Flatten2.h.

const GU_Detail* GU_Flatten2::Island::getDetail ( ) const
inline

Definition at line 185 of file GU_Flatten2.h.

SYS_FORCE_INLINE int GU_Flatten2::Island::getIndex ( ) const
inline

Definition at line 188 of file GU_Flatten2.h.

const PointMap& GU_Flatten2::Island::getPointMap ( ) const
inline

Definition at line 529 of file GU_Flatten2.h.

const QuadLayout& GU_Flatten2::Island::getQuadLayout ( ) const
inline

Definition at line 536 of file GU_Flatten2.h.

const Triangulation& GU_Flatten2::Island::getTriangulation ( ) const
inline

Definition at line 198 of file GU_Flatten2.h.

SYS_FORCE_INLINE bool GU_Flatten2::Island::hasPointIndex ( ) const
inline

Definition at line 227 of file GU_Flatten2.h.

int GU_Flatten2::Island::indexPoints ( GA_RWHandleI vtx_pt_attr)
inline

Definition at line 239 of file GU_Flatten2.h.

int GU_Flatten2::Island::indexPoints ( UT_IntArray vtx_island_pt) const
inline

Definition at line 247 of file GU_Flatten2.h.

int GU_Flatten2::Island::numPoints ( ) const
inline

Definition at line 230 of file GU_Flatten2.h.

const GA_OffsetArray& GU_Flatten2::Island::polys ( ) const
inline

Definition at line 191 of file GU_Flatten2.h.

void GU_Flatten2::Island::triangualte ( const GA_EdgeGroup seams = nullptr)
inline

Definition at line 204 of file GU_Flatten2.h.

SYS_FORCE_INLINE int GU_Flatten2::Island::vertexPoint ( GA_Offset  vtx) const
inline

Definition at line 236 of file GU_Flatten2.h.

GA_ROHandleI GU_Flatten2::Island::vertexPointAttr ( ) const
inline

Definition at line 233 of file GU_Flatten2.h.


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