00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkAttributeDataToFieldDataFilter.h,v $ 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 =========================================================================*/ 00041 #ifndef __vtkAttributeDataToFieldDataFilter_h 00042 #define __vtkAttributeDataToFieldDataFilter_h 00043 00044 #include "vtkDataSetAlgorithm.h" 00045 00046 class VTK_GRAPHICS_EXPORT vtkAttributeDataToFieldDataFilter : public vtkDataSetAlgorithm 00047 { 00048 public: 00049 void PrintSelf(ostream& os, vtkIndent indent); 00050 vtkTypeRevisionMacro(vtkAttributeDataToFieldDataFilter,vtkDataSetAlgorithm); 00051 00053 static vtkAttributeDataToFieldDataFilter *New(); 00054 00056 00058 vtkSetMacro(PassAttributeData,int); 00059 vtkGetMacro(PassAttributeData,int); 00060 vtkBooleanMacro(PassAttributeData,int); 00062 00063 protected: 00064 vtkAttributeDataToFieldDataFilter(); 00065 ~vtkAttributeDataToFieldDataFilter() {}; 00066 00067 virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *); //generate output data 00068 00069 int PassAttributeData; 00070 private: 00071 vtkAttributeDataToFieldDataFilter(const vtkAttributeDataToFieldDataFilter&); // Not implemented. 00072 void operator=(const vtkAttributeDataToFieldDataFilter&); // Not implemented. 00073 }; 00074 00075 #endif