VTK
vtkStripper.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkStripper.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 =========================================================================*/
63 #ifndef vtkStripper_h
64 #define vtkStripper_h
65 
66 #include "vtkFiltersCoreModule.h" // For export macro
67 #include "vtkPolyDataAlgorithm.h"
68 
69 class VTKFILTERSCORE_EXPORT vtkStripper : public vtkPolyDataAlgorithm
70 {
71 public:
73  void PrintSelf(ostream& os, vtkIndent indent) override;
74 
78  static vtkStripper *New();
79 
81 
85  vtkSetClampMacro(MaximumLength,int,4,100000);
86  vtkGetMacro(MaximumLength,int);
88 
90 
94  vtkBooleanMacro(PassCellDataAsFieldData, int);
95  vtkSetMacro(PassCellDataAsFieldData, int);
96  vtkGetMacro(PassCellDataAsFieldData, int);
98 
100 
106  vtkSetMacro(PassThroughCellIds,int);
107  vtkGetMacro(PassThroughCellIds,int);
108  vtkBooleanMacro(PassThroughCellIds,int);
110 
112 
118  vtkSetMacro(PassThroughPointIds,int);
119  vtkGetMacro(PassThroughPointIds,int);
120  vtkBooleanMacro(PassThroughPointIds,int);
122 
124 
129  vtkSetMacro(JoinContiguousSegments,int);
130  vtkGetMacro(JoinContiguousSegments,int);
131  vtkBooleanMacro(JoinContiguousSegments,int);
133 
134 protected:
135  vtkStripper();
136  ~vtkStripper() override {}
137 
138  // Usual data generation method
140 
146 
147 private:
148  vtkStripper(const vtkStripper&) = delete;
149  void operator=(const vtkStripper&) = delete;
150 };
151 
152 #endif
~vtkStripper() override
Definition: vtkStripper.h:136
Store vtkAlgorithm input/output information.
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
int JoinContiguousSegments
Definition: vtkStripper.h:145
int MaximumLength
Definition: vtkStripper.h:141
static vtkPolyDataAlgorithm * New()
create triangle strips and/or poly-lines
Definition: vtkStripper.h:69
int PassThroughPointIds
Definition: vtkStripper.h:144
int PassCellDataAsFieldData
Definition: vtkStripper.h:142
Superclass for algorithms that produce only polydata as output.
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
int PassThroughCellIds
Definition: vtkStripper.h:143
Store zero or more vtkInformation instances.
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.