VTK
9.2.6
Main Page
Related Pages
Topics
Namespaces
Classes
Files
File List
File Members
Filters
Core
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
=========================================================================*/
66
#ifndef vtkStripper_h
67
#define vtkStripper_h
68
69
#include "vtkFiltersCoreModule.h"
// For export macro
70
#include "
vtkPolyDataAlgorithm.h
"
71
72
class
VTKFILTERSCORE_EXPORT
vtkStripper
:
public
vtkPolyDataAlgorithm
73
{
74
public
:
75
vtkTypeMacro(
vtkStripper
,
vtkPolyDataAlgorithm
);
76
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
77
81
static
vtkStripper
*
New
();
82
84
88
vtkSetClampMacro(MaximumLength,
int
, 4, 100000);
89
vtkGetMacro(MaximumLength,
int
);
91
93
97
vtkBooleanMacro(PassCellDataAsFieldData,
vtkTypeBool
);
98
vtkSetMacro(PassCellDataAsFieldData,
vtkTypeBool
);
99
vtkGetMacro(PassCellDataAsFieldData,
vtkTypeBool
);
101
103
109
vtkSetMacro(PassThroughCellIds,
vtkTypeBool
);
110
vtkGetMacro(PassThroughCellIds,
vtkTypeBool
);
111
vtkBooleanMacro(PassThroughCellIds,
vtkTypeBool
);
113
115
121
vtkSetMacro(PassThroughPointIds,
vtkTypeBool
);
122
vtkGetMacro(PassThroughPointIds,
vtkTypeBool
);
123
vtkBooleanMacro(PassThroughPointIds,
vtkTypeBool
);
125
127
132
vtkSetMacro(JoinContiguousSegments,
vtkTypeBool
);
133
vtkGetMacro(JoinContiguousSegments,
vtkTypeBool
);
134
vtkBooleanMacro(JoinContiguousSegments,
vtkTypeBool
);
136
137
protected
:
138
vtkStripper
();
139
~vtkStripper
()
override
=
default
;
140
141
// Usual data generation method
142
int
RequestData
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*)
override
;
143
144
int
MaximumLength
;
145
vtkTypeBool
PassCellDataAsFieldData
;
146
vtkTypeBool
PassThroughCellIds
;
147
vtkTypeBool
PassThroughPointIds
;
148
vtkTypeBool
JoinContiguousSegments
;
149
150
private
:
151
vtkStripper
(
const
vtkStripper
&) =
delete
;
152
void
operator=(
const
vtkStripper
&) =
delete
;
153
};
154
155
#endif
vtkIndent
a simple class to control print indentation
Definition
vtkIndent.h:40
vtkInformationVector
Store zero or more vtkInformation instances.
Definition
vtkInformationVector.h:42
vtkInformation
Store vtkAlgorithm input/output information.
Definition
vtkInformation.h:74
vtkPolyDataAlgorithm
Superclass for algorithms that produce only polydata as output.
Definition
vtkPolyDataAlgorithm.h:45
vtkStripper
create triangle strips and/or poly-lines
Definition
vtkStripper.h:73
vtkStripper::PassThroughPointIds
vtkTypeBool PassThroughPointIds
Definition
vtkStripper.h:147
vtkStripper::vtkStripper
vtkStripper()
vtkStripper::JoinContiguousSegments
vtkTypeBool JoinContiguousSegments
Definition
vtkStripper.h:148
vtkStripper::~vtkStripper
~vtkStripper() override=default
vtkStripper::New
static vtkStripper * New()
Construct object with MaximumLength set to 1000.
vtkStripper::PassThroughCellIds
vtkTypeBool PassThroughCellIds
Definition
vtkStripper.h:146
vtkStripper::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkStripper::RequestData
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
vtkStripper::PassCellDataAsFieldData
vtkTypeBool PassCellDataAsFieldData
Definition
vtkStripper.h:145
vtkStripper::MaximumLength
int MaximumLength
Definition
vtkStripper.h:144
vtkTypeBool
int vtkTypeBool
Definition
vtkABI.h:69
vtkPolyDataAlgorithm.h
Generated on Tue Dec 17 2024 00:00:00 for VTK by
1.12.0