VTK  9.2.6
vtkExtractBlockUsingDataAssembly.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkExtractBlockUsingDataAssembly.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
44 #ifndef vtkExtractBlockUsingDataAssembly_h
45 #define vtkExtractBlockUsingDataAssembly_h
46 
48 #include "vtkFiltersExtractionModule.h" // For export macro
49 
50 class vtkDataAssembly;
52 
53 class VTKFILTERSEXTRACTION_EXPORT vtkExtractBlockUsingDataAssembly
55 {
56 public:
59  void PrintSelf(ostream& os, vtkIndent indent) override;
60 
62 
72  bool AddSelector(const char* selector);
73  void ClearSelectors();
75 
80  void SetSelector(const char* selector);
81 
83 
86  int GetNumberOfSelectors() const;
87  const char* GetSelector(int index) const;
89 
91 
99  vtkSetStringMacro(AssemblyName);
100  vtkGetStringMacro(AssemblyName);
102 
104 
108  vtkSetMacro(SelectSubtrees, bool);
109  vtkGetMacro(SelectSubtrees, bool);
110  vtkBooleanMacro(SelectSubtrees, bool);
112 
114 
118  vtkSetMacro(PruneDataAssembly, bool);
119  vtkGetMacro(PruneDataAssembly, bool);
120  vtkBooleanMacro(PruneDataAssembly, bool);
122 
123 protected:
126 
127  int FillInputPortInformation(int port, vtkInformation* info) override;
130 
131 private:
133  void operator=(const vtkExtractBlockUsingDataAssembly&) = delete;
134 
135  class vtkInternals;
136  vtkInternals* Internals;
137 
138  bool SelectSubtrees;
139  bool PruneDataAssembly;
140  char* AssemblyName;
141 };
142 
143 #endif
virtual int RequestDataObject(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
Store vtkAlgorithm input/output information.
Superclass for algorithms that produce only vtkCompositeDataSet as output.
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
a simple class to control print indentation
Definition: vtkIndent.h:39
static vtkCompositeDataSetAlgorithm * New()
Store zero or more vtkInformation instances.
hierarchical representation to use with vtkPartitionedDataSetCollection
extract blocks from certain composite datasets
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Composite dataset that groups datasets as a collection.