VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Graphics
vtkExtractBlock.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkExtractBlock.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
=========================================================================*/
29
#ifndef __vtkExtractBlock_h
30
#define __vtkExtractBlock_h
31
32
#include "
vtkMultiBlockDataSetAlgorithm.h
"
33
34
class
vtkCompositeDataIterator
;
35
class
vtkMultiPieceDataSet
;
36
37
class
VTK_GRAPHICS_EXPORT
vtkExtractBlock
:
public
vtkMultiBlockDataSetAlgorithm
38
{
39
public
:
40
static
vtkExtractBlock
*
New
();
41
vtkTypeMacro(
vtkExtractBlock
,
vtkMultiBlockDataSetAlgorithm
);
42
void
PrintSelf
(ostream& os,
vtkIndent
indent);
43
45
50
void
AddIndex(
unsigned
int
index
);
51
void
RemoveIndex(
unsigned
int
index
);
52
void
RemoveAllIndices();
54
56
58
vtkSetMacro(PruneOutput,
int
);
59
vtkGetMacro(PruneOutput,
int
);
60
vtkBooleanMacro(PruneOutput,
int
);
62
64
68
vtkSetMacro(MaintainStructure,
int
);
69
vtkGetMacro(MaintainStructure,
int
);
70
vtkBooleanMacro(MaintainStructure,
int
);
72
73
//BTX
74
protected
:
75
vtkExtractBlock
();
76
~
vtkExtractBlock
();
77
79
static
vtkInformationIntegerKey
* DONT_PRUNE();
80
82
virtual
int
RequestData
(
vtkInformation
*,
83
vtkInformationVector
**,
84
vtkInformationVector
*);
85
86
88
void
CopySubTree(
vtkCompositeDataIterator
* loc,
89
vtkMultiBlockDataSet
* output,
vtkMultiBlockDataSet
* input);
90
bool
Prune(
vtkMultiBlockDataSet
* mblock);
91
bool
Prune(
vtkMultiPieceDataSet
* mblock);
92
bool
Prune(
vtkDataObject
* mblock);
93
94
int
PruneOutput
;
95
int
MaintainStructure
;
96
private
:
97
vtkExtractBlock
(
const
vtkExtractBlock
&);
// Not implemented.
98
void
operator=(
const
vtkExtractBlock
&);
// Not implemented.
99
100
class
vtkSet;
101
vtkSet *Indices;
102
vtkSet *ActiveIndices;
103
//ETX
104
};
105
106
#endif
107
108
Generated on Fri Aug 2 2013 12:19:49 for VTK by
1.8.4