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 177 of file GU_Flatten2.h.

Constructor & Destructor Documentation

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

Definition at line 180 of file GU_Flatten2.h.

Member Function Documentation

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

Definition at line 193 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 215 of file GU_Flatten2.h.

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

Definition at line 542 of file GU_Flatten2.h.

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

Definition at line 184 of file GU_Flatten2.h.

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

Definition at line 187 of file GU_Flatten2.h.

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

Definition at line 528 of file GU_Flatten2.h.

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

Definition at line 535 of file GU_Flatten2.h.

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

Definition at line 197 of file GU_Flatten2.h.

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

Definition at line 226 of file GU_Flatten2.h.

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

Definition at line 238 of file GU_Flatten2.h.

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

Definition at line 246 of file GU_Flatten2.h.

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

Definition at line 229 of file GU_Flatten2.h.

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

Definition at line 190 of file GU_Flatten2.h.

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

Definition at line 203 of file GU_Flatten2.h.

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

Definition at line 235 of file GU_Flatten2.h.

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

Definition at line 232 of file GU_Flatten2.h.


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