VTK  9.0.20201019
vtkAssignCoordinates.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkAssignCoordinates.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 =========================================================================*/
15 /*-------------------------------------------------------------------------
16  Copyright 2008 Sandia Corporation.
17  Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
18  the U.S. Government retains certain rights in this software.
19 -------------------------------------------------------------------------*/
31 #ifndef vtkAssignCoordinates_h
32 #define vtkAssignCoordinates_h
33 
34 #include "vtkInfovisLayoutModule.h" // For export macro
36 
37 class VTKINFOVISLAYOUT_EXPORT vtkAssignCoordinates : public vtkPassInputTypeAlgorithm
38 {
39 public:
40  static vtkAssignCoordinates* New();
41 
43  void PrintSelf(ostream& os, vtkIndent indent) override;
44 
46 
49  vtkSetStringMacro(XCoordArrayName);
50  vtkGetStringMacro(XCoordArrayName);
52 
54 
57  vtkSetStringMacro(YCoordArrayName);
58  vtkGetStringMacro(YCoordArrayName);
60 
62 
65  vtkSetStringMacro(ZCoordArrayName);
66  vtkGetStringMacro(ZCoordArrayName);
68 
70 
73  vtkSetMacro(Jitter, bool);
75 
76 protected:
78  ~vtkAssignCoordinates() override;
79 
82 
83 private:
84  char* XCoordArrayName;
85  char* YCoordArrayName;
86  char* ZCoordArrayName;
87  bool Jitter;
88 
90  void operator=(const vtkAssignCoordinates&) = delete;
91 };
92 
93 #endif
vtkPassInputTypeAlgorithm.h
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:35
vtkPassInputTypeAlgorithm::FillInputPortInformation
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
vtkX3D::port
Definition: vtkX3D.h:453
vtkPassInputTypeAlgorithm::RequestData
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called within ProcessRequest when a request asks the algorithm to do its work.
Definition: vtkPassInputTypeAlgorithm.h:171
vtkAssignCoordinates
Given two(or three) arrays take the values in those arrays and simply assign them to the coordinates ...
Definition: vtkAssignCoordinates.h:37
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:33
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:73
vtkX3D::info
Definition: vtkX3D.h:382
vtkPassInputTypeAlgorithm::New
static vtkPassInputTypeAlgorithm * New()
vtkPassInputTypeAlgorithm::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkPassInputTypeAlgorithm
Superclass for algorithms that produce output of the same type as input.
Definition: vtkPassInputTypeAlgorithm.h:51