OGS
MeshNodalCoordinatesBackend.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) OpenGeoSys Community (opengeosys.org)
2// SPDX-License-Identifier: BSD-3-Clause
3
4#pragma once
5
6#include <vtkType.h>
7
8#include <vector>
9
10namespace MeshLib
11{
12class Node;
13}
14
15namespace MeshLib
16{
18{
19 explicit MeshNodalCoordinatesBackend(std::vector<Node*> const& nodes);
20
21 double map(vtkIdType idx) const;
22 void mapTuple(vtkIdType tupleId, double* tuple) const;
23
24private:
25 std::vector<Node*> const& nodes_;
26};
27} // namespace MeshLib
MeshNodalCoordinatesBackend(std::vector< Node * > const &nodes)
void mapTuple(vtkIdType tupleId, double *tuple) const