#include <meshobjectref.h>
|
| static QString | layerKey (const QString &sourcePath) |
| | "mesh::<basename>" for the given source path (extension stripped). Empty path → "mesh::<unsaved>".
|
| |
| static SWMMObjectRef | vertex (const QString &sourcePath, int vertexIdx) |
| | Build a SelectionManager ref naming a vertex on the layer whose source file is at sourcePath.
|
| |
| static SWMMObjectRef | edge (const QString &sourcePath, int triIdx, int edgeLocal) |
| | Build a SelectionManager ref naming an edge on the layer whose source file is at sourcePath.
|
| |
| static SWMMObjectRef | cell (const QString &sourcePath, int triIdx) |
| | Build a SelectionManager ref naming a cell (triangle) on the layer whose source file is at sourcePath.
|
| |
| static bool | parseVertex (const SWMMObjectRef &ref, QString *outLayerKey, int *outVertexIdx) |
| | Parse a vertex ref name. Returns true and fills the outs on success; false (and leaves outs untouched) if the name is malformed or names a different kind.
|
| |
| static bool | parseEdge (const SWMMObjectRef &ref, QString *outLayerKey, int *outTriIdx, int *outEdgeLocal) |
| | Parse an edge ref name.
|
| |
| static bool | parseCell (const SWMMObjectRef &ref, QString *outLayerKey, int *outTriIdx) |
| | Parse a cell ref name.
|
| |
◆ cell()
| SWMMObjectRef mesh::MeshObjectRef::cell |
( |
const QString & |
sourcePath, |
|
|
int |
triIdx |
|
) |
| |
|
static |
Build a SelectionManager ref naming a cell (triangle) on the layer whose source file is at sourcePath.
◆ edge()
| SWMMObjectRef mesh::MeshObjectRef::edge |
( |
const QString & |
sourcePath, |
|
|
int |
triIdx, |
|
|
int |
edgeLocal |
|
) |
| |
|
static |
Build a SelectionManager ref naming an edge on the layer whose source file is at sourcePath.
◆ layerKey()
| QString mesh::MeshObjectRef::layerKey |
( |
const QString & |
sourcePath | ) |
|
|
static |
"mesh::<basename>" for the given source path (extension stripped). Empty path → "mesh::<unsaved>".
◆ parseCell()
| bool mesh::MeshObjectRef::parseCell |
( |
const SWMMObjectRef & |
ref, |
|
|
QString * |
outLayerKey, |
|
|
int * |
outTriIdx |
|
) |
| |
|
static |
◆ parseEdge()
| bool mesh::MeshObjectRef::parseEdge |
( |
const SWMMObjectRef & |
ref, |
|
|
QString * |
outLayerKey, |
|
|
int * |
outTriIdx, |
|
|
int * |
outEdgeLocal |
|
) |
| |
|
static |
◆ parseVertex()
| bool mesh::MeshObjectRef::parseVertex |
( |
const SWMMObjectRef & |
ref, |
|
|
QString * |
outLayerKey, |
|
|
int * |
outVertexIdx |
|
) |
| |
|
static |
Parse a vertex ref name. Returns true and fills the outs on success; false (and leaves outs untouched) if the name is malformed or names a different kind.
◆ vertex()
| SWMMObjectRef mesh::MeshObjectRef::vertex |
( |
const QString & |
sourcePath, |
|
|
int |
vertexIdx |
|
) |
| |
|
static |
Build a SelectionManager ref naming a vertex on the layer whose source file is at sourcePath.
The documentation for this class was generated from the following files: