VTK  9.1.0
ImplicitFunctionConverter.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#ifndef vtkmlib_ImplicitFunctionConverter_h
17#define vtkmlib_ImplicitFunctionConverter_h
18
19#include "vtkAcceleratorsVTKmDataModelModule.h"
20#include "vtkType.h" // For vtkMTimeType
21#include "vtkmConfigDataModel.h" //required for general vtkm setup
22
23#include "vtkm/ImplicitFunction.h"
24
26
27namespace tovtkm
28{
29
30class VTKACCELERATORSVTKMDATAMODEL_EXPORT ImplicitFunctionConverter
31{
32public:
34
36 const vtkm::ImplicitFunctionGeneral& Get();
37
38private:
39 vtkImplicitFunction* InFunction;
40 vtkm::ImplicitFunctionGeneral OutFunction;
41 mutable vtkMTimeType MTime;
42};
43
44}
45
46#endif // vtkmlib_ImplicitFunctionConverter_h
void Set(vtkImplicitFunction *)
const vtkm::ImplicitFunctionGeneral & Get()
abstract interface for implicit functions
vtkTypeUInt32 vtkMTimeType
Definition: vtkType.h:287