forked from Kitware/VTK
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvtkmContour.h
59 lines (52 loc) · 2 KB
/
vtkmContour.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
//=============================================================================
//
// Copyright (c) Kitware, Inc.
// All rights reserved.
// See LICENSE.txt for details.
//
// This software is distributed WITHOUT ANY WARRANTY; without even
// the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
// PURPOSE. See the above copyright notice for more information.
//
// Copyright 2012 Sandia Corporation.
// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
// the U.S. Government retains certain rights in this software.
//
//=============================================================================
/**
* @class vtkmContour
* @brief generate isosurface(s) from volume
*
* vtkmContour is a filter that takes as input a volume (e.g., 3D
* structured point set) and generates on output one or more isosurfaces.
* One or more contour values must be specified to generate the isosurfaces.
* Alternatively, you can specify a min/max scalar range and the number of
* contours to generate a series of evenly spaced contour values.
*
* @warning
* This filter is currently only supports 3D volumes. If you are interested in
* contouring other types of data, use the general vtkContourFilter. If you
* want to contour an image (i.e., a volume slice), use vtkMarchingSquares.
*
*/
#ifndef vtkmContour_h
#define vtkmContour_h
#include "vtkContourFilter.h"
#include "vtkAcceleratorsVTKmModule.h" //required for correct implementation
class VTKACCELERATORSVTKM_EXPORT vtkmContour : public vtkContourFilter
{
public:
vtkTypeMacro(vtkmContour,vtkContourFilter)
void PrintSelf(ostream& os, vtkIndent indent) override;
static vtkmContour* New();
protected:
vtkmContour();
~vtkmContour();
virtual int RequestData(vtkInformation*, vtkInformationVector**,
vtkInformationVector*) override;
private:
vtkmContour(const vtkmContour&) = delete;
void operator=(const vtkmContour&) = delete;
};
#endif // vtkmContour_h
// VTK-HeaderTest-Exclude: vtkmContour.h