VTK  9.2.5
vtkmFilterPolicy.h
Go to the documentation of this file.
1//=============================================================================
2//
3// Copyright (c) Kitware, Inc.
4// All rights reserved.
5// See LICENSE.txt for details.
6//
7// This software is distributed WITHOUT ANY WARRANTY; without even
8// the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
9// PURPOSE. See the above copyright notice for more information.
10//
11// Copyright 2012 Sandia Corporation.
12// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
13// the U.S. Government retains certain rights in this software.
14//
15//=============================================================================
16
17#ifndef vtkmFilterPolicy_h
18#define vtkmFilterPolicy_h
19
20#include "vtkmConfigCore.h" //required for general vtkm setup
21
22#include <vtkm/List.h>
23#include <vtkm/cont/ArrayHandleCast.h>
24#include <vtkm/cont/ArrayHandlePermutation.h>
25#include <vtkm/cont/CellSetExplicit.h>
26#include <vtkm/cont/CellSetPermutation.h>
27#include <vtkm/cont/CellSetSingleType.h>
28#include <vtkm/cont/CellSetStructured.h>
29#include <vtkm/cont/DefaultTypes.h>
30#include <vtkm/filter/PolicyDefault.h>
31
32//------------------------------------------------------------------------------
33class vtkmOutputFilterPolicy : public vtkm::filter::PolicyBase<vtkmOutputFilterPolicy>
34{
35public:
36 using FieldTypeList = tovtkm::FieldTypeOutVTK;
37
38 using StructuredCellSetList = tovtkm::CellListStructuredOutVTK;
39 using UnstructuredCellSetList = tovtkm::CellListUnstructuredOutVTK;
40 using AllCellSetList = tovtkm::CellListAllOutVTK;
41};
42
43#endif
44// VTK-HeaderTest-Exclude: vtkmFilterPolicy.h
tovtkm::CellListUnstructuredOutVTK UnstructuredCellSetList
tovtkm::CellListAllOutVTK AllCellSetList
tovtkm::CellListStructuredOutVTK StructuredCellSetList
tovtkm::FieldTypeOutVTK FieldTypeList