VTK  9.5.20250807
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 viskores setup
11
12#include <viskores/cont/DataSet.h>
13
14VTK_ABI_NAMESPACE_BEGIN
15
19VTKACCELERATORSVTKMCORE_EXPORT
20std::vector<viskores::Id> GetFieldsIndicesWithoutCoords(const viskores::cont::DataSet& input);
21
22VTK_ABI_NAMESPACE_END
23
24#endif // vtkmlib_DataSetUtils_h
25/* VTK-HeaderTest-Exclude: DataSetUtils.h */
VTKACCELERATORSVTKMCORE_EXPORT std::vector< viskores::Id > GetFieldsIndicesWithoutCoords(const viskores::cont::DataSet &input)
Get Fields indices of Viskores DataSet excluding the Coordinate Systems fields indices.