2019-06-06 18:43:53 +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.
|
|
|
|
//
|
|
|
|
// Copyright 2012 Sandia Corporation.
|
|
|
|
// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
|
|
|
|
// the U.S. Government retains certain rights in this software.
|
|
|
|
//
|
|
|
|
//=============================================================================
|
|
|
|
|
|
|
|
#ifndef vtk_m_filter_PolicyExtrude_h
|
|
|
|
#define vtk_m_filter_PolicyExtrude_h
|
|
|
|
|
|
|
|
#include <vtkm/cont/ArrayHandleExtrudeCoords.h>
|
|
|
|
#include <vtkm/cont/CellSetExtrude.h>
|
|
|
|
|
2019-12-07 04:32:36 +00:00
|
|
|
#include <vtkm/List.h>
|
2019-06-06 18:43:53 +00:00
|
|
|
#include <vtkm/filter/PolicyDefault.h>
|
|
|
|
|
2019-09-12 21:12:36 +00:00
|
|
|
namespace vtkm
|
2019-06-06 18:43:53 +00:00
|
|
|
{
|
2019-09-12 21:12:36 +00:00
|
|
|
namespace filter
|
2019-06-06 18:43:53 +00:00
|
|
|
{
|
|
|
|
|
|
|
|
struct VTKM_ALWAYS_EXPORT PolicyExtrude : vtkm::filter::PolicyBase<PolicyExtrude>
|
|
|
|
{
|
|
|
|
public:
|
2019-12-05 21:38:41 +00:00
|
|
|
using UnstructuredCellSetList = vtkm::List<vtkm::cont::CellSetExtrude>;
|
|
|
|
using AllCellSetList = vtkm::List<vtkm::cont::CellSetExtrude>;
|
2019-09-12 21:12:36 +00:00
|
|
|
//Todo: add in Cylinder storage tag when it is written
|
|
|
|
using CoordinateStorageList =
|
2019-12-05 21:38:41 +00:00
|
|
|
vtkm::List<vtkm::cont::StorageTagBasic, vtkm::cont::internal::StorageTagExtrude>;
|
2019-06-06 18:43:53 +00:00
|
|
|
};
|
2019-09-12 21:12:36 +00:00
|
|
|
}
|
|
|
|
}
|
2019-06-06 18:43:53 +00:00
|
|
|
|
|
|
|
#endif
|