VTK
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 
27 
28 namespace tovtkm {
29 
30 class VTKACCELERATORSVTKM_EXPORT ImplicitFunctionConverter
31 {
32 public:
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
abstract interface for implicit functions
vtkTypeUInt32 vtkMTimeType
Definition: vtkType.h:302