VTK  9.3.0
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
24
25VTK_ABI_NAMESPACE_BEGIN
26class VTKFILTERSGENERAL_EXPORT vtkAxes : public vtkPolyDataAlgorithm
27{
28public:
29 static vtkAxes* New();
30
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
68protected:
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];
78
81
82private:
83 vtkAxes(const vtkAxes&) = delete;
84 void operator=(const vtkAxes&) = delete;
85};
86
87VTK_ABI_NAMESPACE_END
88#endif
create an x-y-z axes
Definition vtkAxes.h:27
double ScaleFactor
Definition vtkAxes.h:77
static vtkAxes * New()
~vtkAxes() override=default
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int ComputeDivisionExtents(vtkDataObject *output, int idx, int numDivisions)
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
vtkTypeBool Symmetric
Definition vtkAxes.h:79
vtkTypeBool ComputeNormals
Definition vtkAxes.h:80
general representation of visualization data
a simple class to control print indentation
Definition vtkIndent.h:29
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Superclass for algorithms that produce only polydata as output.
int vtkTypeBool
Definition vtkABI.h:64