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
68
69class VTKFILTERSCORE_EXPORT vtkStripper : public vtkPolyDataAlgorithm
70{
71public:
73 void PrintSelf(ostream& os, vtkIndent indent) VTK_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
134protected:
136 ~vtkStripper() VTK_OVERRIDE {}
137
138 // Usual data generation method
140
146
147private:
148 vtkStripper(const vtkStripper&) VTK_DELETE_FUNCTION;
149 void operator=(const vtkStripper&) VTK_DELETE_FUNCTION;
150};
151
152#endif
a simple class to control print indentation
Definition: vtkIndent.h:40
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Superclass for algorithms that produce only polydata as output.
create triangle strips and/or poly-lines
Definition: vtkStripper.h:70
int PassCellDataAsFieldData
Definition: vtkStripper.h:142
int PassThroughPointIds
Definition: vtkStripper.h:144
static vtkStripper * New()
Construct object with MaximumLength set to 1000.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int PassThroughCellIds
Definition: vtkStripper.h:143
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
int JoinContiguousSegments
Definition: vtkStripper.h:145
int MaximumLength
Definition: vtkStripper.h:141
~vtkStripper() override
Definition: vtkStripper.h:136
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.