OpenCMISS-Zinc C++ API Documentation
|
A set of nodes or points. More...
#include <node.hpp>
Public Member Functions | |
Nodeset (cmzn_nodeset_id nodeset_id) | |
Nodeset (const Nodeset &nodeset) | |
Nodeset & | operator= (const Nodeset &nodeset) |
bool | isValid () const |
cmzn_nodeset_id | getId () const |
bool | containsNode (const Node &node) |
Nodetemplate | createNodetemplate () |
Node | createNode (int identifier, const Nodetemplate &nodeTemplate) |
Nodeiterator | createNodeiterator () |
int | destroyAllNodes () |
int | destroyNode (const Node &node) |
int | destroyNodesConditional (const Field &conditionalField) |
Node | findNodeByIdentifier (int identifier) |
Fieldmodule | getFieldmodule () const |
Nodeset | getMasterNodeset () |
char * | getName () |
int | getSize () |
Protected Attributes | |
cmzn_nodeset_id | id |
A set of nodes or points.
A set of nodes or points, equivalent to a zero-dimensional mesh.
|
inline |
Returns whether the node is from the nodeset.
node | The node to query about. |
|
inline |
Create a new node in this nodeset with fields defined as in the node_template. Returns handle to new element.
identifier | Non-negative integer identifier of new node, or -1 to automatically generate, starting from 1. Fails if supplied identifier already used by an existing node. |
nodeTemplate | Template for defining node fields. |
|
inline |
Create a node iterator object for iterating through the nodes in the nodeset which are ordered from lowest to highest identifier. The iterator initially points at the position before the first node, so the first call to cmzn_nodeiterator_next() returns the first node and advances the iterator. Iterator becomes invalid if nodeset is modified or any of its nodes are given new identifiers.
|
inline |
Create a blank template from which new nodes can be created in this nodeset. Used to describe how finite element fields are defined. Also used for defining new fields on existing nodes.
|
inline |
Destroy all nodes in nodeset, also removing them from any related groups. All handles to the destroyed nodes become invalid.
|
inline |
Destroy the node if it is in the nodeset. Removes node from any related groups it is in. All handles to the destroyed node become invalid.
node | The node to destroy. |
|
inline |
Destroy all nodes in the nodeset for which the conditional field is true i.e. non-zero valued. These nodes are removed from any related groups they are in. All handles to removed nodes become invalid. Nodes are only removed if not in use by elements in region. Note that group and node_group fields are valid conditional fields.
conditionalField | Field which if non-zero at any node indicates it is to be destroyed. |
|
inline |
Return a handle to the node in the nodeset with this identifier.
identifier | Non-negative integer identifier of node. |
|
inline |
Returns handle to field module for region this nodeset belongs to.
|
inline |
|
inline |
Get the master nodeset which owns the nodes for this nodeset. Can be the same as the supplied nodeset if it is a master.
|
inline |
Return the name of the nodeset.
|
inline |
Return the number of nodes in the nodeset.
|
inline |
Check if this is a valid Nodeset object.