VTK
vtkEllipseArcSource.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkEllipseArcSource.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=========================================================================*/
33#ifndef vtkEllipseArcSource_h
34#define vtkEllipseArcSource_h
35
36#include "vtkFiltersSourcesModule.h" // For export macro
38
39class VTKFILTERSSOURCES_EXPORT vtkEllipseArcSource : public vtkPolyDataAlgorithm
40{
41public:
44 void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
45
47
51 vtkSetVector3Macro(Center, double);
52 vtkGetVectorMacro(Center, double, 3);
54
56
60 vtkSetVector3Macro(Normal, double);
61 vtkGetVectorMacro(Normal, double, 3);
63
65
70 vtkSetVector3Macro(MajorRadiusVector, double);
71 vtkGetVectorMacro(MajorRadiusVector, double, 3);
73
75
79 vtkSetClampMacro(StartAngle, double, -360.0, 360.0);
80 vtkGetMacro(StartAngle, double);
82
84
88 vtkSetClampMacro(SegmentAngle, double, 0.0, 360.0);
89 vtkGetMacro(SegmentAngle, double);
91
93
98 vtkSetClampMacro(Resolution, int, 1, VTK_INT_MAX);
99 vtkGetMacro(Resolution, int);
101
103
109 vtkSetMacro(OutputPointsPrecision, int);
110 vtkGetMacro(OutputPointsPrecision, int);
112
114
119 vtkSetClampMacro(Ratio, double, 0.001, 100.0);
120 vtkGetMacro(Ratio, double);
122
123protected:
125 ~vtkEllipseArcSource() VTK_OVERRIDE {}
126
128 vtkInformationVector *) VTK_OVERRIDE;
129
130 double Center[3];
131 double Normal[3];
132 double MajorRadiusVector[3];
136 double Ratio;
138
139private:
140 vtkEllipseArcSource(const vtkEllipseArcSource&) VTK_DELETE_FUNCTION;
141 void operator=(const vtkEllipseArcSource&) VTK_DELETE_FUNCTION;
142};
143
144#endif
create an elliptical arc
static vtkEllipseArcSource * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
a simple class to control print indentation
Definition: vtkIndent.h:40
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Superclass for algorithms that produce only polydata as output.
@ Normal
Definition: vtkX3D.h:45
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
#define VTK_INT_MAX
Definition: vtkType.h:153