VTK  9.0.1
vtkPOutlineCornerFilter.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkPOutlineCornerFilter.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 =========================================================================*/
25 #ifndef vtkPOutlineCornerFilter_h
26 #define vtkPOutlineCornerFilter_h
27 
28 #include "vtkFiltersParallelModule.h" // For export macro
29 #include "vtkPolyDataAlgorithm.h"
32 class vtkAppendPolyData;
34 
35 class VTKFILTERSPARALLEL_EXPORT vtkPOutlineCornerFilter : public vtkPolyDataAlgorithm
36 {
37 public:
39  void PrintSelf(ostream& os, vtkIndent indent) override;
40 
45 
53  virtual void SetCornerFactor(double cornerFactor);
54  virtual double GetCornerFactorMinValue() { return 0.001; }
55  virtual double GetCornerFactorMaxValue() { return 0.5; }
56 
57  vtkGetMacro(CornerFactor, double);
58 
60 
64  vtkGetObjectMacro(Controller, vtkMultiProcessController);
66 
67 protected:
70 
75 
76  double CornerFactor;
77 
78 private:
80  void operator=(const vtkPOutlineCornerFilter&) = delete;
81 
82  vtkPOutlineFilterInternals* Internals;
83 };
84 
85 #endif
appends one or more polygonal datasets together
a simple class to control print indentation
Definition: vtkIndent.h:34
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Multiprocessing communication superclass.
create wireframe outline corners around bounding box
create wireframe outline corners for arbitrary data set
virtual double GetCornerFactorMaxValue()
virtual void SetCornerFactor(double cornerFactor)
Set/Get the factor that controls the relative size of the corners to the length of the corresponding ...
static vtkPOutlineCornerFilter * New()
Construct outline corner filter with default corner factor = 0.2.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual void SetController(vtkMultiProcessController *)
Set and get the controller.
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
virtual double GetCornerFactorMinValue()
vtkMultiProcessController * Controller
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
~vtkPOutlineCornerFilter() override
vtkOutlineCornerSource * OutlineCornerSource
create wireframe outline (or corners) for arbitrary data set
Superclass for algorithms that produce only polydata as output.
@ info
Definition: vtkX3D.h:382
@ port
Definition: vtkX3D.h:453