VTK-m  2.2
Contour.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 
11 #ifndef vtk_m_filter_contour_Contour_h
12 #define vtk_m_filter_contour_Contour_h
13 
16 
17 namespace vtkm
18 {
19 namespace filter
20 {
21 namespace contour
22 {
23 
36 {
37 public:
38  VTKM_DEPRECATED(2.1, "Use SetComputeFastNormals.")
39  VTKM_CONT void SetComputeFastNormalsForStructured(bool on) { this->SetComputeFastNormals(on); }
40  VTKM_DEPRECATED(2.1, "Use GetComputeFastNormals.")
41  VTKM_CONT bool GetComputeFastNormalsForStructured() const
42  {
43  return this->GetComputeFastNormals();
44  }
45 
46  VTKM_DEPRECATED(2.1, "Use SetComputeFastNormals.")
47  VTKM_CONT void SetComputeFastNormalsForUnstructured(bool on) { this->SetComputeFastNormals(on); }
48  VTKM_DEPRECATED(2.1, "Use GetComputeFastNormals.")
49  VTKM_CONT bool GetComputeFastNormalsForUnstructured() const
50  {
51  return this->GetComputeFastNormals();
52  }
53 
54 protected:
55  // Needed by the subclass Slice
56  vtkm::cont::DataSet DoExecute(const vtkm::cont::DataSet& result) override;
57 };
58 } // namespace contour
59 } // namespace filter
60 } // namespace vtkm
61 
62 #endif // vtk_m_filter_contour_Contour_h
vtkm::filter::contour::AbstractContour
Contour filter interface.
Definition: AbstractContour.h:29
vtkm
Groups connected points that have the same field value.
Definition: Atomic.h:19
vtkm::cont::DataSet
Contains and manages the geometric data structures that VTK-m operates on.
Definition: DataSet.h:57
VTKM_FILTER_CONTOUR_EXPORT
#define VTKM_FILTER_CONTOUR_EXPORT
Definition: vtkm_filter_contour_export.h:44
AbstractContour.h
VTKM_CONT
#define VTKM_CONT
Definition: ExportMacros.h:57
vtkm::filter::contour::Contour
Generate contours or isosurfaces from a region of space.
Definition: Contour.h:35
vtkm_filter_contour_export.h
VTKM_DEPRECATED
#define VTKM_DEPRECATED(...)
Definition: Deprecated.h:145