Salome HOME
Merge from V6_main 01/04/2013
[modules/paravis.git] / src / Plugins / MedReader / IO / vtkMedFilter.cxx
1 // Copyright (C) 2010-2013  CEA/DEN, EDF R&D
2 //
3 // This library is free software; you can redistribute it and/or
4 // modify it under the terms of the GNU Lesser General Public
5 // License as published by the Free Software Foundation; either
6 // version 2.1 of the License.
7 //
8 // This library is distributed in the hope that it will be useful,
9 // but WITHOUT ANY WARRANTY; without even the implied warranty of
10 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
11 // Lesser General Public License for more details.
12 //
13 // You should have received a copy of the GNU Lesser General Public
14 // License along with this library; if not, write to the Free Software
15 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
16 //
17 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
18 //
19
20 #include "vtkMedFilter.h"
21
22 #include "vtkObjectFactory.h"
23
24 // vtkCxxRevisionMacro(vtkMedFilter, "$Revision$")
25 vtkStandardNewMacro(vtkMedFilter)
26
27 vtkMedFilter::vtkMedFilter()
28 {
29   _start = 0;
30   _stride = 0;
31   _count = 0;
32   _blocksize = 0;
33   _lastblocksize = 0;
34 }
35
36 vtkMedFilter::~vtkMedFilter()
37 {
38 }
39
40 void vtkMedFilter::SetFilterSizes( int start, int stride,
41     int count, int blocksize, int lastblocksize )
42 {
43   _start = start;
44   _stride = stride;
45   _count = count;
46   _blocksize = blocksize;
47   _lastblocksize = lastblocksize;
48 }
49
50 void vtkMedFilter::GetFilterSizes( int& start, int& stride,
51     int& count, int& blocksize, int& lastblocksize )
52 {
53   start = _start;
54   stride = _stride;
55   count = _count;
56   blocksize = _blocksize;
57   lastblocksize = _lastblocksize;
58 }
59
60 void vtkMedFilter::PrintSelf(ostream& os, vtkIndent indent)
61 {
62   this->Superclass::PrintSelf(os, indent);
63 }