15 #include "CeeUnstructGrid/Base.h" 17 #include "CeeCore/RefCountedObject.h" 18 #include "CeeUnstructGrid/Element.h" 34 DataElements(
bool withElementIds,
size_t userPropertyCount);
37 size_t elementCount()
const;
40 std::vector<unsigned int> elementNodes(
size_t elementIndex)
const;
41 void reserve(
size_t elementCount,
size_t elementNodeCount);
42 size_t addElement(
Element::Type elementType,
const std::vector<unsigned int>& elementNodes);
43 size_t addElement(
Element::Type elementType,
const unsigned int elementNodes[],
size_t elementNodeCount);
44 size_t addElementInt(
Element::Type elementType,
const int elementNodes[],
size_t elementNodeCount);
45 void addElements(
Element::Type elementType,
size_t elementCount,
const std::vector<unsigned int>& elementNodes);
46 void addElements(
Element::Type elementType,
size_t elementCount,
const unsigned int elementNodes[],
size_t totalElementNodeCount);
47 void addElementsInt(
Element::Type elementType,
size_t elementCount,
const int elementNodes[],
size_t totalElementNodeCount);
49 void removeAllElements();
51 bool hasElementIds()
const;
52 int elementId(
size_t elementIndex)
const;
53 void setElementId(
size_t elementIndex,
int elementId);
55 size_t elementIndex(
int elementId)
const;
57 size_t userPropertyCount()
const;
58 void setUserProperty(
size_t userPropertyIndex,
size_t elementIndex,
int userProperty);
59 int userProperty(
size_t userPropertyIndex,
size_t elementIndex)
const;
61 size_t elementNodeCount()
const;
62 size_t elementSurfaceCount()
const;
64 size_t nodesPerElement(
size_t elementIndex)
const;
65 size_t surfacesPerElement(
size_t elementIndex)
const;
66 size_t edgesPerElement(
size_t elementIndex)
const;
A part in the geometry. Consists of a collection of node coordinates and a collection element connect...
Definition: DataPart.h:28
Namespace cee contains all functionality and structures under the Core component. ...
Definition: AppComponent.cpp:26
Type
List of supported element types.
Definition: Element.h:32
A query object for extracting data and information from data elements.
Definition: ElementsQuery.h:33
Base class for all reference counted objects with built-in support for intrusive reference counting...
Definition: RefCountedObject.h:34
Collection of elements in a part. Examples of element types are points, triangles or hexahedrons...
Definition: DataElements.h:31