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 =========================================================================*/
59 #ifndef __vtkStripper_h
60 #define __vtkStripper_h
61 
62 #include "vtkPolyDataAlgorithm.h"
63 
65 {
66 public:
68  void PrintSelf(ostream& os, vtkIndent indent);
69 
71  static vtkStripper *New();
72 
74 
76  vtkSetClampMacro(MaximumLength,int,4,100000);
77  vtkGetMacro(MaximumLength,int);
79 
81 
83  vtkBooleanMacro(PassCellDataAsFieldData, int);
84  vtkSetMacro(PassCellDataAsFieldData, int);
85  vtkGetMacro(PassCellDataAsFieldData, int);
87 
89 
93  vtkSetMacro(PassThroughCellIds,int);
94  vtkGetMacro(PassThroughCellIds,int);
95  vtkBooleanMacro(PassThroughCellIds,int);
97 
99 
103  vtkSetMacro(PassThroughPointIds,int);
104  vtkGetMacro(PassThroughPointIds,int);
105  vtkBooleanMacro(PassThroughPointIds,int);
107 
108 protected:
109  vtkStripper();
111 
112  // Usual data generation method
114 
119 
120 private:
121  vtkStripper(const vtkStripper&); // Not implemented.
122  void operator=(const vtkStripper&); // Not implemented.
123 };
124 
125 #endif
#define VTK_GRAPHICS_EXPORT
Store vtkAlgorithm input/output information.
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
int MaximumLength
Definition: vtkStripper.h:115
static vtkPolyDataAlgorithm * New()
void PrintSelf(ostream &os, vtkIndent indent)
create triangle strips and/or poly-lines
Definition: vtkStripper.h:64
int PassThroughPointIds
Definition: vtkStripper.h:118
int PassCellDataAsFieldData
Definition: vtkStripper.h:116
Superclass for algorithms that produce only polydata as output.
a simple class to control print indentation
Definition: vtkIndent.h:37
int PassThroughCellIds
Definition: vtkStripper.h:117
Store zero or more vtkInformation instances.