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 -------------------------------------------------------------------------*/
33 #ifndef __vtkAssignCoordinates_h
34 #define __vtkAssignCoordinates_h
35 
37 
39 {
40 public:
41  static vtkAssignCoordinates *New();
42 
44  void PrintSelf(ostream& os, vtkIndent indent);
45 
47 
48  vtkSetStringMacro(XCoordArrayName);
49  vtkGetStringMacro(XCoordArrayName);
51 
53 
54  vtkSetStringMacro(YCoordArrayName);
55  vtkGetStringMacro(YCoordArrayName);
57 
59 
60  vtkSetStringMacro(ZCoordArrayName);
61  vtkGetStringMacro(ZCoordArrayName);
63 
65 
66  vtkSetMacro(Jitter,bool);
68 
69 protected:
72 
75 
76 private:
77 
78  char* XCoordArrayName;
79  char* YCoordArrayName;
80  char* ZCoordArrayName;
81  bool Jitter;
82 
83  vtkAssignCoordinates(const vtkAssignCoordinates&); // Not implemented.
84  void operator=(const vtkAssignCoordinates&); // Not implemented.
85 };
86 
87 #endif
88 
Superclass for algorithms that produce output of the same type as input.
Store vtkAlgorithm input/output information.
virtual int FillInputPortInformation(int port, vtkInformation *info)
a simple class to control print indentation
Definition: vtkIndent.h:37
void PrintSelf(ostream &os, vtkIndent indent)
#define VTK_INFOVIS_EXPORT
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()