2020-11-11 16:14:10 +00:00
|
|
|
//============================================================================
|
|
|
|
// Copyright (c) Kitware, Inc.
|
|
|
|
// All rights reserved.
|
|
|
|
// See LICENSE.txt for details.
|
|
|
|
//
|
|
|
|
// This software is distributed WITHOUT ANY WARRANTY; without even
|
|
|
|
// the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
|
|
|
// PURPOSE. See the above copyright notice for more information.
|
|
|
|
//============================================================================
|
|
|
|
//$# This file uses the pyexpander macro processing utility to build the
|
|
|
|
//$# FunctionInterface facilities that use a variable number of arguments.
|
|
|
|
//$# Information, documentation, and downloads for pyexpander can be found at:
|
|
|
|
//$#
|
|
|
|
//$# http://pyexpander.sourceforge.net/
|
|
|
|
//$#
|
|
|
|
//$# To build the source code, execute the following (after installing
|
|
|
|
//$# pyexpander, of course):
|
|
|
|
//$#
|
2021-08-14 17:39:53 +00:00
|
|
|
//$# expander.py ClipWithFieldExternInstantiations.h.in > ClipWithFieldExternInstantiations.h
|
2020-11-11 16:14:10 +00:00
|
|
|
//$#
|
|
|
|
//$# Ignore the following comment. It is meant for the generated file.
|
|
|
|
// **** DO NOT EDIT THIS FILE!!! ****
|
2021-08-14 17:39:53 +00:00
|
|
|
// This file is automatically generated by ClipWithFieldExternInstantiations.h.in
|
2020-11-11 16:14:10 +00:00
|
|
|
// clang-format off
|
|
|
|
|
2021-08-14 17:39:53 +00:00
|
|
|
#ifndef vtk_m_filter_ClipWithFieldExternInstantiations_h
|
|
|
|
#define vtk_m_filter_ClipWithFieldExternInstantiations_h
|
2020-11-11 16:14:10 +00:00
|
|
|
|
|
|
|
#include <vtkm/filter/ClipWithField.h>
|
2020-11-17 19:37:05 +00:00
|
|
|
#include <vtkm/filter/ClipWithField.hxx>
|
2021-08-14 17:39:53 +00:00
|
|
|
#include <vtkm/filter/Instantiations.h>
|
2020-11-11 16:14:10 +00:00
|
|
|
|
|
|
|
#include <vtkm/cont/ArrayHandlePermutation.h>
|
|
|
|
#include <vtkm/cont/CellSetPermutation.h>
|
|
|
|
#include <vtkm/cont/CoordinateSystem.h>
|
|
|
|
#include <vtkm/cont/ErrorFilterExecution.h>
|
|
|
|
|
|
|
|
namespace vtkm
|
|
|
|
{
|
|
|
|
namespace filter
|
|
|
|
{
|
|
|
|
|
|
|
|
$py(
|
|
|
|
# These values are taken from vtkm/TypeList.h
|
|
|
|
translationUnits = {
|
|
|
|
"vtkm_filter_ClipWithFieldExecuteScalar_cxx" :
|
|
|
|
[
|
|
|
|
"vtkm::Float32", "vtkm::Float64"
|
|
|
|
],
|
|
|
|
|
|
|
|
"vtkm_filter_ClipWithFieldExecuteSignedInteger_cxx":
|
|
|
|
[
|
|
|
|
"vtkm::Int8", "vtkm::Int16", "vtkm::Int32", "vtkm::Int64"
|
|
|
|
],
|
|
|
|
|
|
|
|
"vtkm_filter_ClipWithFieldExecuteUnsignedInteger_cxx":
|
|
|
|
[
|
|
|
|
"vtkm::UInt8", "vtkm::UInt16", "vtkm::UInt32", "vtkm::UInt64"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
)\
|
|
|
|
\
|
|
|
|
$for((TU, types) in translationUnits.items())\
|
|
|
|
#ifndef $(TU)
|
|
|
|
|
|
|
|
$for(TYPE in types)\
|
2021-08-14 17:39:53 +00:00
|
|
|
VTKM_INSTANTIATION_BEGIN
|
2020-11-11 16:14:10 +00:00
|
|
|
extern template VTKM_FILTER_EXTRA_EXPORT vtkm::cont::DataSet ClipWithField::DoExecute(
|
|
|
|
const vtkm::cont::DataSet&,
|
|
|
|
const vtkm::cont::ArrayHandle<$(TYPE)>&,
|
|
|
|
const vtkm::filter::FieldMetadata&,
|
|
|
|
vtkm::filter::PolicyBase<vtkm::filter::PolicyDefault>);
|
2021-08-14 17:39:53 +00:00
|
|
|
VTKM_INSTANTIATION_END
|
2020-11-11 16:14:10 +00:00
|
|
|
|
2021-08-14 17:39:53 +00:00
|
|
|
VTKM_INSTANTIATION_BEGIN
|
2020-11-11 16:14:10 +00:00
|
|
|
#ifndef VTKM_NO_DEPRECATED_VIRTUAL
|
|
|
|
VTKM_DEPRECATED_SUPPRESS_BEGIN
|
|
|
|
extern template VTKM_FILTER_EXTRA_EXPORT vtkm::cont::DataSet ClipWithField::DoExecute(
|
|
|
|
const vtkm::cont::DataSet&,
|
|
|
|
const vtkm::cont::ArrayHandle<$(TYPE), vtkm::cont::StorageTagVirtual>&,
|
|
|
|
const vtkm::filter::FieldMetadata&,
|
|
|
|
vtkm::filter::PolicyBase<vtkm::filter::PolicyDefault>);
|
|
|
|
VTKM_DEPRECATED_SUPPRESS_END
|
|
|
|
#endif
|
2021-08-14 17:39:53 +00:00
|
|
|
VTKM_INSTANTIATION_END
|
2020-11-11 16:14:10 +00:00
|
|
|
|
|
|
|
$endfor\
|
|
|
|
#endif // $(TU)
|
|
|
|
|
|
|
|
$endfor\
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|