VTK
/Users/kitware/Dashboards/MyTests/VTK_BLD_Release_docs/Utilities/Doxygen/dox/Filters/Extraction/vtkExtractSelectionBase.h
Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    vtkExtractSelectionBase.h
00005 
00006   Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
00007   All rights reserved.
00008   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
00009 
00010      This software is distributed WITHOUT ANY WARRANTY; without even
00011      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
00012      PURPOSE.  See the above copyright notice for more information.
00013 
00014 =========================================================================*/
00023 #ifndef vtkExtractSelectionBase_h
00024 #define vtkExtractSelectionBase_h
00025 
00026 #include "vtkFiltersExtractionModule.h" // For export macro
00027 #include "vtkDataObjectAlgorithm.h"
00028 
00029 class VTKFILTERSEXTRACTION_EXPORT vtkExtractSelectionBase : public vtkDataObjectAlgorithm
00030 {
00031 public:
00032   vtkTypeMacro(vtkExtractSelectionBase, vtkDataObjectAlgorithm);
00033   void PrintSelf(ostream& os, vtkIndent indent);
00034 
00036 
00038   void SetSelectionConnection(vtkAlgorithmOutput* algOutput)
00039     {
00040     this->SetInputConnection(1, algOutput);
00041     }
00043 
00045 
00049   vtkSetMacro(PreserveTopology, int);
00050   vtkGetMacro(PreserveTopology, int);
00051   vtkBooleanMacro(PreserveTopology, int);
00053 
00054 //BTX
00055 protected:
00056   vtkExtractSelectionBase();
00057   ~vtkExtractSelectionBase();
00058 
00060 
00061   virtual int RequestDataObject(vtkInformation* request,
00062                                 vtkInformationVector** inputVector,
00063                                 vtkInformationVector* outputVector);
00065 
00066   virtual int FillInputPortInformation(int port, vtkInformation* info);
00067 
00068   int PreserveTopology;
00069 private:
00070   vtkExtractSelectionBase(const vtkExtractSelectionBase&); // Not implemented.
00071   void operator=(const vtkExtractSelectionBase&); // Not implemented.
00072 //ETX
00073 };
00074 
00075 #endif
00076 
00077