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 "vtkPassInputTypeAlgorithm.h" 00029 00030 class VTK_INFOVIS_EXPORT vtkPassThrough : public vtkPassInputTypeAlgorithm 00031 { 00032 public: 00033 static vtkPassThrough* New(); 00034 vtkTypeMacro(vtkPassThrough, vtkPassInputTypeAlgorithm); 00035 void PrintSelf(ostream& os, vtkIndent indent); 00036 00038 int FillInputPortInformation(int port, vtkInformation* info); 00039 00041 00045 vtkSetMacro(DeepCopyInput, int); 00046 vtkGetMacro(DeepCopyInput, int); 00047 vtkBooleanMacro(DeepCopyInput, int); 00049 00050 protected: 00051 vtkPassThrough(); 00052 ~vtkPassThrough(); 00053 00054 virtual int RequestData( 00055 vtkInformation*, 00056 vtkInformationVector**, 00057 vtkInformationVector*); 00058 00059 int DeepCopyInput; 00060 00061 private: 00062 vtkPassThrough(const vtkPassThrough&); // Not implemented 00063 void operator=(const vtkPassThrough&); // Not implemented 00064 }; 00065 00066 #endif 00067