VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Filters
General
vtkPolyDataStreamer.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkPolyDataStreamer.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
=========================================================================*/
35
#ifndef __vtkPolyDataStreamer_h
36
#define __vtkPolyDataStreamer_h
37
38
#include "vtkFiltersGeneralModule.h"
// For export macro
39
#include "
vtkStreamerBase.h
"
40
41
class
vtkAppendPolyData
;
42
43
class
VTKFILTERSGENERAL_EXPORT
vtkPolyDataStreamer
:
public
vtkStreamerBase
44
{
45
public
:
46
static
vtkPolyDataStreamer
*
New
();
47
48
vtkTypeMacro(
vtkPolyDataStreamer
,
vtkStreamerBase
);
49
void
PrintSelf
(ostream& os,
vtkIndent
indent);
50
52
53
void
SetNumberOfStreamDivisions(
int
num);
54
int
GetNumberOfStreamDivisions()
55
{
56
return
this->
NumberOfPasses
;
57
}
59
61
63
vtkSetMacro(ColorByPiece,
int
);
64
vtkGetMacro(ColorByPiece,
int
);
65
vtkBooleanMacro(ColorByPiece,
int
);
67
68
69
protected
:
70
vtkPolyDataStreamer
();
71
~
vtkPolyDataStreamer
();
72
73
// see algorithm for more info
74
virtual
int
FillOutputPortInformation
(
int
port
,
vtkInformation
*
info
);
75
virtual
int
FillInputPortInformation
(
int
port
,
vtkInformation
*
info
);
76
77
int
RequestUpdateExtent
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*);
78
79
virtual
int
ExecutePass
(
vtkInformationVector
**inputVector,
80
vtkInformationVector
*outputVector);
81
82
virtual
int
PostExecute
(
vtkInformationVector
**inputVector,
83
vtkInformationVector
*outputVector);
84
85
int
ColorByPiece
;
86
private
:
87
vtkPolyDataStreamer
(
const
vtkPolyDataStreamer
&);
// Not implemented.
88
void
operator=(
const
vtkPolyDataStreamer
&);
// Not implemented.
89
90
vtkAppendPolyData
* Append;
91
};
92
93
#endif
Generated on Thu May 24 2012 22:22:15 for VTK by
1.8.1