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 
40 
42 {
43 public:
44  static vtkAssignCoordinates *New();
45 
47  void PrintSelf(ostream& os, vtkIndent indent);
48 
50 
51  vtkSetStringMacro(XCoordArrayName);
52  vtkGetStringMacro(XCoordArrayName);
54 
56 
57  vtkSetStringMacro(YCoordArrayName);
58  vtkGetStringMacro(YCoordArrayName);
60 
62 
63  vtkSetStringMacro(ZCoordArrayName);
64  vtkGetStringMacro(ZCoordArrayName);
66 
68 
69  vtkSetMacro(Jitter,bool);
71 
72 protected:
75 
78 
79 private:
80 
81  char* XCoordArrayName;
82  char* YCoordArrayName;
83  char* ZCoordArrayName;
84  bool Jitter;
85 
86  vtkAssignCoordinates(const vtkAssignCoordinates&); // Not implemented.
87  void operator=(const vtkAssignCoordinates&); // Not implemented.
88 };
89 
90 #endif
91