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 =========================================================================*/
71 #ifndef vtkWeightedTransformFilter_h
72 #define vtkWeightedTransformFilter_h
73 
74 #include "vtkFiltersHybridModule.h" // For export macro
75 #include "vtkPointSetAlgorithm.h"
76 
78 
79 class VTKFILTERSHYBRID_EXPORT vtkWeightedTransformFilter : public vtkPointSetAlgorithm
80 {
81 public:
84  void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
85 
89  vtkMTimeType GetMTime() VTK_OVERRIDE;
90 
92 
101  vtkSetStringMacro(WeightArray);
102  vtkGetStringMacro(WeightArray);
104 
106 
122  vtkSetStringMacro(TransformIndexArray);
123  vtkGetStringMacro(TransformIndexArray);
125 
127 
134  vtkSetStringMacro(CellDataWeightArray);
135  vtkGetStringMacro(CellDataWeightArray);
137 
139 
143  vtkSetStringMacro(CellDataTransformIndexArray);
144  vtkGetStringMacro(CellDataTransformIndexArray);
146 
148 
154  virtual void SetTransform(vtkAbstractTransform *transform, int num);
155  virtual vtkAbstractTransform *GetTransform(int num);
157 
159 
165  virtual void SetNumberOfTransforms(int num);
166  vtkGetMacro(NumberOfTransforms, int);
168 
170 
175  vtkBooleanMacro(AddInputValues, int);
176  vtkSetMacro(AddInputValues, int);
177  vtkGetMacro(AddInputValues, int);
179 
180 protected:
181  vtkAbstractTransform **Transforms;
182  int NumberOfTransforms;
183  int AddInputValues;
184 
185  char *CellDataWeightArray;
186  char *WeightArray;
187 
188  char *CellDataTransformIndexArray;
189  char *TransformIndexArray;
190 
192  ~vtkWeightedTransformFilter() VTK_OVERRIDE;
193 
194  int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) VTK_OVERRIDE;
195 private:
196  vtkWeightedTransformFilter(const vtkWeightedTransformFilter&) VTK_DELETE_FUNCTION;
197  void operator=(const vtkWeightedTransformFilter&) VTK_DELETE_FUNCTION;
198 };
199 
200 #endif
Store vtkAlgorithm input/output information.
vtkTypeUInt32 vtkMTimeType
Definition: vtkType.h:300
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.
a simple class to control print indentation
Definition: vtkIndent.h:33
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.
vtkGetStringMacro(ExtensionsString)
Returns a string listing all available extensions.
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
static vtkPointSetAlgorithm * New()
Store zero or more vtkInformation instances.
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.