VTK
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 =========================================================================*/
74 #ifndef vtkWeightedTransformFilter_h
75 #define vtkWeightedTransformFilter_h
76 
77 #include "vtkFiltersHybridModule.h" // For export macro
78 #include "vtkPointSetAlgorithm.h"
79 
81 
82 class VTKFILTERSHYBRID_EXPORT vtkWeightedTransformFilter : public vtkPointSetAlgorithm
83 {
84 public:
87  void PrintSelf(ostream& os, vtkIndent indent) override;
88 
92  vtkMTimeType GetMTime() override;
93 
95 
104  vtkSetStringMacro(WeightArray);
105  vtkGetStringMacro(WeightArray);
107 
109 
125  vtkSetStringMacro(TransformIndexArray);
126  vtkGetStringMacro(TransformIndexArray);
128 
130 
137  vtkSetStringMacro(CellDataWeightArray);
138  vtkGetStringMacro(CellDataWeightArray);
140 
142 
146  vtkSetStringMacro(CellDataTransformIndexArray);
147  vtkGetStringMacro(CellDataTransformIndexArray);
149 
151 
157  virtual void SetTransform(vtkAbstractTransform *transform, int num);
158  virtual vtkAbstractTransform *GetTransform(int num);
160 
162 
168  virtual void SetNumberOfTransforms(int num);
169  vtkGetMacro(NumberOfTransforms, int);
171 
173 
178  vtkBooleanMacro(AddInputValues, vtkTypeBool);
179  vtkSetMacro(AddInputValues, vtkTypeBool);
180  vtkGetMacro(AddInputValues, vtkTypeBool);
182 
183 protected:
187 
189  char *WeightArray;
190 
193 
195  ~vtkWeightedTransformFilter() override;
196 
198 private:
200  void operator=(const vtkWeightedTransformFilter&) = delete;
201 };
202 
203 #endif
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
Store vtkAlgorithm input/output information.
vtkTypeUInt32 vtkMTimeType
Definition: vtkType.h:302
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:69
a simple class to control print indentation
Definition: vtkIndent.h:39
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.