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 =========================================================================*/
62 #ifndef vtkStripper_h
63 #define vtkStripper_h
64 
65 #include "vtkFiltersCoreModule.h" // For export macro
66 #include "vtkPolyDataAlgorithm.h"
67 
69 {
70 public:
72  void PrintSelf(ostream& os, vtkIndent indent);
73 
75  static vtkStripper *New();
76 
78 
80  vtkSetClampMacro(MaximumLength,int,4,100000);
81  vtkGetMacro(MaximumLength,int);
83 
85 
87  vtkBooleanMacro(PassCellDataAsFieldData, int);
88  vtkSetMacro(PassCellDataAsFieldData, int);
89  vtkGetMacro(PassCellDataAsFieldData, int);
91 
93 
97  vtkSetMacro(PassThroughCellIds,int);
98  vtkGetMacro(PassThroughCellIds,int);
99  vtkBooleanMacro(PassThroughCellIds,int);
101 
103 
107  vtkSetMacro(PassThroughPointIds,int);
108  vtkGetMacro(PassThroughPointIds,int);
109  vtkBooleanMacro(PassThroughPointIds,int);
111 
112 protected:
113  vtkStripper();
115 
116  // Usual data generation method
118 
123 
124 private:
125  vtkStripper(const vtkStripper&); // Not implemented.
126  void operator=(const vtkStripper&); // Not implemented.
127 };
128 
129 #endif
Store vtkAlgorithm input/output information.
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
#define VTKFILTERSCORE_EXPORT
int MaximumLength
Definition: vtkStripper.h:119
static vtkPolyDataAlgorithm * New()
void PrintSelf(ostream &os, vtkIndent indent)
create triangle strips and/or poly-lines
Definition: vtkStripper.h:68
int PassThroughPointIds
Definition: vtkStripper.h:122
int PassCellDataAsFieldData
Definition: vtkStripper.h:120
Superclass for algorithms that produce only polydata as output.
a simple class to control print indentation
Definition: vtkIndent.h:38
int PassThroughCellIds
Definition: vtkStripper.h:121
Store zero or more vtkInformation instances.