VTK
vtkExtractSelectionBase.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkExtractSelectionBase.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 =========================================================================*/
23 #ifndef vtkExtractSelectionBase_h
24 #define vtkExtractSelectionBase_h
25 
26 #include "vtkFiltersExtractionModule.h" // For export macro
27 #include "vtkDataObjectAlgorithm.h"
28 
30 {
31 public:
33  void PrintSelf(ostream& os, vtkIndent indent);
34 
36 
39  {
40  this->SetInputConnection(1, algOutput);
41  }
43 
45 
49  vtkSetMacro(PreserveTopology, int);
50  vtkGetMacro(PreserveTopology, int);
51  vtkBooleanMacro(PreserveTopology, int);
53 
54 //BTX
55 protected:
58 
60 
61  virtual int RequestDataObject(vtkInformation* request,
62  vtkInformationVector** inputVector,
63  vtkInformationVector* outputVector);
65 
67 
69 private:
70  vtkExtractSelectionBase(const vtkExtractSelectionBase&); // Not implemented.
71  void operator=(const vtkExtractSelectionBase&); // Not implemented.
72 //ETX
73 };
74 
75 #endif
76 
77 
virtual int RequestDataObject(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
Store vtkAlgorithm input/output information.
void SetSelectionConnection(vtkAlgorithmOutput *algOutput)
abstract base class for all extract selection filters.
void PrintSelf(ostream &os, vtkIndent indent)
Proxy object to connect input/output ports.
a simple class to control print indentation
Definition: vtkIndent.h:38
virtual void SetInputConnection(int port, vtkAlgorithmOutput *input)
#define VTKFILTERSEXTRACTION_EXPORT
virtual int FillInputPortInformation(int port, vtkInformation *info)
Superclass for algorithms that produce only data object as output.
Store zero or more vtkInformation instances.