1 // Copyright (C) 2010-2014 CEA/DEN, EDF R&D
3 // This library is free software; you can redistribute it and/or
4 // modify it under the terms of the GNU Lesser General Public
5 // License as published by the Free Software Foundation; either
6 // version 2.1 of the License.
8 // This library is distributed in the hope that it will be useful,
9 // but WITHOUT ANY WARRANTY; without even the implied warranty of
10 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 // Lesser General Public License for more details.
13 // You should have received a copy of the GNU Lesser General Public
14 // License along with this library; if not, write to the Free Software
15 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
20 #ifndef __ElliplseBuilderFilter_h
21 #define __ElliplseBuilderFilter_h
23 #include <vtkMultiBlockDataSetAlgorithm.h>
26 class vtkDataObjectTreeIterator;
30 * Description of class: TODO
32 class vtkEllipseBuilderFilter : public vtkMultiBlockDataSetAlgorithm
35 /// Returns pointer on a new instance of the class
36 static vtkEllipseBuilderFilter* New();
38 vtkTypeMacro(vtkEllipseBuilderFilter, vtkMultiBlockDataSetAlgorithm);
40 /// Prints current state of the objects
41 virtual void PrintSelf(ostream& os, vtkIndent indent);
43 /// Set and Get methods for scale factor
44 vtkSetMacro(ScaleFactor, double);
45 vtkGetMacro(ScaleFactor, double);
47 virtual vtkStringArray* GetFieldList();
49 /// Set and Get methods for field of real part
50 vtkSetStringMacro(RealField);
51 vtkGetStringMacro(RealField);
53 /// Set and Get methods for field of imag part
54 vtkSetStringMacro(ImagField);
55 vtkGetStringMacro(ImagField);
57 /// Set and Get methods for start angle
58 vtkSetMacro(StartAngle, double);
59 vtkGetMacro(StartAngle, double);
61 /// Set and Get methods for end angle
62 vtkSetMacro(EndAngle, double);
63 vtkGetMacro(EndAngle, double);
65 /// Set and Get methods for resolution
66 vtkSetMacro(Resolution, int);
67 vtkGetMacro(Resolution, int);
69 /// Set and Get methods for axis
70 vtkSetMacro(Axis, int);
71 vtkGetMacro(Axis, int);
75 vtkEllipseBuilderFilter();
78 virtual ~vtkEllipseBuilderFilter();
80 /// A method which is called on filtering data
81 virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
82 virtual int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
84 vtkStringArray* FieldList;
95 /// Methods for copy of the filter: Not implemented
96 vtkEllipseBuilderFilter(const vtkEllipseBuilderFilter&); // Not implemented
97 void operator=(const vtkEllipseBuilderFilter&); // Not implemented