Evita  0.16
evAlphaField.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 __evAlphaField_h
25 #define __evAlphaField_h
26 
27 
28 #include "evField.h"
29 
30 
31 class evAlphaField : public evField<unsigned char>
32 {
33 public:
34  evAlphaField(void);
35  evAlphaField(const evAddress &size);
36  virtual ~evAlphaField(void)
37  { }
38 
39  virtual const evString GetClassName(void) const
40  {
41  return(evString("evAlphaField"));
42  }
43 
44 protected:
45 
46 private:
47 
48 };
49 
50 
52 {
53  this->Initialize();
54 }
55 
56 
58 {
59  this->Initialize();
60 
61  this->SetSize(size);
62 }
63 
64 
65 #endif
Definition: evAlphaField.h:31
virtual int SetSize(const evAddress &size, const bool allocate=true)
Definition: evAddress.h:37
virtual void Initialize(void)
virtual const evString GetClassName(void) const
Definition: evAlphaField.h:39
evAlphaField(void)
Definition: evAlphaField.h:51
Definition: evField.h:34
virtual ~evAlphaField(void)
Definition: evAlphaField.h:36
Definition: evString.h:30