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 =========================================================================*/
57 #ifndef vtkStripper_h
58 #define vtkStripper_h
59 
60 #include "vtkFiltersCoreModule.h" // For export macro
61 #include "vtkPolyDataAlgorithm.h"
62 
63 class VTKFILTERSCORE_EXPORT vtkStripper : public vtkPolyDataAlgorithm
64 {
65 public:
67  void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
68 
72  static vtkStripper *New();
73 
75 
79  vtkSetClampMacro(MaximumLength,int,4,100000);
80  vtkGetMacro(MaximumLength,int);
82 
84 
88  vtkBooleanMacro(PassCellDataAsFieldData, int);
89  vtkSetMacro(PassCellDataAsFieldData, int);
90  vtkGetMacro(PassCellDataAsFieldData, int);
92 
94 
100  vtkSetMacro(PassThroughCellIds,int);
101  vtkGetMacro(PassThroughCellIds,int);
102  vtkBooleanMacro(PassThroughCellIds,int);
104 
106 
112  vtkSetMacro(PassThroughPointIds,int);
113  vtkGetMacro(PassThroughPointIds,int);
114  vtkBooleanMacro(PassThroughPointIds,int);
116 
118 
123  vtkSetMacro(JoinContiguousSegments,int);
124  vtkGetMacro(JoinContiguousSegments,int);
125  vtkBooleanMacro(JoinContiguousSegments,int);
127 
128 protected:
129  vtkStripper();
130  ~vtkStripper() VTK_OVERRIDE {}
131 
132  // Usual data generation method
134 
140 
141 private:
142  vtkStripper(const vtkStripper&) VTK_DELETE_FUNCTION;
143  void operator=(const vtkStripper&) VTK_DELETE_FUNCTION;
144 };
145 
146 #endif
~vtkStripper() override
Definition: vtkStripper.h:130
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:139
int MaximumLength
Definition: vtkStripper.h:135
static vtkPolyDataAlgorithm * New()
create triangle strips and/or poly-lines
Definition: vtkStripper.h:63
int PassThroughPointIds
Definition: vtkStripper.h:138
int PassCellDataAsFieldData
Definition: vtkStripper.h:136
Superclass for algorithms that produce only polydata as output.
a simple class to control print indentation
Definition: vtkIndent.h:33
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
int PassThroughCellIds
Definition: vtkStripper.h:137
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.