VTK  9.3.20240419
vtkAssignCoordinates.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-FileCopyrightText: Copyright 2008 Sandia Corporation
3 // SPDX-License-Identifier: LicenseRef-BSD-3-Clause-Sandia-USGov
18 #ifndef vtkAssignCoordinates_h
19 #define vtkAssignCoordinates_h
20 
21 #include "vtkInfovisLayoutModule.h" // For export macro
23 
24 VTK_ABI_NAMESPACE_BEGIN
25 class VTKINFOVISLAYOUT_EXPORT vtkAssignCoordinates : public vtkPassInputTypeAlgorithm
26 {
27 public:
29 
31  void PrintSelf(ostream& os, vtkIndent indent) override;
32 
34 
37  vtkSetStringMacro(XCoordArrayName);
38  vtkGetStringMacro(XCoordArrayName);
40 
42 
45  vtkSetStringMacro(YCoordArrayName);
46  vtkGetStringMacro(YCoordArrayName);
48 
50 
53  vtkSetStringMacro(ZCoordArrayName);
54  vtkGetStringMacro(ZCoordArrayName);
56 
58 
61  vtkSetMacro(Jitter, bool);
63 
64 protected:
67 
70 
71 private:
72  char* XCoordArrayName;
73  char* YCoordArrayName;
74  char* ZCoordArrayName;
75  bool Jitter;
76 
78  void operator=(const vtkAssignCoordinates&) = delete;
79 };
80 
81 VTK_ABI_NAMESPACE_END
82 #endif
Given two(or three) arrays take the values in those arrays and simply assign them to the coordinates ...
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkAssignCoordinates * New()
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called within ProcessRequest when a request asks the algorithm to do its work.
~vtkAssignCoordinates() override
a simple class to control print indentation
Definition: vtkIndent.h:108
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Superclass for algorithms that produce output of the same type as input.
@ info
Definition: vtkX3D.h:376
@ port
Definition: vtkX3D.h:447