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

#include <topologyRefiner.h>

Inheritance diagram for TopologyRefinerFactory< MESH >:
TopologyRefinerFactoryBase

Public Member Functions

 TopologyRefinerFactory ()
 Constructor. More...
 
 ~TopologyRefinerFactory ()
 Destructor. More...
 

Static Public Member Functions

static TopologyRefinerCreate (Sdc::Type type, Sdc::Options options, MESH const &mesh)
 Instantiates TopologyRefiner from client-provided topological representation. More...
 

Static Protected Member Functions

static void resizeComponentTopology (TopologyRefiner &refiner, MESH const &mesh)
 
static void assignComponentTopology (TopologyRefiner &refiner, MESH const &mesh)
 
static void assignFaceVaryingTopology (TopologyRefiner &refiner, MESH const &mesh)
 
static void assignComponentTags (TopologyRefiner &refiner, MESH const &mesh)
 
static void populateBaseLevel (TopologyRefiner &refiner, MESH const &mesh)
 
- Static Protected Member Functions inherited from TopologyRefinerFactoryBase
static void validateComponentTopologySizing (TopologyRefiner &refiner)
 
static void validateVertexComponentTopologyAssignment (TopologyRefiner &refiner)
 
static void validateFaceVaryingComponentTopologyAssignment (TopologyRefiner &refiner)
 
static void applyComponentTagsAndBoundarySharpness (TopologyRefiner &refiner)
 

Detailed Description

template<class MESH>
class OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyRefinerFactory< MESH >

Definition at line 50 of file topologyRefiner.h.

Constructor & Destructor Documentation

Constructor.

Definition at line 124 of file topologyRefinerFactory.h.

Destructor.

Definition at line 127 of file topologyRefinerFactory.h.

Member Function Documentation

void assignComponentTags ( TopologyRefiner refiner,
MESH const &  mesh 
)
staticprotected

Definition at line 318 of file topologyRefinerFactory.h.

void assignComponentTopology ( TopologyRefiner refiner,
MESH const &  mesh 
)
staticprotected

Definition at line 263 of file topologyRefinerFactory.h.

void assignFaceVaryingTopology ( TopologyRefiner refiner,
MESH const &  mesh 
)
staticprotected

Definition at line 303 of file topologyRefinerFactory.h.

TopologyRefiner * Create ( Sdc::Type  type,
Sdc::Options  options,
MESH const &  mesh 
)
static

Instantiates TopologyRefiner from client-provided topological representation.

If only the face-vertices topological relationships are specified with this factory, edge relationships have to be inferred, which requires additional processing. If the client topological rep can provide this information, it is highly recommended to do so.

Parameters
typeThe subdivision scheme
optionsSubdivion options (boundary interpolation rules...)
meshClient topological representation (or a converter)

return An instance of TopologyRefiner or NULL for failure

Definition at line 177 of file topologyRefinerFactory.h.

void populateBaseLevel ( TopologyRefiner refiner,
MESH const &  mesh 
)
staticprotected

Definition at line 188 of file topologyRefinerFactory.h.

void resizeComponentTopology ( TopologyRefiner refiner,
MESH const &  mesh 
)
staticprotected

Definition at line 224 of file topologyRefinerFactory.h.


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