VTK  9.3.1
vtkWeightedTransformFilter.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-License-Identifier: BSD-3-Clause
62 #ifndef vtkWeightedTransformFilter_h
63 #define vtkWeightedTransformFilter_h
64 
65 #include "vtkFiltersHybridModule.h" // For export macro
66 #include "vtkPointSetAlgorithm.h"
67 
68 VTK_ABI_NAMESPACE_BEGIN
70 
71 class VTKFILTERSHYBRID_EXPORT vtkWeightedTransformFilter : public vtkPointSetAlgorithm
72 {
73 public:
76  void PrintSelf(ostream& os, vtkIndent indent) override;
77 
81  vtkMTimeType GetMTime() override;
82 
84 
93  vtkSetStringMacro(WeightArray);
94  vtkGetStringMacro(WeightArray);
96 
98 
114  vtkSetStringMacro(TransformIndexArray);
115  vtkGetStringMacro(TransformIndexArray);
117 
119 
126  vtkSetStringMacro(CellDataWeightArray);
127  vtkGetStringMacro(CellDataWeightArray);
129 
131 
135  vtkSetStringMacro(CellDataTransformIndexArray);
136  vtkGetStringMacro(CellDataTransformIndexArray);
138 
140 
146  virtual void SetTransform(vtkAbstractTransform* transform, int num);
147  virtual vtkAbstractTransform* GetTransform(int num);
149 
151 
157  virtual void SetNumberOfTransforms(int num);
158  vtkGetMacro(NumberOfTransforms, int);
160 
162 
167  vtkBooleanMacro(AddInputValues, vtkTypeBool);
168  vtkSetMacro(AddInputValues, vtkTypeBool);
169  vtkGetMacro(AddInputValues, vtkTypeBool);
171 
172 protected:
176 
178  char* WeightArray;
179 
182 
184  ~vtkWeightedTransformFilter() override;
185 
187 
188 private:
190  void operator=(const vtkWeightedTransformFilter&) = delete;
191 };
192 
193 VTK_ABI_NAMESPACE_END
194 #endif
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
Store vtkAlgorithm input/output information.
vtkTypeUInt32 vtkMTimeType
Definition: vtkType.h:270
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.
int vtkTypeBool
Definition: vtkABI.h:64
a simple class to control print indentation
Definition: vtkIndent.h:28
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.
static vtkPointSetAlgorithm * New()
Store zero or more vtkInformation instances.