VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Filtering
vtkMultiPieceDataSet.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkMultiPieceDataSet.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 __vtkMultiPieceDataSet_h
36
#define __vtkMultiPieceDataSet_h
37
38
#include "
vtkCompositeDataSet.h
"
39
40
class
vtkDataSet
;
41
class
VTK_FILTERING_EXPORT
vtkMultiPieceDataSet
:
public
vtkCompositeDataSet
42
{
43
public
:
44
static
vtkMultiPieceDataSet
*
New
();
45
vtkTypeMacro(
vtkMultiPieceDataSet
,
vtkCompositeDataSet
);
46
void
PrintSelf
(ostream& os,
vtkIndent
indent);
47
49
virtual
int
GetDataObjectType
() {
return
VTK_MULTIPIECE_DATA_SET
;}
50
54
void
SetNumberOfPieces(
unsigned
int
numpieces);
55
57
unsigned
int
GetNumberOfPieces();
58
60
61
vtkDataSet
* GetPiece(
unsigned
int
pieceno);
62
vtkDataObject
* GetPieceAsDataObject(
unsigned
int
pieceno);
64
67
void
SetPiece(
unsigned
int
pieceno,
vtkDataObject
* piece);
68
70
71
int
HasMetaData
(
unsigned
int
piece)
72
{
return
this->Superclass::HasChildMetaData(piece); }
74
76
79
vtkInformation
*
GetMetaData
(
unsigned
int
pieceno)
80
{
return
this->Superclass::GetChildMetaData(pieceno); }
82
83
//BTX
85
86
static
vtkMultiPieceDataSet
*
GetData
(
vtkInformation
*
info
);
87
static
vtkMultiPieceDataSet
*
GetData
(
vtkInformationVector
* v,
int
i=0);
88
//ETX
90
92
93
virtual
vtkInformation
*
GetMetaData
(
vtkCompositeDataIterator
* iter)
94
{
return
this->Superclass::GetMetaData(iter); }
96
98
99
virtual
int
HasMetaData
(
vtkCompositeDataIterator
* iter)
100
{
return
this->Superclass::HasMetaData(iter); }
102
103
//BTX
104
protected
:
105
vtkMultiPieceDataSet
();
106
~
vtkMultiPieceDataSet
();
107
108
private
:
109
vtkMultiPieceDataSet
(
const
vtkMultiPieceDataSet
&);
// Not implemented.
110
void
operator=(
const
vtkMultiPieceDataSet
&);
// Not implemented.
111
//ETX
112
};
113
114
#endif
115
116
Generated on Thu Mar 13 2014 08:09:55 for VTK by
1.8.1.2