VTK
|
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkCompositeDataProbeFilter.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 =========================================================================*/ 00037 #ifndef __vtkCompositeDataProbeFilter_h 00038 #define __vtkCompositeDataProbeFilter_h 00039 00040 #include "vtkFiltersCoreModule.h" // For export macro 00041 #include "vtkProbeFilter.h" 00042 00043 class vtkCompositeDataSet; 00044 class VTKFILTERSCORE_EXPORT vtkCompositeDataProbeFilter : public vtkProbeFilter 00045 { 00046 public: 00047 static vtkCompositeDataProbeFilter* New(); 00048 vtkTypeMacro(vtkCompositeDataProbeFilter, vtkProbeFilter); 00049 void PrintSelf(ostream& os, vtkIndent indent); 00050 00052 00063 vtkSetMacro(PassPartialArrays, bool); 00064 vtkGetMacro(PassPartialArrays, bool); 00065 vtkBooleanMacro(PassPartialArrays, bool); 00067 00068 //BTX 00069 protected: 00070 vtkCompositeDataProbeFilter(); 00071 ~vtkCompositeDataProbeFilter(); 00072 00075 virtual int FillInputPortInformation(int port, vtkInformation* info); 00076 00078 int BuildFieldList(vtkCompositeDataSet* source); 00079 00082 virtual void InitializeForProbing(vtkDataSet *input, vtkDataSet *output); 00083 00085 00086 virtual int RequestData(vtkInformation *, 00087 vtkInformationVector **, vtkInformationVector *); 00089 00091 virtual vtkExecutive* CreateDefaultExecutive(); 00092 00093 bool PassPartialArrays; 00094 private: 00095 vtkCompositeDataProbeFilter(const vtkCompositeDataProbeFilter&); // Not implemented. 00096 void operator=(const vtkCompositeDataProbeFilter&); // Not implemented. 00097 //ETX 00098 }; 00099 00100 #endif 00101 00102