VTK  9.3.1
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:
28  static vtkAssignCoordinates* New();
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:
66  ~vtkAssignCoordinates() override;
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
Superclass for algorithms that produce output of the same type as input.
Store vtkAlgorithm input/output information.
a simple class to control print indentation
Definition: vtkIndent.h:28
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Store zero or more vtkInformation instances.
Given two(or three) arrays take the values in those arrays and simply assign them to the coordinates ...
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called within ProcessRequest when a request asks the algorithm to do its work.
static vtkPassInputTypeAlgorithm * New()