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

#include <scheme.h>

Classes

class  LocalMask
 
class  LocalMask
 

Public Member Functions

 Scheme ()
 
 Scheme (Options const &options)
 
 ~Scheme ()
 
Options GetOptions () const
 
void SetOptions (const Options &newOptions)
 
template<typename FACE , typename MASK >
void ComputeFaceVertexMask (FACE const &faceNeighborhood, MASK &faceVertexMask) const
 
template<typename EDGE , typename MASK >
void ComputeEdgeVertexMask (EDGE const &edgeNeighborhood, MASK &edgeVertexMask, Crease::Rule parentRule=Crease::RULE_UNKNOWN, Crease::Rule childRule=Crease::RULE_UNKNOWN) const
 
template<typename VERTEX , typename MASK >
void ComputeVertexVertexMask (VERTEX const &vertexNeighborhood, MASK &vertexVertexMask, Crease::Rule parentRule=Crease::RULE_UNKNOWN, Crease::Rule childRule=Crease::RULE_UNKNOWN) const
 
template<typename VERTEX , typename MASK >
void ComputeVertexLimitMask (VERTEX const &vertexNeighborhood, MASK &positionMask) const
 
template<typename VERTEX , typename MASK >
void ComputeVertexLimitMask (VERTEX const &vertexNeighborhood, MASK &positionMask, MASK &tangent1Mask, MASK &tangent2Mask) const
 
template<>
void ComputeEdgeVertexMask (EDGE const &edge, MASK &mask, Crease::Rule, Crease::Rule) const
 
template<>
void ComputeVertexVertexMask (VERTEX const &vertex, MASK &mask, Crease::Rule, Crease::Rule) const
 

Protected Member Functions

template<typename EDGE , typename MASK >
void assignCreaseMaskForEdge (EDGE const &edge, MASK &mask) const
 
template<typename EDGE , typename MASK >
void assignSmoothMaskForEdge (EDGE const &edge, MASK &mask) const
 
template<typename VERTEX , typename MASK >
void assignCornerMaskForVertex (VERTEX const &edge, MASK &mask) const
 
template<typename VERTEX , typename MASK >
void assignCreaseMaskForVertex (VERTEX const &edge, MASK &mask, float const sharpness[]) const
 
template<typename VERTEX , typename MASK >
void assignSmoothMaskForVertex (VERTEX const &edge, MASK &mask) const
 
template<>
void assignSmoothMaskForEdge (EDGE const &edge, MASK &mask) const
 
template<>
void assignCreaseMaskForVertex (VERTEX const &vertex, MASK &mask, float const edgeSharpness[]) const
 
template<>
void assignSmoothMaskForVertex (VERTEX const &vertex, MASK &mask) const
 

Detailed Description

template<Type SCHEME_TYPE>
class OpenSubdiv::OPENSUBDIV_VERSION::Sdc::Scheme< SCHEME_TYPE >

Definition at line 97 of file scheme.h.

Constructor & Destructor Documentation

Scheme ( )
inline

Definition at line 101 of file scheme.h.

Scheme ( Options const &  options)
inline

Definition at line 103 of file scheme.h.

~Scheme ( )
inline

Definition at line 105 of file scheme.h.

Member Function Documentation

void assignCornerMaskForVertex ( VERTEX const &  edge,
MASK &  mask 
) const
inlineprotected

Definition at line 310 of file scheme.h.

void assignCreaseMaskForEdge ( EDGE const &  edge,
MASK &  mask 
) const
inlineprotected

Definition at line 297 of file scheme.h.

void assignCreaseMaskForVertex ( VERTEX const &  vertex,
MASK &  mask,
float const  edgeSharpness[] 
) const
inlineprotected

Definition at line 126 of file catmarkScheme.h.

void assignCreaseMaskForVertex ( VERTEX const &  edge,
MASK &  mask,
float const  sharpness[] 
) const
protected
void assignSmoothMaskForEdge ( EDGE const &  edge,
MASK &  mask 
) const
inlineprotected

Definition at line 54 of file catmarkScheme.h.

void assignSmoothMaskForEdge ( EDGE const &  edge,
MASK &  mask 
) const
protected
void assignSmoothMaskForVertex ( VERTEX const &  vertex,
MASK &  mask 
) const
inlineprotected

Definition at line 164 of file catmarkScheme.h.

void assignSmoothMaskForVertex ( VERTEX const &  edge,
MASK &  mask 
) const
protected
void ComputeEdgeVertexMask ( EDGE const &  edge,
MASK &  mask,
Crease::Rule  ,
Crease::Rule   
) const

Definition at line 42 of file bilinearScheme.h.

void ComputeEdgeVertexMask ( EDGE const &  edgeNeighborhood,
MASK &  edgeVertexMask,
Crease::Rule  parentRule = Crease::RULE_UNKNOWN,
Crease::Rule  childRule = Crease::RULE_UNKNOWN 
) const

Definition at line 369 of file scheme.h.

void ComputeFaceVertexMask ( FACE const &  faceNeighborhood,
MASK &  faceVertexMask 
) const

Definition at line 326 of file scheme.h.

void ComputeVertexLimitMask ( VERTEX const &  vertexNeighborhood,
MASK &  positionMask 
) const
void ComputeVertexLimitMask ( VERTEX const &  vertexNeighborhood,
MASK &  positionMask,
MASK &  tangent1Mask,
MASK &  tangent2Mask 
) const
void ComputeVertexVertexMask ( VERTEX const &  vertex,
MASK &  mask,
Crease::Rule  ,
Crease::Rule   
) const

Definition at line 51 of file bilinearScheme.h.

void ComputeVertexVertexMask ( VERTEX const &  vertexNeighborhood,
MASK &  vertexVertexMask,
Crease::Rule  parentRule = Crease::RULE_UNKNOWN,
Crease::Rule  childRule = Crease::RULE_UNKNOWN 
) const

Definition at line 489 of file scheme.h.

Options GetOptions ( ) const
inline

Definition at line 107 of file scheme.h.

void SetOptions ( const Options newOptions)
inline

Definition at line 108 of file scheme.h.


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