VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Graphics
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 "
vtkPolyDataAlgorithm.h
"
39
40
class
VTK_GRAPHICS_EXPORT
vtkPolyDataStreamer
:
public
vtkPolyDataAlgorithm
41
{
42
public
:
43
static
vtkPolyDataStreamer
*
New
();
44
45
vtkTypeMacro(
vtkPolyDataStreamer
,
vtkPolyDataAlgorithm
);
46
void
PrintSelf
(ostream& os,
vtkIndent
indent);
47
49
50
void
SetNumberOfStreamDivisions(
int
num);
51
vtkGetMacro(NumberOfStreamDivisions,
int
);
53
55
57
vtkSetMacro(ColorByPiece,
int
);
58
vtkGetMacro(ColorByPiece,
int
);
59
vtkBooleanMacro(ColorByPiece,
int
);
61
62
63
protected
:
64
vtkPolyDataStreamer
();
65
~
vtkPolyDataStreamer
();
66
67
// Append the pieces.
68
int
RequestData
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*);
69
int
RequestUpdateExtent
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*);
70
71
int
NumberOfStreamDivisions
;
72
int
ColorByPiece
;
73
private
:
74
vtkPolyDataStreamer
(
const
vtkPolyDataStreamer
&);
// Not implemented.
75
void
operator=(
const
vtkPolyDataStreamer
&);
// Not implemented.
76
};
77
78
#endif
Generated on Sun Sep 9 2012 13:03:31 for VTK by
1.8.1.2