00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkExtractSelectedBlock.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 =========================================================================*/ 00019 #ifndef __vtkExtractSelectedBlock_h 00020 #define __vtkExtractSelectedBlock_h 00021 00022 #include "vtkExtractSelectionBase.h" 00023 00024 class VTK_GRAPHICS_EXPORT vtkExtractSelectedBlock : public vtkExtractSelectionBase 00025 { 00026 public: 00027 static vtkExtractSelectedBlock* New(); 00028 vtkTypeMacro(vtkExtractSelectedBlock, vtkExtractSelectionBase); 00029 void PrintSelf(ostream& os, vtkIndent indent); 00030 00031 //BTX 00032 protected: 00033 vtkExtractSelectedBlock(); 00034 ~vtkExtractSelectedBlock(); 00035 00036 // Generate the output. 00037 virtual int RequestData(vtkInformation *, 00038 vtkInformationVector **, vtkInformationVector *); 00039 00041 00042 virtual int RequestDataObject(vtkInformation* request, 00043 vtkInformationVector** inputVector, 00044 vtkInformationVector* outputVector); 00046 00047 virtual int FillInputPortInformation(int port, vtkInformation* info); 00048 private: 00049 vtkExtractSelectedBlock(const vtkExtractSelectedBlock&); // Not implemented. 00050 void operator=(const vtkExtractSelectedBlock&); // Not implemented. 00051 //ETX 00052 }; 00053 00054 #endif 00055 00056