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

#include <faceEdit.h>

Inheritance diagram for HbrFaceEdit< T >:
HbrHierarchicalEdit< T >

Public Member Functions

 HbrFaceEdit (int _faceid, int _nsubfaces, unsigned char *_subfaces, int _index, int _width, typename HbrHierarchicalEdit< T >::Operation _op, float *_edit)
 
 HbrFaceEdit (int _faceid, int _nsubfaces, int *_subfaces, int _index, int _width, typename HbrHierarchicalEdit< T >::Operation _op, float *_edit)
 
virtual ~HbrFaceEdit ()
 
int GetIndex () const
 
int GetWidth () const
 
const float * GetEdit () const
 
HbrHierarchicalEdit< T >::Operation GetOperation () const
 
virtual void ApplyEditToFace (HbrFace< T > *face)
 
- Public Member Functions inherited from HbrHierarchicalEdit< T >
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 ApplyEditToVertex (HbrFace< T > *, HbrVertex< T > *)
 

Friends

std::ostream & operator (std::ostream &out, const HbrFaceEdit< T > &path)
 

Additional Inherited Members

- Public Types inherited from HbrHierarchicalEdit< T >
enum  Operation { Set, Add, Subtract }
 
typedef enum
OpenSubdiv::OPENSUBDIV_VERSION::HbrHierarchicalEdit::Operation 
Operation
 
- Protected Member Functions inherited from HbrHierarchicalEdit< T >
 HbrHierarchicalEdit (int _faceid, int _nsubfaces, unsigned char *_subfaces)
 
 HbrHierarchicalEdit (int _faceid, int _nsubfaces, int *_subfaces)
 
- Protected Attributes inherited from HbrHierarchicalEdit< T >
const int faceid
 
const int nsubfaces
 
unsigned char * subfaces
 

Detailed Description

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

Definition at line 35 of file faceEdit.h.

Constructor & Destructor Documentation

HbrFaceEdit ( int  _faceid,
int  _nsubfaces,
unsigned char *  _subfaces,
int  _index,
int  _width,
typename HbrHierarchicalEdit< T >::Operation  _op,
float *  _edit 
)
inline

Definition at line 51 of file faceEdit.h.

HbrFaceEdit ( int  _faceid,
int  _nsubfaces,
int *  _subfaces,
int  _index,
int  _width,
typename HbrHierarchicalEdit< T >::Operation  _op,
float *  _edit 
)
inline

Definition at line 57 of file faceEdit.h.

virtual ~HbrFaceEdit ( )
inlinevirtual

Definition at line 79 of file faceEdit.h.

Member Function Documentation

virtual void ApplyEditToFace ( HbrFace< T > *  face)
inlinevirtual

Reimplemented from HbrHierarchicalEdit< T >.

Definition at line 97 of file faceEdit.h.

const float* GetEdit ( ) const
inline

Definition at line 92 of file faceEdit.h.

int GetIndex ( ) const
inline

Definition at line 86 of file faceEdit.h.

HbrHierarchicalEdit<T>::Operation GetOperation ( ) const
inline

Definition at line 95 of file faceEdit.h.

int GetWidth ( ) const
inline

Definition at line 89 of file faceEdit.h.

Friends And Related Function Documentation

std::ostream& operator ( std::ostream &  out,
const HbrFaceEdit< T > &  path 
)
friend

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