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

#include <fvarData.h>

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

Public Member Functions

 HbrFVarEdit (int _faceid, int _nsubfaces, unsigned char *_subfaces, unsigned char _vertexid, int _index, int _width, int _offset, typename HbrHierarchicalEdit< T >::Operation _op, float *_edit)
 
 HbrFVarEdit (int _faceid, int _nsubfaces, int *_subfaces, int _vertexid, int _index, int _width, int _offset, typename HbrHierarchicalEdit< T >::Operation _op, float *_edit)
 
virtual ~HbrFVarEdit ()
 
unsigned char GetVertexID () const
 
int GetIndex () const
 
int GetWidth () const
 
int GetOffset () 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 HbrFVarEdit< 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::HbrFVarEdit< T >

Definition at line 36 of file fvarData.h.

Constructor & Destructor Documentation

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

Definition at line 52 of file fvarEdit.h.

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

Definition at line 58 of file fvarEdit.h.

virtual ~HbrFVarEdit ( )
inlinevirtual

Definition at line 64 of file fvarEdit.h.

Member Function Documentation

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

Reimplemented from HbrHierarchicalEdit< T >.

Definition at line 88 of file fvarEdit.h.

const float* GetEdit ( ) const
inline

Definition at line 83 of file fvarEdit.h.

int GetIndex ( ) const
inline

Definition at line 74 of file fvarEdit.h.

int GetOffset ( ) const
inline

Definition at line 80 of file fvarEdit.h.

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

Definition at line 86 of file fvarEdit.h.

unsigned char GetVertexID ( ) const
inline

Definition at line 69 of file fvarEdit.h.

int GetWidth ( ) const
inline

Definition at line 77 of file fvarEdit.h.

Friends And Related Function Documentation

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

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