1 #ifndef __vtkMedSupportMesh_h_
2 #define __vtkMedSupportMesh_h_
6 #include "vtkMedSetGet.h"
11 class VTK_EXPORT vtkMedSupportMesh : public vtkObject
14 static vtkMedSupportMesh* New();
15 vtkTypeMacro(vtkMedSupportMesh, vtkObject)
16 void PrintSelf(ostream& os, vtkIndent indent);
19 // The iterator to identify this struct element model in the med file
20 vtkSetMacro(MedIterator, med_int);
21 vtkGetMacro(MedIterator, med_int);
24 // This is the name of this structural element model
25 vtkSetStringMacro(Name);
26 vtkGetStringMacro(Name);
29 // This is the dsecription of this structural element model
30 vtkSetStringMacro(Description);
31 vtkGetStringMacro(Description);
34 // The dimension of this support mesh lives in
35 vtkSetMacro(SpaceDimension, med_int);
36 vtkGetMacro(SpaceDimension, med_int);
39 // The dimension of this support mesh model
40 vtkSetMacro(MeshDimension, med_int);
41 vtkGetMacro(MeshDimension, med_int);;
44 // The dimension of this support mesh model
45 vtkSetMacro(AxisType, med_axis_type);
46 vtkGetMacro(AxisType, med_axis_type);;
49 // The file this support mesh is stored in.
50 virtual void SetParentFile(vtkMedFile*);
51 vtkGetObjectMacro(ParentFile, vtkMedFile);
54 // This array stores the units of the axis
55 vtkGetObjectMacro(AxisName, vtkStringArray);
58 // This array store the units of thi support mesh for each axis
59 vtkGetObjectMacro(AxisUnit, vtkStringArray);
63 virtual ~vtkMedSupportMesh();
66 med_int SpaceDimension;
67 med_int MeshDimension;
70 med_axis_type AxisType;
71 vtkStringArray *AxisName;
72 vtkStringArray *AxisUnit;
74 vtkMedFile* ParentFile;
77 vtkMedSupportMesh(const vtkMedSupportMesh&); // Not implemented.
78 void operator=(const vtkMedSupportMesh&); // Not implemented.
82 #endif //__vtkMedSupportMesh_h_