Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

dox/Graphics/vtkInterpolateDataSetAttributes.h

Go to the documentation of this file.
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkInterpolateDataSetAttributes.h,v $ 00005 Language: C++ 00006 00007 Copyright (c) 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen 00008 All rights reserved. 00009 See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 00010 00011 This software is distributed WITHOUT ANY WARRANTY; without even 00012 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00013 PURPOSE. See the above copyright notice for more information. 00014 00015 =========================================================================*/ 00039 #ifndef __vtkInterpolateDataSetAttributes_h 00040 #define __vtkInterpolateDataSetAttributes_h 00041 00042 #include "vtkDataSetToDataSetFilter.h" 00043 00044 class vtkDataSetCollection; 00045 00046 class VTK_GRAPHICS_EXPORT vtkInterpolateDataSetAttributes : public vtkDataSetToDataSetFilter 00047 { 00048 public: 00049 static vtkInterpolateDataSetAttributes *New(); 00050 vtkTypeRevisionMacro(vtkInterpolateDataSetAttributes,vtkDataSetToDataSetFilter); 00051 void PrintSelf(ostream& os, vtkIndent indent); 00052 00054 void AddInput(vtkDataSet *in); 00055 00057 vtkDataSetCollection *GetInputList(); 00058 00060 00061 vtkSetClampMacro(T,float,0.0,VTK_LARGE_FLOAT); 00062 vtkGetMacro(T,float); 00064 00065 protected: 00066 vtkInterpolateDataSetAttributes(); 00067 ~vtkInterpolateDataSetAttributes(); 00068 00069 void Execute(); 00070 00071 vtkDataSetCollection *InputList; // list of data sets to interpolate 00072 float T; // interpolation parameter 00073 00074 private: 00075 // hide the superclass' AddInput() from the user and the compiler 00076 void AddInput(vtkDataObject *) 00077 { vtkErrorMacro( << "AddInput() must be called with a vtkDataSet not a vtkDataObject."); }; 00078 void RemoveInput(vtkDataObject *input) 00079 { this->vtkProcessObject::RemoveInput(input); }; 00080 private: 00081 vtkInterpolateDataSetAttributes(const vtkInterpolateDataSetAttributes&); // Not implemented. 00082 void operator=(const vtkInterpolateDataSetAttributes&); // Not implemented. 00083 }; 00084 00085 #endif 00086 00087