MeshLink
Computational geometry access
|
Storage for MeshLink schema MeshFile data. More...
#include <MeshAssociativity.h>
Public Member Functions | |
MeshFile () | |
Default constructor. More... | |
MeshFile (std::string &filename, std::string &arefString) | |
Explicit constructor with mesh file name and attribute reference string. More... | |
~MeshFile () | |
Destructor. More... | |
void | addModelRef (const std::string &refName) |
Add a MeshModel reference to this mesh file. Typically used by a MeshLinkParser when a new "MeshModelReference" element is encountered. More... | |
const std::vector< std::string > & | getModelRefs () |
Public Member Functions inherited from MeshLinkFile | |
MeshLinkFile () | |
Default constructor. More... | |
MeshLinkFile (std::string &filename, std::string &arefString) | |
Explicit constructor with file name (path) and attribute reference string. More... | |
~MeshLinkFile () | |
Destructor. More... | |
virtual const char * | getFilename () const |
Return the filename specified by the MeshLinkFile. More... | |
std::vector< MLINT > | getAttributeIDs (const MeshAssociativity &meshAssoc) const |
Return list of attribute IDs referenced by the MeshLinkFile. More... | |
bool | hasAref () const |
Return whether the file has an attribute reference. More... | |
bool | getArefID (MLINT *aref) const |
Return whether the file references the given attribute reference ID. More... | |
Private Attributes | |
std::vector< std::string > | modelRefs_ |
The model references associated with a mesh file. More... | |
Additional Inherited Members | |
Protected Attributes inherited from MeshLinkFile | |
std::string | filename_ |
The mesh file name. More... | |
std::string | arefString_ |
The mesh file attribute reference string. More... | |
Storage for MeshLink schema MeshFile data.
MeshFile objects are accessed by an application using MeshAssociativity.getMeshFiles. A MeshFile is used only to link application-defined mesh attributes specified by a MeshLink file.
Mesh data itself is managed by a MeshModel and its associated MeshTopo derived classes (MeshSheet, MeshString, MeshFace, MeshEdge, and MeshPoint) and ParamVertex.
Definition at line 471 of file MeshAssociativity.h.
|
inline |
Default constructor.
Definition at line 474 of file MeshAssociativity.h.
|
inline |
Explicit constructor with mesh file name and attribute reference string.
Definition at line 477 of file MeshAssociativity.h.
|
inline |
Destructor.
Definition at line 482 of file MeshAssociativity.h.
|
inline |
Add a MeshModel reference to this mesh file. Typically used by a MeshLinkParser when a new "MeshModelReference" element is encountered.
refName | the model reference name to add |
Definition at line 488 of file MeshAssociativity.h.
|
inline |
Definition at line 493 of file MeshAssociativity.h.
|
private |
The model references associated with a mesh file.
Definition at line 499 of file MeshAssociativity.h.