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

#include <face.h>

Inheritance diagram for HbrHierarchicalEdit< T >:
HbrCornerEdit< T > HbrCreaseEdit< T > HbrFaceEdit< T > HbrFVarEdit< T > HbrHoleEdit< T > HbrMovingVertexEdit< T > HbrVertexEdit< T >

Public Types

enum  Operation { Set, Add, Subtract }
 
typedef enum
OpenSubdiv::OPENSUBDIV_VERSION::HbrHierarchicalEdit::Operation 
Operation
 

Public Member Functions

virtual ~HbrHierarchicalEdit ()
 
bool operator< (const HbrHierarchicalEdit &p) const
 
int GetFaceID () const
 
int GetNSubfaces () const
 
unsigned char GetSubface (int index) const
 
bool IsRelevantToFace (HbrFace< T > *face) const
 
virtual void ApplyEditToFace (HbrFace< T > *)
 
virtual void ApplyEditToVertex (HbrFace< T > *, HbrVertex< T > *)
 

Protected Member Functions

 HbrHierarchicalEdit (int _faceid, int _nsubfaces, unsigned char *_subfaces)
 
 HbrHierarchicalEdit (int _faceid, int _nsubfaces, int *_subfaces)
 

Protected Attributes

const int faceid
 
const int nsubfaces
 
unsigned char * subfaces
 

Detailed Description

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

Definition at line 51 of file face.h.

Member Typedef Documentation

Member Enumeration Documentation

enum Operation
Enumerator
Set 
Add 
Subtract 

Definition at line 41 of file hierarchicalEdit.h.

Constructor & Destructor Documentation

HbrHierarchicalEdit ( int  _faceid,
int  _nsubfaces,
unsigned char *  _subfaces 
)
inlineprotected

Definition at line 49 of file hierarchicalEdit.h.

HbrHierarchicalEdit ( int  _faceid,
int  _nsubfaces,
int *  _subfaces 
)
inlineprotected

Definition at line 57 of file hierarchicalEdit.h.

virtual ~HbrHierarchicalEdit ( )
inlinevirtual

Definition at line 66 of file hierarchicalEdit.h.

Member Function Documentation

virtual void ApplyEditToFace ( HbrFace< T > *  )
inlinevirtual
virtual void ApplyEditToVertex ( HbrFace< T > *  ,
HbrVertex< T > *   
)
inlinevirtual

Reimplemented in HbrMovingVertexEdit< T >, and HbrVertexEdit< T >.

Definition at line 99 of file hierarchicalEdit.h.

int GetFaceID ( ) const
inline

Definition at line 83 of file hierarchicalEdit.h.

int GetNSubfaces ( ) const
inline

Definition at line 86 of file hierarchicalEdit.h.

unsigned char GetSubface ( int  index) const
inline

Definition at line 89 of file hierarchicalEdit.h.

bool IsRelevantToFace ( HbrFace< T > *  face) const

Definition at line 139 of file hierarchicalEdit.h.

bool operator< ( const HbrHierarchicalEdit< T > &  p) const
inline

Definition at line 70 of file hierarchicalEdit.h.

Member Data Documentation

const int faceid
protected

Definition at line 109 of file hierarchicalEdit.h.

const int nsubfaces
protected

Definition at line 112 of file hierarchicalEdit.h.

unsigned char* subfaces
protected

Definition at line 115 of file hierarchicalEdit.h.


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