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 "vtkFiltersGeneralModule.h" // For export macro
34 #include "vtkPolyDataAlgorithm.h"
35 
37 {
38 public:
39  static vtkAxes *New();
40 
42  void PrintSelf(ostream& os, vtkIndent indent);
43 
45 
46  vtkSetVector3Macro(Origin,double);
47  vtkGetVectorMacro(Origin,double,3);
49 
51 
52  vtkSetMacro(ScaleFactor,double);
53  vtkGetMacro(ScaleFactor,double);
55 
57 
58  vtkSetMacro(Symmetric,int);
59  vtkGetMacro(Symmetric,int);
60  vtkBooleanMacro(Symmetric,int);
62 
64 
65  vtkSetMacro(ComputeNormals, int);
66  vtkGetMacro(ComputeNormals, int);
67  vtkBooleanMacro(ComputeNormals, int);
69 
70 protected:
71  vtkAxes();
72  ~vtkAxes() {}
73 
75  // This source does not know how to generate pieces yet.
76  int ComputeDivisionExtents(vtkDataObject *output,
77  int idx, int numDivisions);
78 
79  double Origin[3];
80  double ScaleFactor;
81 
82  int Symmetric;
84 private:
85  vtkAxes(const vtkAxes&); // Not implemented.
86  void operator=(const vtkAxes&); // Not implemented.
87 };
88 
89 #endif
90 
91 
Store vtkAlgorithm input/output information.
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
int Symmetric
Definition: vtkAxes.h:82
create an x-y-z axes
Definition: vtkAxes.h:36
int ComputeNormals
Definition: vtkAxes.h:83
double ScaleFactor
Definition: vtkAxes.h:80
static vtkPolyDataAlgorithm * New()
void PrintSelf(ostream &os, vtkIndent indent)
Superclass for algorithms that produce only polydata as output.
a simple class to control print indentation
Definition: vtkIndent.h:38
#define VTKFILTERSGENERAL_EXPORT
Store zero or more vtkInformation instances.
~vtkAxes()
Definition: vtkAxes.h:72
general representation of visualization data
Definition: vtkDataObject.h:64