My Project: MeshInterface< PATCH_TABLE > Class Template Reference

| My Project

Public Types | Public Member Functions | Static Protected Member Functions | List of all members
MeshInterface< PATCH_TABLE > Class Template Referenceabstract

`#include <mesh.h>`

Inheritance diagram for MeshInterface< PATCH_TABLE >:

## Public Types
typedef PATCH_TABLE | PatchTable
typedef PatchTable::VertexBufferBinding | VertexBufferBinding

## Public Member Functions
| MeshInterface ()
virtual | ~MeshInterface ()
virtual int | GetNumVertices () const =0
virtual int | GetMaxValence () const =0
virtual void | UpdateVertexBuffer (float const *vertexData, int startVertex, int numVerts)=0
virtual void | UpdateVaryingBuffer (float const *varyingData, int startVertex, int numVerts)=0
virtual void | Refine ()=0
virtual void | Synchronize ()=0
virtual PatchTable * | GetPatchTable () const =0
virtual const Far::PatchTable * | GetFarPatchTable () const =0
virtual VertexBufferBinding | BindVertexBuffer ()=0
virtual VertexBufferBinding | BindVaryingBuffer ()=0

## Static Protected Member Functions
static void | refineMesh (Far::TopologyRefiner &refiner, int level, bool adaptive, bool singleCreasePatch)
static void | refineMesh (Far::TopologyRefiner &refiner, int level, MeshBitset bits)

## Detailed Description

### template<class PATCH_TABLE>
class OpenSubdiv::OPENSUBDIV_VERSION::Osd::MeshInterface< PATCH_TABLE >

Definition at line 68 of file mesh.h.

## Member Typedef Documentation

## ◆ PatchTable

typedef PATCH_TABLE PatchTable

Definition at line 70 of file mesh.h.

## ◆ VertexBufferBinding

typedef PatchTable::VertexBufferBinding VertexBufferBinding

Definition at line 71 of file mesh.h.

## Constructor & Destructor Documentation

## ◆ MeshInterface()

MeshInterface | ( |  | ) |
| inline

Definition at line 74 of file mesh.h.

## ◆ ~MeshInterface()

virtual ~MeshInterface | ( |  | ) |
| inlinevirtual

Definition at line 76 of file mesh.h.

## Member Function Documentation

## ◆ BindVaryingBuffer()

virtual VertexBufferBinding BindVaryingBuffer | ( |  | ) |
| pure virtual

Implemented in Mesh< VERTEX_BUFFER, STENCIL_TABLE, EVALUATOR, PATCH_TABLE, DEVICE_CONTEXT >.

## ◆ BindVertexBuffer()

virtual VertexBufferBinding BindVertexBuffer | ( |  | ) |
| pure virtual

Implemented in Mesh< VERTEX_BUFFER, STENCIL_TABLE, EVALUATOR, PATCH_TABLE, DEVICE_CONTEXT >.

## ◆ GetFarPatchTable()

virtual const Far::PatchTable* GetFarPatchTable | ( |  | ) | const
| pure virtual

Implemented in Mesh< VERTEX_BUFFER, STENCIL_TABLE, EVALUATOR, PATCH_TABLE, DEVICE_CONTEXT >.

## ◆ GetMaxValence()

virtual int GetMaxValence | ( |  | ) | const
| pure virtual

Implemented in Mesh< VERTEX_BUFFER, STENCIL_TABLE, EVALUATOR, PATCH_TABLE, DEVICE_CONTEXT >.

## ◆ GetNumVertices()

virtual int GetNumVertices | ( |  | ) | const
| pure virtual

Implemented in Mesh< VERTEX_BUFFER, STENCIL_TABLE, EVALUATOR, PATCH_TABLE, DEVICE_CONTEXT >.

## ◆ GetPatchTable()

virtual PatchTable* GetPatchTable | ( |  | ) | const
| pure virtual

Implemented in Mesh< VERTEX_BUFFER, STENCIL_TABLE, EVALUATOR, PATCH_TABLE, DEVICE_CONTEXT >.

## ◆ Refine()

virtual void Refine | ( |  | ) |
| pure virtual

Implemented in Mesh< VERTEX_BUFFER, STENCIL_TABLE, EVALUATOR, PATCH_TABLE, DEVICE_CONTEXT >.

## ◆ refineMesh() [1/2]

static void refineMesh | ( | Far::TopologyRefiner & | refiner,
|  | int | level,
|  | bool | adaptive,
|  | bool | singleCreasePatch
| ) |  |
| inlinestaticprotected

Definition at line 101 of file mesh.h.

## ◆ refineMesh() [2/2]

static void refineMesh | ( | Far::TopologyRefiner & | refiner,
|  | int | level,
|  | MeshBitset | bits
| ) |  |
| inlinestaticprotected

Definition at line 117 of file mesh.h.

## ◆ Synchronize()

virtual void Synchronize | ( |  | ) |
| pure virtual

Implemented in Mesh< VERTEX_BUFFER, STENCIL_TABLE, EVALUATOR, PATCH_TABLE, DEVICE_CONTEXT >.

## ◆ UpdateVaryingBuffer()

virtual void UpdateVaryingBuffer | ( | float const * | varyingData,
|  | int | startVertex,
|  | int | numVerts
| ) |  |
| pure virtual

Implemented in Mesh< VERTEX_BUFFER, STENCIL_TABLE, EVALUATOR, PATCH_TABLE, DEVICE_CONTEXT >.

## ◆ UpdateVertexBuffer()

virtual void UpdateVertexBuffer | ( | float const * | vertexData,
|  | int | startVertex,
|  | int | numVerts
| ) |  |
| pure virtual

Implemented in Mesh< VERTEX_BUFFER, STENCIL_TABLE, EVALUATOR, PATCH_TABLE, DEVICE_CONTEXT >.

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

- opensubdiv/osd/mesh.h