VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Filtering
vtkTemporalDataSet.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkTemporalDataSet.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
=========================================================================*/
24
#ifndef __vtkTemporalDataSet_h
25
#define __vtkTemporalDataSet_h
26
27
#include "
vtkCompositeDataSet.h
"
28
29
class
vtkDataObject
;
30
31
class
VTK_FILTERING_EXPORT
vtkTemporalDataSet
:
public
vtkCompositeDataSet
32
{
33
public
:
34
static
vtkTemporalDataSet
*
New
();
35
36
vtkTypeMacro(
vtkTemporalDataSet
,
vtkCompositeDataSet
);
37
virtual
void
PrintSelf
(ostream& os,
vtkIndent
indent);
38
40
virtual
int
GetDataObjectType
() {
return
VTK_TEMPORAL_DATA_SET
;}
41
43
44
void
SetNumberOfTimeSteps
(
unsigned
int
numLevels)
45
{
46
this->
SetNumberOfChildren
(numLevels);
47
}
49
51
52
unsigned
int
GetNumberOfTimeSteps
()
53
{
54
return
this->
GetNumberOfChildren
();
55
}
57
59
void
SetTimeStep(
unsigned
int
timestep,
vtkDataObject
* dobj);
60
62
63
vtkDataObject
*
GetTimeStep
(
unsigned
int
timestep)
64
{
return
this->
GetChild
(timestep); }
66
68
69
vtkInformation
*
GetMetaData
(
unsigned
int
timestep)
70
{
return
this->Superclass::GetChildMetaData(timestep); }
72
74
75
int
HasMetaData
(
unsigned
int
timestep)
76
{
return
this->Superclass::HasChildMetaData(timestep); }
78
79
//BTX
81
82
static
vtkTemporalDataSet
*
GetData
(
vtkInformation
*
info
);
83
static
vtkTemporalDataSet
*
GetData
(
vtkInformationVector
* v,
int
i=0);
84
//ETX
86
88
virtual
int
GetExtentType
() {
return
VTK_TIME_EXTENT
; };
89
91
92
virtual
vtkInformation
*
GetMetaData
(
vtkCompositeDataIterator
* iter)
93
{
return
this->Superclass::GetMetaData(iter); }
95
96
98
99
virtual
int
HasMetaData
(
vtkCompositeDataIterator
* iter)
100
{
return
this->Superclass::HasMetaData(iter); }
102
103
protected
:
104
vtkTemporalDataSet
();
105
~
vtkTemporalDataSet
();
106
107
private
:
108
vtkTemporalDataSet
(
const
vtkTemporalDataSet
&);
// Not implemented.
109
void
operator=(
const
vtkTemporalDataSet
&);
// Not implemented.
110
};
111
112
#endif
113
Generated on Fri Aug 2 2013 12:19:48 for VTK by
1.8.4