VTK  9.3.0
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
71 #ifndef vtkWeightedTransformFilter_h
72 #define vtkWeightedTransformFilter_h
73 
74 #include "vtkFiltersHybridModule.h" // For export macro
75 #include "vtkPointSetAlgorithm.h"
76 
77 VTK_ABI_NAMESPACE_BEGIN
79 
80 class VTKFILTERSHYBRID_EXPORT vtkWeightedTransformFilter : public vtkPointSetAlgorithm
81 {
82 public:
85  void PrintSelf(ostream& os, vtkIndent indent) override;
86 
90  vtkMTimeType GetMTime() override;
91 
93 
102  vtkSetStringMacro(WeightArray);
103  vtkGetStringMacro(WeightArray);
105 
107 
123  vtkSetStringMacro(TransformIndexArray);
124  vtkGetStringMacro(TransformIndexArray);
126 
128 
135  vtkSetStringMacro(CellDataWeightArray);
136  vtkGetStringMacro(CellDataWeightArray);
138 
140 
144  vtkSetStringMacro(CellDataTransformIndexArray);
145  vtkGetStringMacro(CellDataTransformIndexArray);
147 
149 
155  virtual void SetTransform(vtkAbstractTransform* transform, int num);
158 
160 
166  virtual void SetNumberOfTransforms(int num);
167  vtkGetMacro(NumberOfTransforms, int);
169 
171 
176  vtkBooleanMacro(AddInputValues, vtkTypeBool);
177  vtkSetMacro(AddInputValues, vtkTypeBool);
178  vtkGetMacro(AddInputValues, vtkTypeBool);
180 
181 protected:
185 
187  char* WeightArray;
188 
191 
194 
196 
197 private:
199  void operator=(const vtkWeightedTransformFilter&) = delete;
200 };
201 
202 VTK_ABI_NAMESPACE_END
203 #endif
superclass for all geometric transformations
a simple class to control print indentation
Definition: vtkIndent.h:38
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