VTK  9.2.6
vtkOutlineFilter.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkOutlineFilter.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=========================================================================*/
34
35#ifndef vtkOutlineFilter_h
36#define vtkOutlineFilter_h
37
38#include "vtkFiltersModelingModule.h" // For export macro
40
41class VTKFILTERSMODELING_EXPORT vtkOutlineFilter : public vtkPolyDataAlgorithm
42{
43public:
45
50 void PrintSelf(ostream& os, vtkIndent indent) override;
52
54
58 vtkBooleanMacro(GenerateFaces, vtkTypeBool);
61
69
71
81 vtkSetMacro(CompositeStyle, int);
82 vtkGetMacro(CompositeStyle, int);
88
90
97 void AddIndex(unsigned int index);
98 void RemoveIndex(unsigned int index);
101
103
108 vtkSetMacro(OutputPointsPrecision, int);
109 vtkGetMacro(OutputPointsPrecision, int);
111
112protected:
115
119
120 class vtkIndexSet;
121 vtkIndexSet* Indices;
122
123 void AppendOutline(vtkPoints* pts, vtkCellArray* lines, vtkCellArray* faces, double bds[6]);
124
126 int FillInputPortInformation(int port, vtkInformation* info) override;
127
128private:
129 vtkOutlineFilter(const vtkOutlineFilter&) = delete;
130 void operator=(const vtkOutlineFilter&) = delete;
131};
132
133#endif
object to represent cell connectivity
a simple class to control print indentation
Definition vtkIndent.h:34
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
void SetCompositeStyleToRootAndLeafs()
Specify a style for creating bounding boxes around input composite datasets.
void RemoveAllIndices()
If the composite style is set to SpecifiedIndex, then one or more flat indices can be specified,...
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
virtual void SetCompositeStyle(int)
Specify a style for creating bounding boxes around input composite datasets.
void SetCompositeStyleToLeafs()
Specify a style for creating bounding boxes around input composite datasets.
void RemoveIndex(unsigned int index)
If the composite style is set to SpecifiedIndex, then one or more flat indices can be specified,...
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
void AppendOutline(vtkPoints *pts, vtkCellArray *lines, vtkCellArray *faces, double bds[6])
void SetCompositeStyleToSpecifiedIndex()
Specify a style for creating bounding boxes around input composite datasets.
void AddIndex(unsigned int index)
If the composite style is set to SpecifiedIndex, then one or more flat indices can be specified,...
~vtkOutlineFilter() override
static vtkOutlineFilter * New()
Standard methods for instantiation.
vtkTypeBool GenerateFaces
vtkIndexSet * Indices
void PrintSelf(ostream &os, vtkIndent indent) override
Standard methods for instantiation.
void SetCompositeStyleToRoot()
Specify a style for creating bounding boxes around input composite datasets.
represent and manipulate 3D points
Definition vtkPoints.h:34
int vtkTypeBool
Definition vtkABI.h:69