VTK: Accelerators/Vtkm/Core/vtkmlib/DataSetUtils.h Source File

| VTK 9.3.1

DataSetUtils.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-FileCopyrightText: Copyright (c) Kitware, Inc.
3 // SPDX-FileCopyrightText: Copyright 2012 Sandia Corporation.
4 // SPDX-License-Identifier: LicenseRef-BSD-3-Clause-Sandia-USGov
5
6 #ifndef vtkmlib_DataSetUtils_h
7 #define vtkmlib_DataSetUtils_h
8
9 #include "vtkAcceleratorsVTKmCoreModule.h" //required for correct implementation
10 #include "vtkmConfigCore.h" //required for general vtkm setup
11
12 #include <vtkm/cont/DataSet.h>
13
14 VTK_ABI_NAMESPACE_BEGIN
15
19 VTKACCELERATORSVTKMCORE_EXPORT
20 std::vector<vtkm::Id> GetFieldsIndicesWithoutCoords(const vtkm::cont::DataSet& input);
21
22 VTK_ABI_NAMESPACE_END
23
24 #endif // vtkmlib_DataSetUtils_h
25 /* VTK-HeaderTest-Exclude: DataSetUtils.h */
GetFieldsIndicesWithoutCoords
VTKACCELERATORSVTKMCORE_EXPORT std::vector< vtkm::Id > GetFieldsIndicesWithoutCoords(const vtkm::cont::DataSet &input)
Get Fields indices of VTKm DataSet excluding the Coordinate Systems fields indices.
vtx::types::DataSet
std::map< std::string, DataArray > DataSet
key: variable name, value: DataArray
Definition: VTXTypes.h:28