MeshLink
Computational geometry access
|
Storage for MeshLink schema GeometryFile data. More...
#include <MeshAssociativity.h>
Public Member Functions | |
GeometryFile () | |
Default constructor. More... | |
GeometryFile (std::string &filename, std::string &arefString) | |
Explicit constructor with file name (path) of geometry file and the attribute reference string. More... | |
~GeometryFile () | |
Destructor. More... | |
void | addGeometryGroupID (MLINT gid) |
Add a geometry group ID to the geometry file. Typically used by the MeshLinkParser when a new "GeometryGroup" element is encountered. More... | |
const std::vector< MLINT > & | getGeometryGroupIDs () const |
Return a list of all geometry group IDs associated with this GeometryFile. More... | |
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< MLINT > | groupIDs_ |
The geometry group IDs in this 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 GeometryFile data.
GeometryFile objects are accessed by an application using MeshAssociativity.getGeometryFiles. A GeometryFile is used only to link the kernel implementation to attributes specified by a MeshLink file.
Geometry data itself is managed by an application's custom implemenation of GeometryKernel.
Definition at line 422 of file MeshAssociativity.h.
|
inline |
Default constructor.
Definition at line 425 of file MeshAssociativity.h.
|
inline |
Explicit constructor with file name (path) of geometry file and the attribute reference string.
Definition at line 429 of file MeshAssociativity.h.
|
inline |
Destructor.
Definition at line 434 of file MeshAssociativity.h.
|
inline |
Add a geometry group ID to the geometry file. Typically used by the MeshLinkParser when a new "GeometryGroup" element is encountered.
Definition at line 438 of file MeshAssociativity.h.
|
inline |
Return a list of all geometry group IDs associated with this GeometryFile.
Definition at line 444 of file MeshAssociativity.h.
|
private |
The geometry group IDs in this file.
Definition at line 450 of file MeshAssociativity.h.