VTK  9.5.2
vtkSuperquadricSource.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
44
45#ifndef vtkSuperquadricSource_h
46#define vtkSuperquadricSource_h
47
48#include "vtkFiltersSourcesModule.h" // For export macro
50
51#define VTK_MAX_SUPERQUADRIC_RESOLUTION 1024
52#define VTK_MIN_SUPERQUADRIC_THICKNESS 1e-4
53#define VTK_MIN_SUPERQUADRIC_ROUNDNESS 1e-24
54
55VTK_ABI_NAMESPACE_BEGIN
56class VTKFILTERSSOURCES_EXPORT vtkSuperquadricSource : public vtkPolyDataAlgorithm
57{
58public:
65
67 void PrintSelf(ostream& os, vtkIndent indent) override;
68
70
73 vtkSetVector3Macro(Center, double);
74 vtkGetVectorMacro(Center, double, 3);
76
78
81 vtkSetVector3Macro(Scale, double);
82 vtkGetVectorMacro(Scale, double, 3);
84
86
89 vtkGetMacro(