HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
GU_PolyReduce2::Mesh Class Reference

#include <GU_PolyReduce2.h>

Classes

struct  PtVtxIterator
 
struct  PtVtxRange
 

Public Types

using Parms = GU_PolyReduce2::Parms
 

Public Member Functions

 Mesh ()=default
 
 Mesh (GU_Detail *gdp, const GA_PrimitiveGroup *prims=nullptr)
 
 ~Mesh ()
 
SYS_FORCE_INLINE bool hasGroup () const
 
SYS_FORCE_INLINE
GA_PrimitiveGroup
getGroup ()
 
SYS_FORCE_INLINE GA_Range groupPolys ()
 
SYS_FORCE_INLINE GA_Range nonGroupPrims ()
 
SYS_FORCE_INLINE bool hasPoly (GA_Offset poly) const
 
SYS_FORCE_INLINE GA_Offset vertexPoint (GA_Offset vtx) const
 
SYS_FORCE_INLINE GA_Offset pointVertex (GA_Offset vtx) const
 
SYS_FORCE_INLINE GA_Offset vertexToNextVertex (GA_Offset vtx) const
 
SYS_FORCE_INLINE GEO_Hedge polyHedge (GA_Offset poly) const
 
SYS_FORCE_INLINE GA_Offset hedgePoly (GEO_Hedge h) const
 
SYS_FORCE_INLINE GA_Offset vertexPoly (GA_Offset vtx) const
 
SYS_FORCE_INLINE GEO_Hedge lnext (GEO_Hedge h) const
 
SYS_FORCE_INLINE GEO_Hedge lprev (GEO_Hedge h) const
 
SYS_FORCE_INLINE GEO_Hedge sym (GEO_Hedge h) const
 
SYS_FORCE_INLINE GA_Offset srcPoint (GEO_Hedge h) const
 
SYS_FORCE_INLINE GA_Offset srcVertex (GEO_Hedge h) const
 
SYS_FORCE_INLINE GA_Offset dstPoint (GEO_Hedge h) const
 
SYS_FORCE_INLINE GA_Offset dstVertex (GEO_Hedge h) const
 
SYS_FORCE_INLINE GA_Offset preSrcPoint (GEO_Hedge h) const
 
SYS_FORCE_INLINE bool isValid (GEO_Hedge h) const
 
SYS_FORCE_INLINE bool isPrimary (GEO_Hedge h) const
 
SYS_FORCE_INLINE GEO_Hedge primary (GEO_Hedge h) const
 
SYS_FORCE_INLINE bool isValidPoly (GA_Offset poly) const
 
SYS_FORCE_INLINE GA_Offset polyFirst (GA_Offset vtx) const
 
SYS_FORCE_INLINE GA_Offset polyNext (GA_Offset vtx) const
 
SYS_FORCE_INLINE GA_Offset polyPrev (GA_Offset vtx) const
 
SYS_FORCE_INLINE bool hasNonTris () const
 
SYS_FORCE_INLINE bool hasQuads () const
 
SYS_FORCE_INLINE exint numNonTris () const
 
SYS_FORCE_INLINE exint numQuads () const
 
SYS_FORCE_INLINE bool isQuad (GA_Offset poly) const
 
SYS_FORCE_INLINE bool isQuadHedge (GEO_Hedge h) const
 
SYS_FORCE_INLINE GEO_Hedge quadOpposite (GEO_Hedge h) const
 
SYS_FORCE_INLINE int vertexCount (GA_Offset poly) const
 
SYS_FORCE_INLINE exint numPolys () const
 
SYS_FORCE_INLINE exint numPoints () const
 
GU_DetailgetDetail ()
 
GEO_PolyInterfacegetPolyInterface ()
 
PtVtxRange pointVertices (GA_Offset pt)
 
SYS_FORCE_INLINE GA_Offset contract (GEO_Hedge h, bool collapse_on_dst)
 

Protected Attributes

exint myNumQuads = 0
 
exint myNumNonTris = 0
 
exint myNumNonGroupPts = 0
 
GA_PrimitiveGroupmyPolys = nullptr
 
GU_DetailmyGdp = nullptr
 
GEO_PolyInterfacemyPip = nullptr
 

Detailed Description

Definition at line 163 of file GU_PolyReduce2.h.

Member Typedef Documentation

Constructor & Destructor Documentation

