#include <face.h>
Public Types | |
enum | Mask { k_Smooth = 0, k_Dart = 1, k_Crease = 2, k_Corner = 3, k_InfinitelySharp = 10 } |
enum | ParentType { k_ParentNone, k_ParentFace, k_ParentEdge, k_ParentVertex } |
Public Member Functions | |
HbrVertex () | |
HbrVertex (int vid, const T &data, int fvarwidth) | |
void | Initialize (int vid, const T &data, int fvarwidth) |
~HbrVertex () | |
void | Destroy (HbrMesh< T > *mesh=0) |
void | AddIncidentEdge (HbrHalfedge< T > *edge) |
void | RemoveIncidentEdge (HbrHalfedge< T > *edge) |
bool | EdgeRemovalWillMakeSingular (HbrHalfedge< T > *edge) const |
void | Finish () |
int | GetValence () const |
int | GetCoarseValence () const |
int | GetID () const |
T & | GetData () |
const T & | GetData () const |
HbrFVarData< T > & | GetFVarData (const HbrFace< T > *face) |
HbrFVarData< T > & | NewFVarData (const HbrFace< T > *face) |
HbrFace< T > * | GetFace () const |
HbrMesh< T > * | GetMesh () const |
HbrHalfedge< T > * | GetEdge (const HbrVertex< T > *dest) const |
HbrHalfedge< T > * | GetEdge (int dest) const |
HbrHalfedge< T > * | GetNextEdge (const HbrHalfedge< T > *edge) const |
HbrHalfedge< T > * | GetPreviousEdge (const HbrHalfedge< T > *edge) const |
HbrVertex< T > * | GetQEONext (const HbrVertex< T > *dest) const |
HbrVertex< T > * | GetQEONext (const HbrHalfedge< T > *edge) const |
HbrVertex< T > * | GetQEOPrev (const HbrHalfedge< T > *edge) const |
HbrVertex< T > * | GetQEOPrev (const HbrVertex< T > *dest) const |
HbrVertex< T > * | GetQELNext (const HbrVertex< T > *dest) const |
bool | OnBoundary () const |
bool | IsFVarSmooth (int datum) |
bool | IsFVarAllSmooth () |
bool | IsFVarDart (int datum) |
bool | IsFVarCorner (int datum) |
float | GetSharpness () const |
void | SetSharpness (float sharp) |
bool | IsSharp (bool next) const |
void | ClearMask () |
unsigned char | GetMask (bool next) |
unsigned char | GetFVarMask (int datum) |
float | GetFractionalMask () const |
bool | IsSingular () const |
template<typename OutputIterator > | |
void | GetSurroundingEdges (OutputIterator edges) const |
void | ApplyOperatorSurroundingEdges (HbrHalfedgeOperator< T > &op) const |
template<typename OutputIterator > | |
void | GetSurroundingVertices (OutputIterator vertices) const |
void | ApplyOperatorSurroundingVertices (HbrVertexOperator< T > &op) const |
void | ApplyOperatorSurroundingFaces (HbrFaceOperator< T > &op) const |
HbrHalfedge< T > * | GetParentEdge () const |
HbrFace< T > * | GetParentFace () const |
HbrVertex< T > * | GetParentVertex () const |
void | SetParent (HbrHalfedge< T > *edge) |
void | SetParent (HbrFace< T > *face) |
void | SetParent (HbrVertex< T > *vertex) |
HbrVertex< T > * | Subdivide () |
void | Refine () |
void | GuaranteeNeighbors () |
void | UnGuaranteeNeighbors () |
bool | HasChild () const |
void | RemoveChild () |
bool | IsReferenced () const |
bool | IsExtraordinary () const |
void | SetExtraordinary () |
bool | IsVolatile () |
bool | IsCollected () const |
void | SetCollected () |
void | ClearCollected () |
bool | HasVertexEdit () const |
void | SetVertexEdit () |
void | ClearVertexEdit () |
unsigned long | GetMemStats () const |
bool | IsConnected () const |
HbrHalfedge< T > * | GetIncidentEdge () const |
void | IncrementUsage () |
void | DecrementUsage () |
bool | IsUsed () const |
HbrVertex< T > *& | GetNext () |
void * | GetClientData (HbrMesh< T > *mesh) const |
void | SetClientData (HbrMesh< T > *mesh, void *data) |
enum Mask |
enum ParentType |
void AddIncidentEdge | ( | HbrHalfedge< T > * | edge | ) |
void ApplyOperatorSurroundingEdges | ( | HbrHalfedgeOperator< T > & | op | ) | const |
void ApplyOperatorSurroundingFaces | ( | HbrFaceOperator< T > & | op | ) | const |
void ApplyOperatorSurroundingVertices | ( | HbrVertexOperator< T > & | op | ) | const |
bool EdgeRemovalWillMakeSingular | ( | HbrHalfedge< T > * | edge | ) | const |
HbrHalfedge< T > * GetEdge | ( | const HbrVertex< T > * | dest | ) | const |
HbrHalfedge< T > * GetEdge | ( | int | dest | ) | const |
HbrFVarData< T > & GetFVarData | ( | const HbrFace< T > * | face | ) |
|
inline |
HbrHalfedge< T > * GetNextEdge | ( | const HbrHalfedge< T > * | edge | ) | const |
|
inline |
HbrHalfedge< T > * GetPreviousEdge | ( | const HbrHalfedge< T > * | edge | ) | const |
HbrVertex< T > * GetQEONext | ( | const HbrHalfedge< T > * | edge | ) | const |
HbrVertex< T > * GetQEOPrev | ( | const HbrHalfedge< T > * | edge | ) | const |
void GetSurroundingVertices | ( | OutputIterator | vertices | ) | const |
HbrFVarData< T > & NewFVarData | ( | const HbrFace< T > * | face | ) |
void RemoveIncidentEdge | ( | HbrHalfedge< T > * | edge | ) |
|
inline |
|
inline |
HbrHalfedge<T>* edge |
HbrHalfedge<T>** edges |