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

vtkWeightedTransformFilter.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkWeightedTransformFilter.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 =========================================================================*/
00084 #ifndef __vtkWeightedTransformFilter_h
00085 #define __vtkWeightedTransformFilter_h
00086 
00087 #include "vtkPointSetToPointSetFilter.h"
00088 
00089 class vtkAbstractTransform;
00090 
00091 class VTK_HYBRID_EXPORT vtkWeightedTransformFilter : public vtkPointSetToPointSetFilter
00092 {
00093 public:
00094   static vtkWeightedTransformFilter *New();
00095   vtkTypeRevisionMacro(vtkWeightedTransformFilter,vtkPointSetToPointSetFilter);
00096   void PrintSelf(ostream& os, vtkIndent indent);
00097 
00099   unsigned long GetMTime();
00100 
00102 
00109   vtkSetStringMacro(WeightArray);
00110   vtkGetStringMacro(WeightArray);
00112 
00114 
00126   vtkSetStringMacro(TransformIndexArray);
00127   vtkGetStringMacro(TransformIndexArray);
00129 
00131 
00135   vtkSetStringMacro(CellDataWeightArray);
00136   vtkGetStringMacro(CellDataWeightArray);
00138 
00140 
00142   vtkSetStringMacro(CellDataTransformIndexArray);
00143   vtkGetStringMacro(CellDataTransformIndexArray);
00145 
00147 
00151   virtual void SetTransform(vtkAbstractTransform *transform, int num);
00152   virtual vtkAbstractTransform *GetTransform(int num);
00154 
00156 
00161   virtual void SetNumberOfTransforms(int num);
00162   vtkGetMacro(NumberOfTransforms, int);
00164 
00166 
00170   vtkBooleanMacro(AddInputValues, int);
00171   vtkSetMacro(AddInputValues, int);
00172   vtkGetMacro(AddInputValues, int);
00174 
00175 protected:
00176   vtkAbstractTransform **Transforms;
00177   int NumberOfTransforms;
00178   int AddInputValues;
00179 
00180   char *CellDataWeightArray;
00181   char *WeightArray;
00182 
00183   char *CellDataTransformIndexArray;
00184   char *TransformIndexArray;
00185 
00186   vtkWeightedTransformFilter();
00187   ~vtkWeightedTransformFilter();
00188 
00189   void Execute();
00190 private:
00191   vtkWeightedTransformFilter(const vtkWeightedTransformFilter&);  // Not implemented.
00192   void operator=(const vtkWeightedTransformFilter&);  // Not implemented.
00193 };
00194 
00195 #endif