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

#include <face.h>

Public Types

enum  Mask { k_Smooth = 0, k_Sharp = 1, k_InfinitelySharp = 10 }
 

Public Member Functions

HbrHalfedge< T > * GetOpposite () const
 
void SetOpposite (HbrHalfedge< T > *opposite)
 
HbrHalfedge< T > * GetNext () const
 
HbrHalfedge< T > * GetPrev () const
 
HbrVertex< T > * GetVertex () const
 
HbrVertex< T > * GetVertex (HbrMesh< T > *mesh) const
 
int GetVertexID () const
 
HbrVertex< T > * GetOrgVertex () const
 
HbrVertex< T > * GetOrgVertex (HbrMesh< T > *mesh) const
 
int GetOrgVertexID () const
 
void SetOrgVertex (HbrVertex< T > *v)
 
HbrVertex< T > * GetDestVertex () const
 
HbrVertex< T > * GetDestVertex (HbrMesh< T > *mesh) const
 
int GetDestVertexID () const
 
HbrFace< T > * GetFace () const
 
HbrMesh< T > * GetMesh () const
 
HbrFace< T > * GetRightFace () const
 
HbrFace< T > * GetLeftFace () const
 
bool IsBoundary () const
 
void SetFVarInfiniteSharp (int datum, bool infsharp)
 
void CopyFVarInfiniteSharpness (HbrHalfedge< T > *edge)
 
bool GetFVarInfiniteSharp (int datum)
 
bool IsFVarInfiniteSharpAnywhere ()
 
float GetFVarSharpness (int datum, bool ignoreGeometry=false)
 
float GetSharpness () const
 
void SetSharpness (float sharp)
 
bool IsSharp (bool next) const
 
void ClearMask ()
 
HbrVertex< T > * Subdivide ()
 
void GuaranteeNeighbor ()
 
bool HasChild () const
 
void RemoveChild ()
 
void SetCoarse (bool c)
 
bool IsCoarse () const
 

Friends

class HbrFace< T >
 

Detailed Description

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

Definition at line 48 of file face.h.

Member Enumeration Documentation

enum Mask
Enumerator
k_Smooth 
k_Sharp 
k_InfinitelySharp 

Definition at line 238 of file halfedge.h.

Member Function Documentation

void ClearMask ( )
inline

Definition at line 223 of file halfedge.h.

void CopyFVarInfiniteSharpness ( HbrHalfedge< T > *  edge)
inline

Definition at line 185 of file halfedge.h.

HbrVertex<T>* GetDestVertex ( ) const
inline

Definition at line 143 of file halfedge.h.

HbrVertex<T>* GetDestVertex ( HbrMesh< T > *  mesh) const
inline

Definition at line 146 of file halfedge.h.

int GetDestVertexID ( ) const
inline

Definition at line 149 of file halfedge.h.

HbrFace<T>* GetFace ( ) const
inline

Definition at line 152 of file halfedge.h.

bool GetFVarInfiniteSharp ( int  datum)

Definition at line 601 of file halfedge.h.

float GetFVarSharpness ( int  datum,
bool  ignoreGeometry = false 
)

Definition at line 684 of file halfedge.h.

HbrFace<T>* GetLeftFace ( ) const
inline

Definition at line 169 of file halfedge.h.

HbrMesh<T>* GetMesh ( ) const
inline

Definition at line 163 of file halfedge.h.

HbrHalfedge<T>* GetNext ( ) const
inline

Definition at line 80 of file halfedge.h.

HbrHalfedge<T>* GetOpposite ( ) const
inline

Definition at line 74 of file halfedge.h.

HbrVertex<T>* GetOrgVertex ( ) const
inline

Definition at line 125 of file halfedge.h.

HbrVertex<T>* GetOrgVertex ( HbrMesh< T > *  mesh) const
inline

Definition at line 130 of file halfedge.h.

int GetOrgVertexID ( ) const
inline

Definition at line 135 of file halfedge.h.

HbrHalfedge<T>* GetPrev ( ) const
inline

Definition at line 98 of file halfedge.h.

HbrFace<T>* GetRightFace ( ) const
inline

Definition at line 166 of file halfedge.h.

float GetSharpness ( ) const
inline

Definition at line 211 of file halfedge.h.

HbrVertex<T>* GetVertex ( ) const
inline

Definition at line 110 of file halfedge.h.

HbrVertex<T>* GetVertex ( HbrMesh< T > *  mesh) const
inline

Definition at line 115 of file halfedge.h.

int GetVertexID ( ) const
inline

Definition at line 120 of file halfedge.h.

void GuaranteeNeighbor ( )

Definition at line 590 of file halfedge.h.

bool HasChild ( ) const
inline

Definition at line 232 of file halfedge.h.

bool IsBoundary ( ) const
inline

Definition at line 172 of file halfedge.h.

bool IsCoarse ( ) const
inline

Definition at line 388 of file halfedge.h.

bool IsFVarInfiniteSharpAnywhere ( )

Definition at line 670 of file halfedge.h.

bool IsSharp ( bool  next) const
inline

Definition at line 219 of file halfedge.h.

void RemoveChild ( )
inline

Definition at line 235 of file halfedge.h.

void SetCoarse ( bool  c)
inline

Definition at line 387 of file halfedge.h.

void SetFVarInfiniteSharp ( int  datum,
bool  infsharp 
)
inline

Definition at line 175 of file halfedge.h.

void SetOpposite ( HbrHalfedge< T > *  opposite)
inline

Definition at line 77 of file halfedge.h.

void SetOrgVertex ( HbrVertex< T > *  v)
inline

Definition at line 140 of file halfedge.h.

void SetSharpness ( float  sharp)
inline

Definition at line 214 of file halfedge.h.

HbrVertex< T > * Subdivide ( )

Definition at line 576 of file halfedge.h.

Friends And Related Function Documentation

friend class HbrFace< T >
friend

Definition at line 390 of file halfedge.h.


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