MaterialX 1.39.1
Loading...
Searching...
No Matches
MeshPartition Class Reference

Class that describes a sub-region of a mesh using vertex indexing. More...

#include <Mesh.h>

Public Member Functions

void resize (size_t indexCount)
 Resize data to the given number of indices.
 
void setName (const string &val)
 Set the name of this partition.
 
const string & getName () const
 Return the name of this partition.
 
void addSourceName (const string &val)
 Add a source name, representing a partition that was processed to generate this one.
 
const StringSetgetSourceNames () const
 Return the vector of source names, representing all partitions that were processed to generate this one.
 
MeshIndexBuffergetIndices ()
 Return indexing.
 
const MeshIndexBuffergetIndices () const
 Return indexing.
 
size_t getFaceCount () const
 Return number of faces.
 
void setFaceCount (size_t val)
 Set face count.
 

Static Public Member Functions

static MeshPartitionPtr create ()
 Create a new mesh partition.
 

Detailed Description

Class that describes a sub-region of a mesh using vertex indexing.

Note that a face is considered to be a triangle.


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