Blender V5.3
topology_refiner_factory.cc File Reference
#include <algorithm>
#include <cassert>
#include <cstdio>
#include <memory>
#include <opensubdiv/far/topologyRefinerFactory.h>
#include "internal/base/type_convert.h"
#include "opensubdiv_converter_capi.hh"
#include "opensubdiv_topology_refiner.hh"

Go to the source code of this file.

Classes

struct  TopologyRefinerData

Namespaces

namespace  OpenSubdiv
namespace  OpenSubdiv::OPENSUBDIV_VERSION
namespace  OpenSubdiv::OPENSUBDIV_VERSION::Far
namespace  blender
 BMesh Iterators.
namespace  blender::opensubdiv

Typedefs

using TopologyRefinerFactoryType = OpenSubdiv::Far::TopologyRefinerFactory<TopologyRefinerData>

Functions

static int faces_num_from_offsets (const std::span< const int > face_offsets)
static int total_size_from_offsets (const std::span< const int > face_offsets)
static OpenSubdiv::Sdc::Options blender::opensubdiv::getSDCOptions (OpenSubdiv_Converter *converter)
static TopologyRefinerFactoryType::Options blender::opensubdiv::getTopologyRefinerOptions (OpenSubdiv_Converter *converter)
static void blender::opensubdiv::storeBaseMeshTopology (const OpenSubdiv_Converter *converter, TopologyRefinerImpl &refiner_impl)

Typedef Documentation

◆ TopologyRefinerFactoryType

using TopologyRefinerFactoryType = OpenSubdiv::Far::TopologyRefinerFactory<TopologyRefinerData>

Definition at line 39 of file topology_refiner_factory.cc.

Function Documentation

◆ faces_num_from_offsets()

int faces_num_from_offsets ( const std::span< const int > face_offsets)
static

Definition at line 28 of file topology_refiner_factory.cc.

References faces_num_from_offsets().

Referenced by faces_num_from_offsets().

◆ total_size_from_offsets()

int total_size_from_offsets ( const std::span< const int > face_offsets)
static