-
Notifications
You must be signed in to change notification settings - Fork 1.2k
/
vtkmExtractVOI.h
62 lines (51 loc) · 2.24 KB
/
vtkmExtractVOI.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
60
61
62
/*=========================================================================
Program: Visualization Toolkit
Module: vtkExtractVOI.h
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm 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.
=========================================================================*/
/**
* @class vtkmExtractVOI
* @brief select piece (e.g., volume of interest) and/or subsample structured points dataset
*
* vtkmExtractVOI is a filter that selects a portion of an input structured
* points dataset, or subsamples an input dataset. (The selected portion of
* interested is referred to as the Volume Of Interest, or VOI.) The output of
* this filter is a structured points dataset. The filter treats input data
* of any topological dimension (i.e., point, line, image, or volume) and can
* generate output data of any topological dimension.
*
* To use this filter set the VOI ivar which are i-j-k min/max indices that
* specify a rectangular region in the data. (Note that these are 0-offset.)
* You can also specify a sampling rate to subsample the data.
*
* Typical applications of this filter are to extract a slice from a volume
* for image processing, subsampling large volumes to reduce data size, or
* extracting regions of a volume with interesting data.
*
*/
#ifndef vtkmExtractVOI_h
#define vtkmExtractVOI_h
#include "vtkExtractVOI.h"
#include "vtkAcceleratorsVTKmModule.h" // for export macro
class VTKACCELERATORSVTKM_EXPORT vtkmExtractVOI : public vtkExtractVOI
{
public:
vtkTypeMacro(vtkmExtractVOI, vtkExtractVOI)
void PrintSelf(ostream& os, vtkIndent indent) override;
static vtkmExtractVOI* New();
protected:
vtkmExtractVOI();
~vtkmExtractVOI();
int RequestData(vtkInformation*, vtkInformationVector**,
vtkInformationVector*) override;
private:
vtkmExtractVOI(const vtkmExtractVOI&) = delete;
void operator=(const vtkmExtractVOI&) = delete;
};
#endif // vtkmExtractVOI_h
// VTK-HeaderTest-Exclude: vtkmExtractVOI.h