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 -------------------------------------------------------------------------*/
36 #ifndef vtkAssignCoordinates_h
37 #define vtkAssignCoordinates_h
38 
39 #include "vtkInfovisLayoutModule.h" // For export macro
41 
43 {
44 public:
45  static vtkAssignCoordinates *New();
46 
48  void PrintSelf(ostream& os, vtkIndent indent);
49 
51 
52  vtkSetStringMacro(XCoordArrayName);
53  vtkGetStringMacro(XCoordArrayName);
55 
57 
58  vtkSetStringMacro(YCoordArrayName);
59  vtkGetStringMacro(YCoordArrayName);
61 
63 
64  vtkSetStringMacro(ZCoordArrayName);
65  vtkGetStringMacro(ZCoordArrayName);
67 
69 
70  vtkSetMacro(Jitter,bool);
72 
73 protected:
76 
79 
80 private:
81 
82  char* XCoordArrayName;
83  char* YCoordArrayName;
84  char* ZCoordArrayName;
85  bool Jitter;
86 
87  vtkAssignCoordinates(const vtkAssignCoordinates&); // Not implemented.
88  void operator=(const vtkAssignCoordinates&); // Not implemented.
89 };
90 
91 #endif
92 
Superclass for algorithms that produce output of the same type as input.
Store vtkAlgorithm input/output information.
#define VTKINFOVISLAYOUT_EXPORT
virtual int FillInputPortInformation(int port, vtkInformation *info)
a simple class to control print indentation
Definition: vtkIndent.h:38
void PrintSelf(ostream &os, vtkIndent indent)
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 *)
static vtkPassInputTypeAlgorithm * New()