Evita
0.16
Main Page
Classes
Files
File List
File Members
evWaveletTransformCollection.h
Go to the documentation of this file.
1
/*
2
*
3
* EVITA: Efficient Visualization of Terascale Datasets
4
* Copyright (C) 2000-2016 Team Evita
5
*
6
* This library is free software; you can redistribute it and/or
7
* modify it under the terms of the GNU Library General Public
8
* License as published by the Free Software Foundation; either
9
* version 2 of the License, or (at your option) any later version.
10
*
11
* This library is distributed in the hope that it will be useful,
12
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14
* Library General Public License for more details.
15
*
16
* You should have received a copy of the GNU Library General Public
17
* License along with this library; if not, write to the
18
* Free Software Foundation, Inc., 675 Mass Ave, Cambridge,
19
* MA 02139, USA.
20
*
21
*/
22
23
24
#ifndef __evWaveletTransformCollection_h
25
#define __evWaveletTransformCollection_h
26
27
28
#include "
evWaveletTransform.h
"
29
30
31
class
evWaveletTransformCollection
:
public
evDataObject
32
{
33
public
:
34
evWaveletTransformCollection
(
void
);
35
virtual
~evWaveletTransformCollection
(
void
);
36
37
virtual
const
evString
GetClassName
(
void
)
const
38
{
39
return
(
evString
(
"evWaveletTransformCollection"
));
40
}
41
42
unsigned
int
GetNumTransforms
(
void
)
const
;
43
44
void
AddTransform
(
const
evWaveletTransform
&transform);
45
void
AddTransform
(
const
evWaveletTransform
&transform,
46
const
unsigned
int
num_copies);
47
const
evWaveletTransform
&
operator []
(
const
unsigned
int
index)
const
;
48
49
protected
:
50
51
private
:
52
typedef
const
evWaveletTransform
*
evWaveletTransformPtr
;
53
std::vector<evWaveletTransformPtr>
Transforms
;
54
};
55
56
57
inline
evWaveletTransformCollection::evWaveletTransformCollection
(
void
)
58
{
59
}
60
61
62
inline
evWaveletTransformCollection::~evWaveletTransformCollection
(
void
)
63
{
64
}
65
66
67
inline
unsigned
int
evWaveletTransformCollection::GetNumTransforms
(
void
)
const
68
{
69
return
(this->
Transforms
.size());
70
}
71
72
73
inline
void
evWaveletTransformCollection::AddTransform
(
const
74
evWaveletTransform
75
&transform)
76
{
77
this->
Transforms
.push_back((
evWaveletTransformPtr
)(&transform));
78
}
79
80
81
inline
void
evWaveletTransformCollection::AddTransform
(
const
82
evWaveletTransform
83
&transform,
84
const
unsigned
int
85
num_copies)
86
{
87
this->
Transforms
.insert(this->
Transforms
.end(),
88
num_copies,
89
(
evWaveletTransformPtr
)(&transform));
90
}
91
92
93
inline
const
evWaveletTransform
94
&
evWaveletTransformCollection::operator []
(
const
unsigned
int
index)
const
95
{
96
return
(*(this->
Transforms
[index]));
97
}
98
99
100
#endif
evWaveletTransformCollection::evWaveletTransformCollection
evWaveletTransformCollection(void)
Definition:
evWaveletTransformCollection.h:57
evWaveletTransformCollection::evWaveletTransformPtr
const evWaveletTransform * evWaveletTransformPtr
Definition:
evWaveletTransformCollection.h:52
evWaveletTransform
Definition:
evWaveletTransform.h:33
evWaveletTransformCollection::AddTransform
void AddTransform(const evWaveletTransform &transform)
Definition:
evWaveletTransformCollection.h:73
evWaveletTransformCollection::Transforms
std::vector< evWaveletTransformPtr > Transforms
Definition:
evWaveletTransformCollection.h:53
evWaveletTransformCollection::~evWaveletTransformCollection
virtual ~evWaveletTransformCollection(void)
Definition:
evWaveletTransformCollection.h:62
evDataObject
Definition:
evDataObject.h:31
evWaveletTransformCollection::GetClassName
virtual const evString GetClassName(void) const
Definition:
evWaveletTransformCollection.h:37
evWaveletTransformCollection
Definition:
evWaveletTransformCollection.h:31
evWaveletTransformCollection::operator[]
const evWaveletTransform & operator[](const unsigned int index) const
Definition:
evWaveletTransformCollection.h:94
evWaveletTransform.h
evString
Definition:
evString.h:30
evWaveletTransformCollection::GetNumTransforms
unsigned int GetNumTransforms(void) const
Definition:
evWaveletTransformCollection.h:67
Generated by
1.8.11