VTK
vtkSelectArraySlices.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkSelectArraySlices.h
5 
6 -------------------------------------------------------------------------
7  Copyright 2008 Sandia Corporation.
8  Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
9  the U.S. Government retains certain rights in this software.
10 -------------------------------------------------------------------------
11 
12  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
13  All rights reserved.
14  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
15 
16  This software is distributed WITHOUT ANY WARRANTY; without even
17  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
18  PURPOSE. See the above copyright notice for more information.
19 
20 =========================================================================*/
21 
39 #ifndef __vtkSelectArraySlices_h
40 #define __vtkSelectArraySlices_h
41 
42 #include <vtkSelectionAlgorithm.h>
43 
46 {
47 public:
48  static vtkSelectArraySlices* New();
50  void PrintSelf(ostream& os, vtkIndent indent);
51 
53 
55  vtkGetMacro(SliceDimension, vtkIdType);
56  vtkSetMacro(SliceDimension, vtkIdType);
58 
60 
62  vtkGetMacro(MinimumCount, vtkIdType);
63  vtkSetMacro(MinimumCount, vtkIdType);
65 
67 
69  vtkGetMacro(MaximumCount, vtkIdType);
70  vtkSetMacro(MaximumCount, vtkIdType);
72 
74 
76  vtkGetMacro(MinimumPercent, double);
77  vtkSetMacro(MinimumPercent, double);
79 
81 
83  vtkGetMacro(MaximumPercent, double);
84  vtkSetMacro(MaximumPercent, double);
86 
87 //BTX
88 protected:
91 
93 
94  int RequestData(
98 
99 private:
100  vtkSelectArraySlices(const vtkSelectArraySlices&); // Not implemented
101  void operator=(const vtkSelectArraySlices&); // Not implemented
102 
103  vtkIdType SliceDimension;
104  vtkIdType MinimumCount;
105  vtkIdType MaximumCount;
106  double MinimumPercent;
107  double MaximumPercent;
108 //ETX
109 };
110 
111 #endif
112