VTK  9.3.20240328
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
81 #ifndef vtkWeightedTransformFilter_h
82 #define vtkWeightedTransformFilter_h
83 
84 #include "vtkFiltersHybridModule.h" // For export macro
85 #include "vtkPointSetAlgorithm.h"
86 
87 VTK_ABI_NAMESPACE_BEGIN
89 
90 class VTKFILTERSHYBRID_EXPORT vtkWeightedTransformFilter : public vtkPointSetAlgorithm
91 {
92 public:
95  void PrintSelf(ostream& os, vtkIndent indent) override;
96 
100  vtkMTimeType GetMTime() override;
101 
103 
112  vtkSetStringMacro(WeightArray);
113  vtkGetStringMacro(WeightArray);
115 
117 
133  vtkSetStringMacro(TransformIndexArray);
134  vtkGetStringMacro(TransformIndexArray);
136 
138 
145  vtkSetStringMacro(CellDataWeightArray);
146  vtkGetStringMacro(CellDataWeightArray);
148 
150 
154  vtkSetStringMacro(CellDataTransformIndexArray);
155  vtkGetStringMacro(CellDataTransformIndexArray);
157 
159 
165  virtual void SetTransform(vtkAbstractTransform* transform, int num);
168 
170 
176  virtual void SetNumberOfTransforms(int num);
177  vtkGetMacro(NumberOfTransforms, int);
179 
181 
186  vtkBooleanMacro(AddInputValues, vtkTypeBool);
187  vtkSetMacro(AddInputValues, vtkTypeBool);
188  vtkGetMacro(AddInputValues, vtkTypeBool);
190 
191 protected:
195 
197  char* WeightArray;
198 
201 
204 
206 
207 private:
209  void operator=(const vtkWeightedTransformFilter&) = delete;
210 };
211 
212 VTK_ABI_NAMESPACE_END
213 #endif
superclass for all geometric transformations
a simple class to control print indentation
Definition: vtkIndent.h:108
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:64
vtkTypeUInt32 vtkMTimeType
Definition: vtkType.h:270