VTK-m
2.0
vtkm
filter
contour
Slice.h
Go to the documentation of this file.
1
//============================================================================
2
// Copyright (c) Kitware, Inc.
3
// All rights reserved.
4
// See LICENSE.txt for details.
5
//
6
// This software is distributed WITHOUT ANY WARRANTY; without even
7
// the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
8
// PURPOSE. See the above copyright notice for more information.
9
//============================================================================
10
#ifndef vtk_m_filter_contour_Slice_h
11
#define vtk_m_filter_contour_Slice_h
12
13
#include <
vtkm/filter/contour/Contour.h
>
14
#include <vtkm/filter/contour/vtkm_filter_contour_export.h>
15
16
#include <
vtkm/ImplicitFunction.h
>
17
18
namespace
vtkm
19
{
20
namespace
filter
21
{
22
namespace
contour
23
{
24
class
VTKM_FILTER_CONTOUR_EXPORT
Slice
:
public
vtkm::filter::contour::Contour
25
{
26
public
:
29
VTKM_CONT
30
void
SetImplicitFunction
(
const
vtkm::ImplicitFunctionGeneral
& func) { this->Function = func; }
31
VTKM_CONT
32
const
vtkm::ImplicitFunctionGeneral
&
GetImplicitFunction
()
const
{
return
this->Function; }
33
34
private
:
35
VTKM_CONT
vtkm::cont::DataSet
DoExecute(
const
vtkm::cont::DataSet
& input)
override
;
36
37
vtkm::ImplicitFunctionGeneral
Function
;
38
};
39
}
// namespace contour
40
}
// namespace filter
41
}
// namespace vtkm
42
43
#endif // vtk_m_filter_contour_Slice_h
vtkm::ImplicitFunctionGeneral
Implicit function that can switch among known implicit function types.
Definition:
ImplicitFunction.h:749
vtkm
Groups connected points that have the same field value.
Definition:
Atomic.h:19
vtkm::filter::contour::Slice
Definition:
Slice.h:24
vtkm::cont::DataSet
Definition:
DataSet.h:34
vtkm::filter::contour::Slice::GetImplicitFunction
const VTKM_CONT vtkm::ImplicitFunctionGeneral & GetImplicitFunction() const
Definition:
Slice.h:32
vtkm::filter::contour::Slice::SetImplicitFunction
VTKM_CONT void SetImplicitFunction(const vtkm::ImplicitFunctionGeneral &func)
Set/Get the implicit function that is used to perform the slicing.
Definition:
Slice.h:30
VTKM_CONT
#define VTKM_CONT
Definition:
ExportMacros.h:57
ImplicitFunction.h
vtkm::filter::contour::Contour
generate isosurface(s) from a Volume
Definition:
Contour.h:30
vtkm::filter::contour::Slice::Function
vtkm::ImplicitFunctionGeneral Function
Definition:
Slice.h:37
Contour.h
Generated by
1.8.17