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 =========================================================================*/
31 #ifndef vtkAxes_h
32 #define vtkAxes_h
33 
34 #include "vtkFiltersGeneralModule.h" // For export macro
35 #include "vtkPolyDataAlgorithm.h"
36 
37 class VTKFILTERSGENERAL_EXPORT vtkAxes : public vtkPolyDataAlgorithm
38 {
39 public:
40  static vtkAxes *New();
41 
43  void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
44 
46 
49  vtkSetVector3Macro(Origin,double);
50  vtkGetVectorMacro(Origin,double,3);
52 
54 
57  vtkSetMacro(ScaleFactor,double);
58  vtkGetMacro(ScaleFactor,double);
60 
62 
65  vtkSetMacro(Symmetric,int);
66  vtkGetMacro(Symmetric,int);
67  vtkBooleanMacro(Symmetric,int);
69 
71 
74  vtkSetMacro(ComputeNormals, int);
75  vtkGetMacro(ComputeNormals, int);
76  vtkBooleanMacro(ComputeNormals, int);
78 
79 protected:
80  vtkAxes();
81  ~vtkAxes() VTK_OVERRIDE {}
82 
84  // This source does not know how to generate pieces yet.
85  int ComputeDivisionExtents(vtkDataObject *output,
86  int idx, int numDivisions);
87 
88  double Origin[3];
89  double ScaleFactor;
90 
91  int Symmetric;
92  int ComputeNormals;
93 private:
94  vtkAxes(const vtkAxes&) VTK_DELETE_FUNCTION;
95  void operator=(const vtkAxes&) VTK_DELETE_FUNCTION;
96 };
97 
98 #endif
99 
100 
Store vtkAlgorithm input/output information.
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
create an x-y-z axes
Definition: vtkAxes.h:37
static vtkPolyDataAlgorithm * New()
Superclass for algorithms that produce only polydata as output.
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
~vtkAxes() override
Definition: vtkAxes.h:81
Store zero or more vtkInformation instances.
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
general representation of visualization data
Definition: vtkDataObject.h:64
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.