VTK
dox/Filters/General/vtkPassThrough.h
Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    vtkPassThrough.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 =========================================================================*/
00025 #ifndef __vtkPassThrough_h
00026 #define __vtkPassThrough_h
00027 
00028 #include "vtkFiltersGeneralModule.h" // For export macro
00029 #include "vtkPassInputTypeAlgorithm.h"
00030 
00031 class VTKFILTERSGENERAL_EXPORT vtkPassThrough : public vtkPassInputTypeAlgorithm
00032 {
00033 public:
00034   static vtkPassThrough* New();
00035   vtkTypeMacro(vtkPassThrough, vtkPassInputTypeAlgorithm);
00036   void PrintSelf(ostream& os, vtkIndent indent);
00037 
00039   int FillInputPortInformation(int port, vtkInformation* info);
00040 
00042 
00046   vtkSetMacro(DeepCopyInput, int);
00047   vtkGetMacro(DeepCopyInput, int);
00048   vtkBooleanMacro(DeepCopyInput, int);
00050 
00051 protected:
00052   vtkPassThrough();
00053   ~vtkPassThrough();
00054 
00055   virtual int RequestData(
00056     vtkInformation*,
00057     vtkInformationVector**,
00058     vtkInformationVector*);
00059 
00060   int DeepCopyInput;
00061 
00062 private:
00063   vtkPassThrough(const vtkPassThrough&); // Not implemented
00064   void operator=(const vtkPassThrough&);   // Not implemented
00065 };
00066 
00067 #endif
00068