GU_PolyReduce2::Mesh::Mesh ( )
default
GU_PolyReduce2::Mesh::Mesh ( GU_Detail gdp,
const GA_PrimitiveGroup prims = nullptr 
)
explicit
GU_PolyReduce2::Mesh::~Mesh ( )

Member Function Documentation

SYS_FORCE_INLINE GA_Offset GU_PolyReduce2::Mesh::contract ( GEO_Hedge  h,
bool  collapse_on_dst 
)
inline

Definition at line 396 of file GU_PolyReduce2.h.

SYS_FORCE_INLINE GA_Offset GU_PolyReduce2::Mesh::dstPoint ( GEO_Hedge  h) const
inline

Definition at line 240 of file GU_PolyReduce2.h.

SYS_FORCE_INLINE GA_Offset GU_PolyReduce2::Mesh::dstVertex ( GEO_Hedge  h) const
inline

Definition at line 244 of file GU_PolyReduce2.h.

GU_Detail* GU_PolyReduce2::Mesh::getDetail ( void  )
inline

Definition at line 322 of file GU_PolyReduce2.h.

SYS_FORCE_INLINE GA_PrimitiveGroup* GU_PolyReduce2::Mesh::getGroup ( )
inline

Definition at line 179 of file GU_PolyReduce2.h.

GEO_PolyInterface* GU_PolyReduce2::Mesh::getPolyInterface ( )
inline

Definition at line 323 of file GU_PolyReduce2.h.

SYS_FORCE_INLINE GA_Range GU_PolyReduce2::Mesh::groupPolys ( )
inline

Definition at line 182 of file GU_PolyReduce2.h.

SYS_FORCE_INLINE bool GU_PolyReduce2::Mesh::hasGroup ( ) const
inline

Definition at line 176 of file GU_PolyReduce2.h.

SYS_FORCE_INLINE bool GU_PolyReduce2::Mesh::hasNonTris ( ) const
inline

Definition at line 280 of file GU_PolyReduce2.h.

SYS_FORCE_INLINE bool GU_PolyReduce2::Mesh::hasPoly ( GA_Offset  poly) const
inline

Definition at line 191 of file GU_PolyReduce2.h.

SYS_FORCE_INLINE bool GU_PolyReduce2::Mesh::hasQuads ( ) const
inline

Definition at line 283 of file GU_PolyReduce2.h.

SYS_FORCE_INLINE GA_Offset GU_PolyReduce2::Mesh::hedgePoly ( GEO_Hedge  h) const
inline

Definition at line 212 of file GU_PolyReduce2.h.

SYS_FORCE_INLINE bool GU_PolyReduce2::Mesh::isPrimary ( GEO_Hedge  h) const
inline

Definition at line 256 of file GU_PolyReduce2.h.

SYS_FORCE_INLINE bool GU_PolyReduce2::Mesh::isQuad ( GA_Offset  poly) const
inline

Definition at line 293 of file GU_PolyReduce2.h.

SYS_FORCE_INLINE bool GU_PolyReduce2::Mesh::isQuadHedge ( GEO_Hedge  h) const
inline

Definition at line 297 of file GU_PolyReduce2.h.

SYS_FORCE_INLINE bool GU_PolyReduce2::Mesh::isValid ( GEO_Hedge  h) const
inline

Definition at line 252 of file GU_PolyReduce2.h.

SYS_FORCE_INLINE bool GU_PolyReduce2::Mesh::isValidPoly ( GA_Offset  poly) const
inline

Definition at line 264 of file GU_PolyReduce2.h.

SYS_FORCE_INLINE GEO_Hedge GU_PolyReduce2::Mesh::lnext ( GEO_Hedge  h) const
inline

Definition at line 220 of file GU_PolyReduce2.h.

SYS_FORCE_INLINE GEO_Hedge GU_PolyReduce2::Mesh::lprev ( GEO_Hedge  h) const
inline

Definition at line 224 of file GU_PolyReduce2.h.

SYS_FORCE_INLINE GA_Range GU_PolyReduce2::Mesh::nonGroupPrims ( )
inline

Definition at line 186 of file GU_PolyReduce2.h.

SYS_FORCE_INLINE exint GU_PolyReduce2::Mesh::numNonTris ( ) const
inline

Definition at line 286 of file GU_PolyReduce2.h.

SYS_FORCE_INLINE exint GU_PolyReduce2::Mesh::numPoints ( ) const
inline

Definition at line 318 of file GU_PolyReduce2.h.

SYS_FORCE_INLINE exint GU_PolyReduce2::Mesh::numPolys ( ) const
inline

