VTK
vtkWeightedTransformFilter.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkWeightedTransformFilter.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
74 #ifndef vtkWeightedTransformFilter_h
75 #define vtkWeightedTransformFilter_h
76 
77 #include "vtkFiltersHybridModule.h" // For export macro
78 #include "vtkPointSetAlgorithm.h"
79 
81 
82 class VTKFILTERSHYBRID_EXPORT vtkWeightedTransformFilter : public vtkPointSetAlgorithm
83 {
84 public:
87  void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
88 
92  vtkMTimeType GetMTime() VTK_OVERRIDE;
93 
95 
104  vtkSetStringMacro(WeightArray);
105  vtkGetStringMacro(WeightArray);
107 
109 
125  vtkSetStringMacro(TransformIndexArray);
126  vtkGetStringMacro(TransformIndexArray);
128 
130 
137  vtkSetStringMacro(CellDataWeightArray);
138  vtkGetStringMacro(CellDataWeightArray);
140 
142 
146  vtkSetStringMacro(CellDataTransformIndexArray);
147  vtkGetStringMacro(CellDataTransformIndexArray);
149 
151 
157  virtual void SetTransform(vtkAbstractTransform *transform, int num);
158  virtual vtkAbstractTransform *GetTransform(int num);
160 
162 
168  virtual void SetNumberOfTransforms(int num);
169  vtkGetMacro(NumberOfTransforms, int);
171 
173 
178  vtkBooleanMacro(AddInputValues, int);
179  vtkSetMacro(AddInputValues, int);
180  vtkGetMacro(AddInputValues, int);
182 
183 protected:
184  vtkAbstractTransform **Transforms;
185  int NumberOfTransforms;
186  int AddInputValues;
187 
188  char *CellDataWeightArray;
189  char *WeightArray;
190 
191  char *CellDataTransformIndexArray;
192  char *TransformIndexArray;
193 
195  ~vtkWeightedTransformFilter() VTK_OVERRIDE;
196 
197  int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) VTK_OVERRIDE;
198 private:
199  vtkWeightedTransformFilter(const vtkWeightedTransformFilter&) VTK_DELETE_FUNCTION;
200  void operator=(const vtkWeightedTransformFilter&) VTK_DELETE_FUNCTION;
201 };
202 
203 #endif
Store vtkAlgorithm input/output information.
vtkTypeUInt32 vtkMTimeType
Definition: vtkType.h:300
transform based on per-point or per-cell weighting functions.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
a simple class to control print indentation
Definition: vtkIndent.h:39
superclass for all geometric transformations
virtual vtkMTimeType GetMTime()
Return this object's modified time.
Superclass for algorithms that produce output of the same type as input.
vtkGetStringMacro(ExtensionsString)
Returns a string listing all available extensions.
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
static vtkPointSetAlgorithm * New()
Store zero or more vtkInformation instances.
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.