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

#include <vertexEdit.h>

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

Public Member Functions

 HbrVertexEdit (int _faceid, int _nsubfaces, unsigned char *_subfaces, unsigned char _vertexid, int _index, int _width, bool _isP, typename HbrHierarchicalEdit< T >::Operation _op, float *_edit)
 
 HbrVertexEdit (int _faceid, int _nsubfaces, int *_subfaces, int _vertexid, int _index, int _width, bool _isP, typename HbrHierarchicalEdit< T >::Operation _op, float *_edit)
 
virtual ~HbrVertexEdit ()
 
unsigned char GetVertexID () const
 
int GetIndex () const
 
int GetWidth () const
 
const float * GetEdit () const
 
HbrHierarchicalEdit< T >::Operation GetOperation () const
 
virtual void ApplyEditToFace (HbrFace< T > *face)
 
virtual void ApplyEditToVertex (HbrFace< T > *face, HbrVertex< T > *vertex)
 
- 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
 

Friends

std::ostream & operator (std::ostream &out, const HbrVertexEdit< 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::HbrVertexEdit< T >

Definition at line 36 of file vertexEdit.h.

Constructor & Destructor Documentation

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

Definition at line 52 of file vertexEdit.h.

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

Definition at line 58 of file vertexEdit.h.

virtual ~HbrVertexEdit ( )
inlinevirtual

Definition at line 64 of file vertexEdit.h.

Member Function Documentation

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

Reimplemented from HbrHierarchicalEdit< T >.

Definition at line 85 of file vertexEdit.h.

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

Reimplemented from HbrHierarchicalEdit< T >.

Definition at line 96 of file vertexEdit.h.

const float* GetEdit ( ) const
inline

Definition at line 80 of file vertexEdit.h.

int GetIndex ( ) const
inline

Definition at line 74 of file vertexEdit.h.

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

Definition at line 83 of file vertexEdit.h.

unsigned char GetVertexID ( ) const
inline

Definition at line 69 of file vertexEdit.h.

int GetWidth ( ) const
inline

Definition at line 77 of file vertexEdit.h.

Friends And Related Function Documentation

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

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