VTK: Filters/General/vtkWarpVector.h Source File

| VTK 9.3.1

vtkWarpVector.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
26 #ifndef vtkWarpVector_h
27 #define vtkWarpVector_h
28
29 #include "vtkFiltersGeneralModule.h" // For export macro
30 #include "vtkPointSetAlgorithm.h"
31
32 VTK_ABI_NAMESPACE_BEGIN
33 class VTKFILTERSGENERAL_EXPORT vtkWarpVector : public vtkPointSetAlgorithm
34 {
35 public:
37
41 static vtkWarpVector* New();
42 vtkTypeMacro(vtkWarpVector, vtkPointSetAlgorithm);
43 void PrintSelf(ostream& os, vtkIndent indent) override;
45
47
50 vtkSetMacro(ScaleFactor, double);
51 vtkGetMacro(ScaleFactor, double);
53
55
61 vtkSetMacro(OutputPointsPrecision, int);
62 vtkGetMacro(OutputPointsPrecision, int);
64
65 int FillInputPortInformation(int port, vtkInformation* info) override;
66
67 protected:
68 vtkWarpVector();
69 ~vtkWarpVector() override;
70
71 int RequestDataObject(vtkInformation* request, vtkInformationVector** inputVector,
72 vtkInformationVector* outputVector) override;
73 int RequestData(vtkInformation*, vtkInformationVector**, vtkInformationVector*) override;
74 double ScaleFactor;
75 int OutputPointsPrecision;
76
77 private:
78 vtkWarpVector(const vtkWarpVector&) = delete;
79 void operator=(const vtkWarpVector&) = delete;
80 };
81
82 VTK_ABI_NAMESPACE_END
83 #endif
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:38
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:40
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:72
vtkPointSetAlgorithm
Superclass for algorithms that produce output of the same type as input.
Definition: vtkPointSetAlgorithm.h:33
vtkWarpVector
deform geometry with vector data
Definition: vtkWarpVector.h:34
vtkWarpVector::New
static vtkWarpVector * New()
Standard methods for instantiation, obtaining type information, and printing.
vtkWarpVector::RequestDataObject
int RequestDataObject(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
This is called by the superclass.
vtkWarpVector::FillInputPortInformation
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
vtkWarpVector::vtkWarpVector
vtkWarpVector()
vtkWarpVector::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Standard methods for instantiation, obtaining type information, and printing.
vtkWarpVector::OutputPointsPrecision
int OutputPointsPrecision
Definition: vtkWarpVector.h:75
vtkWarpVector::ScaleFactor
double ScaleFactor
Definition: vtkWarpVector.h:74
vtkWarpVector::~vtkWarpVector
~vtkWarpVector() override
vtkWarpVector::RequestData
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
vtkX3D::info
@ info
Definition: vtkX3D.h:376
vtkX3D::port
@ port
Definition: vtkX3D.h:447
vtkPointSetAlgorithm.h