OpenSubdiv
TopologyRefiner::AdaptiveOptions Struct Reference

Adaptive refinement options. More...

#include <topologyRefiner.h>

Public Member Functions

 AdaptiveOptions (int level)
 
void SetIsolationLevel (int level)
 Set isolation level. More...
 
void SetSecondaryLevel (int level)
 Set secondary isolation level. More...
 

Public Attributes

unsigned int isolationLevel:4
 
unsigned int secondaryLevel:4
 
unsigned int useSingleCreasePatch:1
 
unsigned int useInfSharpPatch:1
 
unsigned int considerFVarChannels:1
 
unsigned int orderVerticesFromFacesFirst:1
 

Detailed Description

Adaptive refinement options.

Definition at line 156 of file topologyRefiner.h.

Constructor & Destructor Documentation

AdaptiveOptions ( int  level)
inline

Definition at line 158 of file topologyRefiner.h.

Member Function Documentation

void SetIsolationLevel ( int  level)
inline

Set isolation level.

Definition at line 167 of file topologyRefiner.h.

void SetSecondaryLevel ( int  level)
inline

Set secondary isolation level.

Definition at line 170 of file topologyRefiner.h.

Member Data Documentation

unsigned int considerFVarChannels

Inspect face-varying channels and isolate when irregular features present

Definition at line 180 of file topologyRefiner.h.

unsigned int isolationLevel

Number of iterations applied to isolate extraordinary vertices and creases

Definition at line 172 of file topologyRefiner.h.

unsigned int orderVerticesFromFacesFirst

Order child vertices from faces first instead of child vertices of vertices

Definition at line 182 of file topologyRefiner.h.

unsigned int secondaryLevel

Shallower level to stop isolation of smooth irregular features

Definition at line 174 of file topologyRefiner.h.

unsigned int useInfSharpPatch

Use infinitely sharp patches and stop isolation where applicable

Definition at line 178 of file topologyRefiner.h.

unsigned int useSingleCreasePatch

Use 'single-crease' patch and stop isolation where applicable

Definition at line 176 of file topologyRefiner.h.


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