VTK  9.3.20240327
vtkPOutlineCornerFilter.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
13 #ifndef vtkPOutlineCornerFilter_h
14 #define vtkPOutlineCornerFilter_h
15 
16 #include "vtkFiltersParallelModule.h" // For export macro
17 #include "vtkPolyDataAlgorithm.h"
18 VTK_ABI_NAMESPACE_BEGIN
21 class vtkAppendPolyData;
23 
24 class VTKFILTERSPARALLEL_EXPORT vtkPOutlineCornerFilter : public vtkPolyDataAlgorithm
25 {
26 public:
28  void PrintSelf(ostream& os, vtkIndent indent) override;
29 
34 
42  virtual void SetCornerFactor(double cornerFactor);
43  virtual double GetCornerFactorMinValue() { return 0.001; }
44  virtual double GetCornerFactorMaxValue() { return 0.5; }
45 
46  vtkGetMacro(CornerFactor, double);
47 
49 
53  vtkGetObjectMacro(Controller, vtkMultiProcessController);
55 
56 protected:
59 
64 
65  double CornerFactor;
66 
67 private:
69  void operator=(const vtkPOutlineCornerFilter&) = delete;
70 
71  vtkPOutlineFilterInternals* Internals;
72 };
73 
74 VTK_ABI_NAMESPACE_END
75 #endif
appends one or more polygonal datasets together
a simple class to control print indentation
Definition: vtkIndent.h:108
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:376
@ port
Definition: vtkX3D.h:447