]> SALOME platform Git repositories - modules/paravis.git/blob - src/Plugins/MedReader/IO/vtkMedSupportMesh.cxx
Salome HOME
e54973f98ea1bc1c0bb821cded7e726252e7c642
[modules/paravis.git] / src / Plugins / MedReader / IO / vtkMedSupportMesh.cxx
1 #include "vtkMedSupportMesh.h"
2
3 #include "vtkObjectFactory.h"
4 #include "vtkMedUtilities.h"
5 #include "vtkMedFile.h"
6
7 #include "vtkStringArray.h"
8
9 #include <map>
10 #include <string>
11 #include <vector>
12 using namespace std;
13
14 vtkCxxSetObjectMacro(vtkMedSupportMesh, ParentFile, vtkMedFile);
15
16 // vtkCxxRevisionMacro(vtkMedSupportMesh, "$Revision$")
17 vtkStandardNewMacro(vtkMedSupportMesh)
18
19 vtkMedSupportMesh::vtkMedSupportMesh()
20 {
21   this->MedIterator = -1;
22   this->Name = NULL;
23   this->ParentFile = NULL;
24   this->AxisName = vtkStringArray::New();
25   this->AxisUnit = vtkStringArray::New();
26   this->Description = NULL;
27   this->AxisType = MED_UNDEF_AXIS_TYPE;
28   this->SpaceDimension = 0;
29   this->MeshDimension = 0;
30 }
31
32 vtkMedSupportMesh::~vtkMedSupportMesh()
33 {
34   this->SetName(NULL);
35   this->SetDescription(NULL);
36   this->SetParentFile(NULL);
37   this->AxisName->Delete();
38   this->AxisUnit->Delete();
39 }
40
41 void vtkMedSupportMesh::PrintSelf(ostream& os, vtkIndent indent)
42 {
43   this->Superclass::PrintSelf(os, indent);
44 }