VTK
vtkAxes.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkAxes.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 =========================================================================*/
30 #ifndef __vtkAxes_h
31 #define __vtkAxes_h
32 
33 #include "vtkPolyDataAlgorithm.h"
34 
36 {
37 public:
38  static vtkAxes *New();
39 
41  void PrintSelf(ostream& os, vtkIndent indent);
42 
44 
45  vtkSetVector3Macro(Origin,double);
46  vtkGetVectorMacro(Origin,double,3);
48 
50 
51  vtkSetMacro(ScaleFactor,double);
52  vtkGetMacro(ScaleFactor,double);
54 
56 
57  vtkSetMacro(Symmetric,int);
58  vtkGetMacro(Symmetric,int);
59  vtkBooleanMacro(Symmetric,int);
61 
63 
64  vtkSetMacro(ComputeNormals, int);
65  vtkGetMacro(ComputeNormals, int);
66  vtkBooleanMacro(ComputeNormals, int);
68 
69 protected:
70  vtkAxes();
71  ~vtkAxes() {};
72 
74  // This source does not know how to generate pieces yet.
75  int ComputeDivisionExtents(vtkDataObject *output,
76  int idx, int numDivisions);
77 
78  double Origin[3];
79  double ScaleFactor;
80 
81  int Symmetric;
83 private:
84  vtkAxes(const vtkAxes&); // Not implemented.
85  void operator=(const vtkAxes&); // Not implemented.
86 };
87 
88 #endif
89 
90