VTK
dox
Accelerators
Vtkm
vtkmlib
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
#ifndef __VTK_WRAP__
19
20
#include "vtkAcceleratorsVTKmModule.h"
21
#include "vtkmConfig.h"
//required for general vtkm setup
22
#include "
vtkType.h
"
// For vtkMTimeType
23
24
#include "vtkm/cont/ImplicitFunctionHandle.h"
25
26
class
vtkImplicitFunction
;
27
28
namespace
tovtkm
{
29
30
class
VTKACCELERATORSVTKM_EXPORT
ImplicitFunctionConverter
31
{
32
public
:
33
ImplicitFunctionConverter
();
34
35
void
Set(
vtkImplicitFunction
*);
36
const
vtkm::cont::ImplicitFunctionHandle& Get()
const
;
37
38
private
:
39
vtkImplicitFunction
*InFunction;
40
vtkm::cont::ImplicitFunctionHandle OutFunction;
41
mutable
vtkMTimeType
MTime;
42
};
43
44
}
45
46
#endif
47
#endif // vtkmlib_ImplicitFunctionConverter_h
vtkType.h
vtkImplicitFunction
abstract interface for implicit functions
Definition:
vtkImplicitFunction.h:60
tovtkm::ImplicitFunctionConverter
Definition:
ImplicitFunctionConverter.h:30
tovtkm
Definition:
vtkmClip.h:35
vtkMTimeType
vtkTypeUInt32 vtkMTimeType
Definition:
vtkType.h:302
Generated by
1.8.16