VTK
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 -------------------------------------------------------------------------*/
37 #ifndef vtkAssignCoordinates_h
38 #define vtkAssignCoordinates_h
39 
40 #include "vtkInfovisLayoutModule.h" // For export macro
42 
43 class VTKINFOVISLAYOUT_EXPORT vtkAssignCoordinates : public vtkPassInputTypeAlgorithm
44 {
45 public:
46  static vtkAssignCoordinates *New();
47 
49  void PrintSelf(ostream& os, vtkIndent indent) override;
50 
52 
55  vtkSetStringMacro(XCoordArrayName);
56  vtkGetStringMacro(XCoordArrayName);
58 
60 
63  vtkSetStringMacro(YCoordArrayName);
64  vtkGetStringMacro(YCoordArrayName);
66 
68 
71  vtkSetStringMacro(ZCoordArrayName);
72  vtkGetStringMacro(ZCoordArrayName);
74 
76 
79  vtkSetMacro(Jitter,bool);
81 
82 protected:
84  ~vtkAssignCoordinates() override;
85 
88 
89 private:
90 
91  char* XCoordArrayName;
92  char* YCoordArrayName;
93  char* ZCoordArrayName;
94  bool Jitter;
95 
97  void operator=(const vtkAssignCoordinates&) = delete;
98 };
99 
100 #endif
101 
vtkPassInputTypeAlgorithm.h
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:41
vtkPassInputTypeAlgorithm::FillInputPortInformation
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
vtkX3D::port
Definition: vtkX3D.h:447
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:178
vtkAssignCoordinates
Given two(or three) arrays take the values in those arrays and simply assign them to the coordinates ...
Definition: vtkAssignCoordinates.h:43
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:86
vtkX3D::info
Definition: vtkX3D.h:376
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:54