VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Filtering
vtkMultiBlockDataSet.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkMultiBlockDataSet.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
=========================================================================*/
44
#ifndef __vtkMultiBlockDataSet_h
45
#define __vtkMultiBlockDataSet_h
46
47
#include "
vtkCompositeDataSet.h
"
48
49
class
VTK_FILTERING_EXPORT
vtkMultiBlockDataSet
:
public
vtkCompositeDataSet
50
{
51
public
:
52
static
vtkMultiBlockDataSet
*
New
();
53
vtkTypeMacro(
vtkMultiBlockDataSet
,
vtkCompositeDataSet
);
54
void
PrintSelf
(ostream& os,
vtkIndent
indent);
55
57
virtual
int
GetDataObjectType
() {
return
VTK_MULTIBLOCK_DATA_SET
;}
58
62
void
SetNumberOfBlocks(
unsigned
int
numBlocks);
63
65
unsigned
int
GetNumberOfBlocks();
66
70
vtkDataObject
* GetBlock(
unsigned
int
blockno);
71
74
void
SetBlock(
unsigned
int
blockno,
vtkDataObject
* block);
75
77
void
RemoveBlock(
unsigned
int
blockno);
78
80
81
int
HasMetaData
(
unsigned
int
blockno)
82
{
return
this->Superclass::HasChildMetaData(blockno); }
84
86
89
vtkInformation
*
GetMetaData
(
unsigned
int
blockno)
90
{
return
this->Superclass::GetChildMetaData(blockno); }
92
93
//BTX
95
96
static
vtkMultiBlockDataSet
*
GetData
(
vtkInformation
*
info
);
97
static
vtkMultiBlockDataSet
*
GetData
(
vtkInformationVector
* v,
int
i=0);
98
//ETX
100
102
103
virtual
vtkInformation
*
GetMetaData
(
vtkCompositeDataIterator
* iter)
104
{
return
this->Superclass::GetMetaData(iter); }
106
108
109
virtual
int
HasMetaData
(
vtkCompositeDataIterator
* iter)
110
{
return
this->Superclass::HasMetaData(iter); }
112
113
//BTX
114
protected
:
115
vtkMultiBlockDataSet
();
116
~
vtkMultiBlockDataSet
();
117
118
private
:
119
vtkMultiBlockDataSet
(
const
vtkMultiBlockDataSet
&);
// Not implemented.
120
void
operator=(
const
vtkMultiBlockDataSet
&);
// Not implemented.
121
//ETX
122
};
123
124
#endif
125
126
Generated on Thu Mar 13 2014 08:09:55 for VTK by
1.8.1.2