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