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, vtkTypeBool);
95  vtkSetMacro(PassCellDataAsFieldData, vtkTypeBool);
96  vtkGetMacro(PassCellDataAsFieldData, vtkTypeBool);
98 
100 
106  vtkSetMacro(PassThroughCellIds,vtkTypeBool);
107  vtkGetMacro(PassThroughCellIds,vtkTypeBool);
108  vtkBooleanMacro(PassThroughCellIds,vtkTypeBool);
110 
112 
118  vtkSetMacro(PassThroughPointIds,vtkTypeBool);
119  vtkGetMacro(PassThroughPointIds,vtkTypeBool);
120  vtkBooleanMacro(PassThroughPointIds,vtkTypeBool);
122 
124 
129  vtkSetMacro(JoinContiguousSegments,vtkTypeBool);
130  vtkGetMacro(JoinContiguousSegments,vtkTypeBool);
131  vtkBooleanMacro(JoinContiguousSegments,vtkTypeBool);
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
vtkTypeBool PassThroughCellIds
Definition: vtkStripper.h:143
Store vtkAlgorithm input/output information.
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
vtkTypeBool JoinContiguousSegments
Definition: vtkStripper.h:145
int MaximumLength
Definition: vtkStripper.h:141
static vtkPolyDataAlgorithm * New()
int vtkTypeBool
Definition: vtkABI.h:69
vtkTypeBool PassThroughPointIds
Definition: vtkStripper.h:144
create triangle strips and/or poly-lines
Definition: vtkStripper.h:69
Superclass for algorithms that produce only polydata as output.
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkTypeBool PassCellDataAsFieldData
Definition: vtkStripper.h:142
Store zero or more vtkInformation instances.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.