HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
MeshPartition Class Reference

#include <Mesh.h>

Public Member Functions

 MeshPartition ()
 
 ~MeshPartition ()
 
void resize (size_t indexCount)
 Resize data to the given number of indices. More...
 
void setName (const string &val)
 Set the name of this partition. More...
 
const stringgetName () const
 Return the name of this partition. More...
 
void addSourceName (const string &val)
 
const StringSetgetSourceNames () const
 
MeshIndexBuffergetIndices ()
 Return indexing. More...
 
const MeshIndexBuffergetIndices () const
 Return indexing. More...
 
size_t getFaceCount () const
 Return number of faces. More...
 
void setFaceCount (size_t val)
 Set face count. More...
 

Static Public Member Functions

static MeshPartitionPtr create ()
 Create a new mesh partition. More...
 

Detailed Description

Class that describes a sub-region of a mesh using vertex indexing. Note that a face is considered to be a triangle.

Definition at line 151 of file Mesh.h.

Constructor & Destructor Documentation

MeshPartition::MeshPartition ( )
inline

Definition at line 154 of file Mesh.h.

MeshPartition::~MeshPartition ( )
inline

Definition at line 158 of file Mesh.h.

Member Function Documentation

void MeshPartition::addSourceName ( const string val)
inline

Add a source name, representing a partition that was processed to generate this one.

Definition at line 186 of file Mesh.h.

static MeshPartitionPtr MeshPartition::create ( )
inlinestatic

Create a new mesh partition.

Definition at line 161 of file Mesh.h.

size_t MeshPartition::getFaceCount ( ) const
inline

Return number of faces.

Definition at line 211 of file Mesh.h.

MeshIndexBuffer& MeshPartition::getIndices ( )
inline

Return indexing.

Definition at line 199 of file Mesh.h.

const MeshIndexBuffer& MeshPartition::getIndices ( ) const
inline

Return indexing.

Definition at line 205 of file Mesh.h.

const string& MeshPartition::getName ( ) const
inline

Return the name of this partition.

Definition at line 179 of file Mesh.h.

const StringSet& MeshPartition::getSourceNames ( ) const
inline

Return the vector of source names, representing all partitions that were processed to generate this one.

Definition at line 193 of file Mesh.h.

void MeshPartition::resize ( size_t  indexCount)
inline

Resize data to the given number of indices.

Definition at line 167 of file Mesh.h.

void MeshPartition::setFaceCount ( size_t  val)
inline

Set face count.

Definition at line 217 of file Mesh.h.

void MeshPartition::setName ( const string val)
inline

Set the name of this partition.

Definition at line 173 of file Mesh.h.


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