VTK
vtkExtractSelectedBlock.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkExtractSelectedBlock.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 =========================================================================*/
33 #ifndef vtkExtractSelectedBlock_h
34 #define vtkExtractSelectedBlock_h
35 
36 #include "vtkFiltersExtractionModule.h" // For export macro
38 
39 class VTKFILTERSEXTRACTION_EXPORT vtkExtractSelectedBlock : public vtkExtractSelectionBase
40 {
41 public:
42  static vtkExtractSelectedBlock* New();
44  void PrintSelf(ostream& os, vtkIndent indent) override;
45 
46 protected:
48  ~vtkExtractSelectedBlock() override;
49 
50  // Generate the output.
53 
57  int RequestDataObject(vtkInformation* request,
58  vtkInformationVector** inputVector,
59  vtkInformationVector* outputVector) override;
60 
62 private:
64  void operator=(const vtkExtractSelectedBlock&) = delete;
65 
66 };
67 
68 #endif
69 
70 
Extract-Selection filter to extract blocks.
Store vtkAlgorithm input/output information.
static vtkDataObjectAlgorithm * New()
abstract base class for all extract selection filters.
int RequestDataObject(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
Sets up empty output dataset.
a simple class to control print indentation
Definition: vtkIndent.h:39
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
Store zero or more vtkInformation instances.
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.