Definition at line 313 of file GU_PolyReduce2.h.

SYS_FORCE_INLINE exint GU_PolyReduce2::Mesh::numQuads ( ) const
inline

Definition at line 289 of file GU_PolyReduce2.h.

SYS_FORCE_INLINE GA_Offset GU_PolyReduce2::Mesh::pointVertex ( GA_Offset  vtx) const
inline

Definition at line 200 of file GU_PolyReduce2.h.

PtVtxRange GU_PolyReduce2::Mesh::pointVertices ( GA_Offset  pt)
inline

Definition at line 392 of file GU_PolyReduce2.h.

SYS_FORCE_INLINE GA_Offset GU_PolyReduce2::Mesh::polyFirst ( GA_Offset  vtx) const
inline

Definition at line 268 of file GU_PolyReduce2.h.

SYS_FORCE_INLINE GEO_Hedge GU_PolyReduce2::Mesh::polyHedge ( GA_Offset  poly) const
inline

Definition at line 208 of file GU_PolyReduce2.h.

SYS_FORCE_INLINE GA_Offset GU_PolyReduce2::Mesh::polyNext ( GA_Offset  vtx) const
inline

Definition at line 272 of file GU_PolyReduce2.h.

SYS_FORCE_INLINE GA_Offset GU_PolyReduce2::Mesh::polyPrev ( GA_Offset  vtx) const
inline

Definition at line 276 of file GU_PolyReduce2.h.

SYS_FORCE_INLINE GA_Offset GU_PolyReduce2::Mesh::preSrcPoint ( GEO_Hedge  h) const
inline

Definition at line 248 of file GU_PolyReduce2.h.

SYS_FORCE_INLINE GEO_Hedge GU_PolyReduce2::Mesh::primary ( GEO_Hedge  h) const
inline

Definition at line 260 of file GU_PolyReduce2.h.

SYS_FORCE_INLINE GEO_Hedge GU_PolyReduce2::Mesh::quadOpposite ( GEO_Hedge  h) const
inline

Definition at line 301 of file GU_PolyReduce2.h.

SYS_FORCE_INLINE GA_Offset GU_PolyReduce2::Mesh::srcPoint ( GEO_Hedge  h) const
inline

Definition at line 232 of file GU_PolyReduce2.h.

SYS_FORCE_INLINE GA_Offset GU_PolyReduce2::Mesh::srcVertex ( GEO_Hedge  h) const
inline

Definition at line 236 of file GU_PolyReduce2.h.

SYS_FORCE_INLINE GEO_Hedge GU_PolyReduce2::Mesh::sym ( GEO_Hedge  h) const
inline

Definition at line 228 of file GU_PolyReduce2.h.

SYS_FORCE_INLINE int GU_PolyReduce2::Mesh::vertexCount ( GA_Offset  poly) const
inline

Definition at line 309 of file GU_PolyReduce2.h.

SYS_FORCE_INLINE GA_Offset GU_PolyReduce2::Mesh::vertexPoint ( GA_Offset  vtx) const
inline

Definition at line 196 of file GU_PolyReduce2.h.

SYS_FORCE_INLINE GA_Offset GU_PolyReduce2::Mesh::vertexPoly ( GA_Offset  vtx) const
inline

Definition at line 216 of file GU_PolyReduce2.h.

SYS_FORCE_INLINE GA_Offset GU_PolyReduce2::Mesh::vertexToNextVertex ( GA_Offset  vtx) const
inline

Definition at line 204 of file GU_PolyReduce2.h.

Member Data Documentation

GU_Detail* GU_PolyReduce2::Mesh::myGdp = nullptr
protected

Definition at line 409 of file GU_PolyReduce2.h.

exint GU_PolyReduce2::Mesh::myNumNonGroupPts = 0
protected

Definition at line 406 of file GU_PolyReduce2.h.

exint GU_PolyReduce2::Mesh::myNumNonTris = 0
protected

Definition at line 405 of file GU_PolyReduce2.h.

exint GU_PolyReduce2::Mesh::myNumQuads = 0
protected

Definition at line 404 of file GU_PolyReduce2.h.

GEO_PolyInterface* GU_PolyReduce2::Mesh::myPip = nullptr
protected

Definition at line 410 of file GU_PolyReduce2.h.

GA_PrimitiveGroup* GU_PolyReduce2::Mesh::myPolys = nullptr
protected

Definition at line 408 of file GU_PolyReduce2.h.


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