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

# Hybrid/vtkWeightedTransformFilter.h

Go to the documentation of this file.

    00001 /*=========================================================================
    00002
    00003   Program:   Visualization Toolkit
    00004   Module:    $RCSfile: vtkWeightedTransformFilter.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 =========================================================================*/
    00087 #ifndef __vtkWeightedTransformFilter_h
    00088 #define __vtkWeightedTransformFilter_h
    00089
    00090 #include "vtkPointSetToPointSetFilter.h"
    00091
    00092 class vtkAbstractTransform;
    00093
    00094 class VTK_HYBRID_EXPORT vtkWeightedTransformFilter : public vtkPointSetToPointSetFilter
    00095 {
    00096 public:
    00097   static vtkWeightedTransformFilter *New();
    00098   vtkTypeRevisionMacro(vtkWeightedTransformFilter,vtkPointSetToPointSetFilter);
    00099   void PrintSelf(ostream& os, vtkIndent indent);
    00100
    00102   unsigned long GetMTime();
    00103
    00105
    00112   vtkSetStringMacro(WeightArray);
    00113   vtkGetStringMacro(WeightArray);
    00115
    00117
    00121   vtkSetStringMacro(CellDataWeightArray);
    00122   vtkGetStringMacro(CellDataWeightArray);
    00124
    00126
    00130   virtual void SetTransform(vtkAbstractTransform *transform, int num);
    00131   virtual vtkAbstractTransform *GetTransform(int num);
    00133
    00135
    00138   virtual void SetNumberOfTransforms(int num);
    00139   vtkGetMacro(NumberOfTransforms, int);
    00141
    00143
    00147   vtkBooleanMacro(AddInputValues, int);
    00148   vtkSetMacro(AddInputValues, int);
    00149   vtkGetMacro(AddInputValues, int);
    00151
    00152 protected:
    00153   vtkAbstractTransform **Transforms;
    00154   int NumberOfTransforms;
    00155   int AddInputValues;
    00156
    00157   char *CellDataWeightArray;
    00158   char *WeightArray;
    00159
    00160   vtkWeightedTransformFilter();
    00161   ~vtkWeightedTransformFilter();
    00162
    00163   void Execute();
    00164 private:
    00165   vtkWeightedTransformFilter(const vtkWeightedTransformFilter&);  // Not implemented.
    00166   void operator=(const vtkWeightedTransformFilter&);  // Not implemented.
    00167 };
    00168
    00169 #endif
    00170
    00171