VTK  9.1.0
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 =========================================================================*/
90 #ifndef vtkWeightedTransformFilter_h
91 #define vtkWeightedTransformFilter_h
92 
93 #include "vtkFiltersHybridModule.h" // For export macro
94 #include "vtkPointSetAlgorithm.h"
95 
97 
98 class VTKFILTERSHYBRID_EXPORT vtkWeightedTransformFilter : public vtkPointSetAlgorithm
99 {
100 public:
103  void PrintSelf(ostream& os, vtkIndent indent) override;
104 
108  vtkMTimeType GetMTime() override;
109 
111 
120  vtkSetStringMacro(WeightArray);
121  vtkGetStringMacro(WeightArray);
123 
125 
141  vtkSetStringMacro(TransformIndexArray);
142  vtkGetStringMacro(TransformIndexArray);
144 
146 
153  vtkSetStringMacro(CellDataWeightArray);
154  vtkGetStringMacro(CellDataWeightArray);
156 
158 
162  vtkSetStringMacro(CellDataTransformIndexArray);
163  vtkGetStringMacro(CellDataTransformIndexArray);
165 
167 
173  virtual void SetTransform(vtkAbstractTransform* transform, int num);
176 
178 
184  virtual void SetNumberOfTransforms(int num);
185  vtkGetMacro(NumberOfTransforms, int);
187 
189 
194  vtkBooleanMacro(AddInputValues, vtkTypeBool);
195  vtkSetMacro(AddInputValues, vtkTypeBool);
196  vtkGetMacro(AddInputValues, vtkTypeBool);
198 
199 protected:
203 
205  char* WeightArray;
206 
209 
212 
214 
215 private:
217  void operator=(const vtkWeightedTransformFilter&) = delete;
218 };
219 
220 #endif
superclass for all geometric transformations
a simple class to control print indentation
Definition: vtkIndent.h:113
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Superclass for algorithms that produce output of the same type as input.
transform based on per-point or per-cell weighting functions.
virtual vtkAbstractTransform * GetTransform(int num)
Set or Get one of the filter's transforms.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkWeightedTransformFilter * New()
vtkMTimeType GetMTime() override
Return the MTime also considering the filter's transforms.
~vtkWeightedTransformFilter() override
virtual void SetTransform(vtkAbstractTransform *transform, int num)
Set or Get one of the filter's transforms.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
virtual void SetNumberOfTransforms(int num)
Set the number of transforms for the filter.
int vtkTypeBool
Definition: vtkABI.h:69
vtkTypeUInt32 vtkMTimeType
Definition: vtkType.h:287