VTK
vtkArcSource.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkArcSource.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 =========================================================================*/
23 #ifndef __vtkArcSource_h
24 #define __vtkArcSource_h
25 
26 #include "vtkPolyDataAlgorithm.h"
27 
29 {
30 public:
31  static vtkArcSource *New();
33  void PrintSelf(ostream& os, vtkIndent indent);
34 
36 
37  vtkSetVector3Macro(Point1,double);
38  vtkGetVectorMacro(Point1,double,3);
40 
42 
43  vtkSetVector3Macro(Point2,double);
44  vtkGetVectorMacro(Point2,double,3);
46 
48 
51  vtkSetVector3Macro(Center,double);
52  vtkGetVectorMacro(Center,double,3);
54 
56 
58  vtkSetClampMacro(Resolution,int,1,VTK_LARGE_INTEGER);
59  vtkGetMacro(Resolution,int);
61 
63 
65  vtkSetMacro(Negative, bool);
66  vtkGetMacro(Negative, bool);
67  vtkBooleanMacro(Negative, bool);
69 
70 protected:
71  vtkArcSource(int res=1);
73 
76  double Point1[3];
77  double Point2[3];
78  double Center[3];
80  bool Negative;
81 
82 private:
83  vtkArcSource(const vtkArcSource&); // Not implemented.
84  void operator=(const vtkArcSource&); // Not implemented.
85 };
86 
87 #endif
88