All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
HbrFace< T > Class Template Reference

#include <face.h>

Public Member Functions

void Initialize (HbrMesh< T > *mesh, HbrFace< T > *parent, int childindex, int id, int uindex, int nvertices, HbrVertex< T > **vertices, int fvarwidth=0, int depth=0)
 
void Destroy ()
 
HbrMesh< T > * GetMesh () const
 
int GetNumVertices () const
 
int GetID () const
 
HbrHalfedge< T > * GetFirstEdge () const
 
HbrHalfedge< T > * GetEdge (int index) const
 
HbrVertex< T > * GetVertex (int index) const
 
int GetVertexID (int index) const
 
HbrFace< T > * GetParent () const
 
void SetChild (int index, HbrFace< T > *face)
 
HbrFace< T > * GetChild (int index) const
 
HbrVertex< T > * Subdivide ()
 
bool HasChildVertex () const
 
void RemoveChild ()
 
bool IsHole () const
 
void SetHole (bool h=1)
 
bool IsCoarse () const
 
void SetCoarse ()
 
bool IsProtected () const
 
void SetProtected ()
 
void ClearProtected ()
 
bool IsCollected () const
 
void SetCollected ()
 
void ClearCollected ()
 
void Refine ()
 
void Unrefine ()
 
bool HasLimit ()
 
unsigned long GetMemStats () const
 
HbrFVarData< T > & GetFVarData (int index)
 
void MarkUsage ()
 
void ClearUsage ()
 
bool GarbageCollectable () const
 
void SetHierarchicalEdits (HbrHierarchicalEdit< T > **edits)
 
HbrHierarchicalEdit< T > ** GetHierarchicalEdits () const
 
bool HasVertexEdits () const
 
void MarkVertexEdits ()
 
int GetDepth () const
 
int GetUniformIndex () const
 
void SetUniformIndex (int i)
 
int GetPtexIndex () const
 
void SetPtexIndex (int i)
 
HbrFace< T > *& GetNext ()
 
HbrFacePath GetPath () const
 
void PrintPath () const
 
void * GetClientData () const
 
void SetClientData (void *data)
 
void GetSupportingVertices (std::vector< int > &support)
 

Friends

class HbrAllocator< HbrFace< T > >
 
class HbrHalfedge< T >
 

Detailed Description

template<class T>
class OpenSubdiv::OPENSUBDIV_VERSION::HbrFace< T >

Definition at line 49 of file face.h.

Member Function Documentation

void ClearCollected ( )
inline

Definition at line 200 of file face.h.

void ClearProtected ( )
inline

Definition at line 195 of file face.h.

void ClearUsage ( )

Definition at line 882 of file face.h.

void Destroy ( )

Definition at line 572 of file face.h.

bool GarbageCollectable ( ) const

Definition at line 928 of file face.h.

HbrFace<T>* GetChild ( int  index) const
inline

Definition at line 164 of file face.h.

void* GetClientData ( ) const
inline

Definition at line 309 of file face.h.

int GetDepth ( ) const
inline

Definition at line 257 of file face.h.

HbrHalfedge< T > * GetEdge ( int  index) const

Definition at line 718 of file face.h.

HbrHalfedge<T>* GetFirstEdge ( ) const
inline

Definition at line 136 of file face.h.

HbrFVarData<T>& GetFVarData ( int  index)
inline

Definition at line 221 of file face.h.

HbrHierarchicalEdit<T>** GetHierarchicalEdits ( ) const
inline

Definition at line 244 of file face.h.

int GetID ( ) const
inline

Definition at line 133 of file face.h.

unsigned long GetMemStats ( ) const

Definition at line 831 of file face.h.

HbrMesh<T>* GetMesh ( ) const
inline

Definition at line 127 of file face.h.

HbrFace<T>*& GetNext ( )
inline

Definition at line 273 of file face.h.

int GetNumVertices ( ) const
inline

Definition at line 130 of file face.h.

HbrFace<T>* GetParent ( ) const
inline

Definition at line 155 of file face.h.

HbrFacePath GetPath ( ) const
inline

Definition at line 275 of file face.h.

int GetPtexIndex ( ) const
inline

Definition at line 267 of file face.h.

void GetSupportingVertices ( std::vector< int > &  support)

Definition at line 958 of file face.h.

int GetUniformIndex ( ) const
inline

Definition at line 261 of file face.h.

HbrVertex< T > * GetVertex ( int  index) const

Definition at line 730 of file face.h.

int GetVertexID ( int  index) const

Definition at line 744 of file face.h.

bool HasChildVertex ( ) const
inline

Definition at line 177 of file face.h.

bool HasLimit ( )

Definition at line 825 of file face.h.

bool HasVertexEdits ( ) const
inline

Definition at line 253 of file face.h.

void Initialize ( HbrMesh< T > *  mesh,
HbrFace< T > *  parent,
int  childindex,
int  id,
int  uindex,
int  nvertices,
HbrVertex< T > **  vertices,
int  fvarwidth = 0,
int  depth = 0 
)

Definition at line 448 of file face.h.

bool IsCoarse ( ) const
inline

Definition at line 188 of file face.h.

bool IsCollected ( ) const
inline

Definition at line 198 of file face.h.

bool IsHole ( ) const
inline

Definition at line 183 of file face.h.

bool IsProtected ( ) const
inline

Definition at line 193 of file face.h.

void MarkUsage ( )

Definition at line 837 of file face.h.

void MarkVertexEdits ( )
inline

Definition at line 254 of file face.h.

void PrintPath ( ) const
inline

Definition at line 304 of file face.h.

void Refine ( )

Definition at line 796 of file face.h.

void RemoveChild ( )
inline

Definition at line 180 of file face.h.

void SetChild ( int  index,
HbrFace< T > *  face 
)

Definition at line 758 of file face.h.

void SetClientData ( void *  data)
inline

Definition at line 314 of file face.h.

void SetCoarse ( )
inline

Definition at line 189 of file face.h.

void SetCollected ( )
inline

Definition at line 199 of file face.h.

void SetHierarchicalEdits ( HbrHierarchicalEdit< T > **  edits)

Definition at line 943 of file face.h.

void SetHole ( bool  h = 1)
inline

Definition at line 184 of file face.h.

void SetProtected ( )
inline

Definition at line 194 of file face.h.

void SetPtexIndex ( int  i)
inline

Definition at line 270 of file face.h.

void SetUniformIndex ( int  i)
inline

Definition at line 264 of file face.h.

HbrVertex< T > * Subdivide ( )

Definition at line 786 of file face.h.

void Unrefine ( )

Definition at line 802 of file face.h.

Friends And Related Function Documentation

friend class HbrAllocator< HbrFace< T > >
friend

Definition at line 116 of file face.h.

friend class HbrHalfedge< T >
friend

Definition at line 117 of file face.h.

Member Data Documentation

HbrFaceChildren<T>* children

Definition at line 348 of file face.h.

HbrFace<T>** extrachildren

Definition at line 349 of file face.h.


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