VTK  9.3.1
vtkAxes.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-License-Identifier: BSD-3-Clause
19 #ifndef vtkAxes_h
20 #define vtkAxes_h
21 
22 #include "vtkFiltersGeneralModule.h" // For export macro
23 #include "vtkPolyDataAlgorithm.h"
24 
25 VTK_ABI_NAMESPACE_BEGIN
26 class VTKFILTERSGENERAL_EXPORT vtkAxes : public vtkPolyDataAlgorithm
27 {
28 public:
29  static vtkAxes* New();
30 
31  vtkTypeMacro(vtkAxes, vtkPolyDataAlgorithm);
32  void PrintSelf(ostream& os, vtkIndent indent) override;
33 
35 
38  vtkSetVector3Macro(Origin, double);
39  vtkGetVectorMacro(Origin, double, 3);
41 
43 
46  vtkSetMacro(ScaleFactor, double);
47  vtkGetMacro(ScaleFactor, double);
49 
51 
54  vtkSetMacro(Symmetric, vtkTypeBool);
55  vtkGetMacro(Symmetric, vtkTypeBool);
56  vtkBooleanMacro(Symmetric, vtkTypeBool);
58 
60 
63  vtkSetMacro(ComputeNormals, vtkTypeBool);
64  vtkGetMacro(ComputeNormals, vtkTypeBool);
65  vtkBooleanMacro(ComputeNormals, vtkTypeBool);
67 
68 protected:
69  vtkAxes();
70  ~vtkAxes() override = default;
71 
73  // This source does not know how to generate pieces yet.
74  int ComputeDivisionExtents(vtkDataObject* output, int idx, int numDivisions);
75 
76  double Origin[3];
77  double ScaleFactor;
78 
81 
82 private:
83  vtkAxes(const vtkAxes&) = delete;
84  void operator=(const vtkAxes&) = delete;
85 };
86 
87 VTK_ABI_NAMESPACE_END
88 #endif
Store vtkAlgorithm input/output information.
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
vtkTypeBool Symmetric
Definition: vtkAxes.h:79
create an x-y-z axes
Definition: vtkAxes.h:26
double ScaleFactor
Definition: vtkAxes.h:77
static vtkPolyDataAlgorithm * New()
int vtkTypeBool
Definition: vtkABI.h:64
Superclass for algorithms that produce only polydata as output.
a simple class to control print indentation
Definition: vtkIndent.h:28
Store zero or more vtkInformation instances.
vtkTypeBool ComputeNormals
Definition: vtkAxes.h:80
general representation of visualization data
Definition: vtkDataObject.h:54
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.