VTK  9.2.20230201
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 =========================================================================*/
93 #ifndef vtkWeightedTransformFilter_h
94 #define vtkWeightedTransformFilter_h
95 
96 #include "vtkFiltersHybridModule.h" // For export macro
97 #include "vtkPointSetAlgorithm.h"
98 
99 VTK_ABI_NAMESPACE_BEGIN
101 
102 class VTKFILTERSHYBRID_EXPORT vtkWeightedTransformFilter : public vtkPointSetAlgorithm
103 {
104 public:
107  void PrintSelf(ostream& os, vtkIndent indent) override;
108 
112  vtkMTimeType GetMTime() override;
113 
115 
124  vtkSetStringMacro(WeightArray);
125  vtkGetStringMacro(WeightArray);
127 
129 
145  vtkSetStringMacro(TransformIndexArray);
146  vtkGetStringMacro(TransformIndexArray);
148 
150 
157  vtkSetStringMacro(CellDataWeightArray);
158  vtkGetStringMacro(CellDataWeightArray);
160 
162 
166  vtkSetStringMacro(CellDataTransformIndexArray);
167  vtkGetStringMacro(CellDataTransformIndexArray);
169 
171 
177  virtual void SetTransform(vtkAbstractTransform* transform, int num);
180 
182 
188  virtual void SetNumberOfTransforms(int num);
189  vtkGetMacro(NumberOfTransforms, int);
191 
193 
198  vtkBooleanMacro(AddInputValues, vtkTypeBool);
199  vtkSetMacro(AddInputValues, vtkTypeBool);
200  vtkGetMacro(AddInputValues, vtkTypeBool);
202 
203 protected:
207 
209  char* WeightArray;
210 
213 
216 
218 
219 private:
221  void operator=(const vtkWeightedTransformFilter&) = delete;
222 };
223 
224 VTK_ABI_NAMESPACE_END
225 #endif
superclass for all geometric transformations
a simple class to control print indentation
Definition: vtkIndent.h:120
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:71
vtkTypeUInt32 vtkMTimeType
Definition: vtkType.h:282