MeshLink
Computational geometry access
MeshFile Class Reference

Storage for MeshLink schema MeshFile data. More...

#include <MeshAssociativity.h>

Inheritance diagram for MeshFile:

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 ()
 

Private Attributes

std::vector< std::string > modelRefs_
 The model references associated with a mesh file. More...
 

Additional Inherited Members

Detailed Description

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.

Constructor & Destructor Documentation

◆ MeshFile() [1/2]

MeshFile::MeshFile ( )
inline

Default constructor.

Definition at line 474 of file MeshAssociativity.h.

◆ MeshFile() [2/2]

MeshFile::MeshFile ( std::string &  filename,
std::string &  arefString 
)
inline

Explicit constructor with mesh file name and attribute reference string.

Definition at line 477 of file MeshAssociativity.h.

◆ ~MeshFile()

MeshFile::~MeshFile ( )
inline

Destructor.

Definition at line 482 of file MeshAssociativity.h.

Member Function Documentation

◆ addModelRef()

void MeshFile::addModelRef ( const std::string &  refName)
inline

Add a MeshModel reference to this mesh file. Typically used by a MeshLinkParser when a new "MeshModelReference" element is encountered.

Parameters
refNamethe model reference name to add

Definition at line 488 of file MeshAssociativity.h.

◆ getModelRefs()

const std::vector<std::string>& MeshFile::getModelRefs ( )
inline

Definition at line 493 of file MeshAssociativity.h.

Member Data Documentation

◆ modelRefs_

std::vector<std::string> MeshFile::modelRefs_
private

The model references associated with a mesh file.

Definition at line 499 of file MeshAssociativity.h.


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