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

# 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 =========================================================================*/
    00050 #ifndef __vtkInterpolateDataSetAttributes_h
    00051 #define __vtkInterpolateDataSetAttributes_h
    00052
    00053 #include "vtkDataSetToDataSetFilter.h"
    00054
    00055 class vtkDataSetCollection;
    00056
    00057 class VTK_GRAPHICS_EXPORT vtkInterpolateDataSetAttributes : public vtkDataSetToDataSetFilter
    00058 {
    00059 public:
    00060   static vtkInterpolateDataSetAttributes *New();
    00061   vtkTypeRevisionMacro(vtkInterpolateDataSetAttributes,vtkDataSetToDataSetFilter);
    00062   void PrintSelf(ostream& os, vtkIndent indent);
    00063
    00065   void AddInput(vtkDataSet *in);
    00066
    00068   vtkDataSetCollection *GetInputList();
    00069
    00071
    00072   vtkSetClampMacro(T,float,0.0,VTK_LARGE_FLOAT);
    00073   vtkGetMacro(T,float);
    00075
    00076 protected:
    00077   vtkInterpolateDataSetAttributes();
    00078   ~vtkInterpolateDataSetAttributes();
    00079
    00080   void Execute();
    00081
    00082   vtkDataSetCollection *InputList; // list of data sets to interpolate
    00083   float T; // interpolation parameter
    00084
    00085 private:
    00086   // hide the superclass' AddInput() from the user and the compiler
    00087   void AddInput(vtkDataObject *)
    00088     { vtkErrorMacro( << "AddInput() must be called with a vtkDataSet not a vtkDataObject."); };
    00089   void RemoveInput(vtkDataObject *input)
    00090     { this->vtkProcessObject::RemoveInput(input); };
    00091 private:
    00092   vtkInterpolateDataSetAttributes(const vtkInterpolateDataSetAttributes&);  // Not implemented.
    00093   void operator=(const vtkInterpolateDataSetAttributes&);  // Not implemented.
    00094 };
    00095
    00096 #endif
    00097
    00098