+ using MED::TVector;
+
+
+ //---------------------------------------------------------------
+ class VISU_CONVERTOR_EXPORT TStructuredId
+ {
+ vtkIdType myData[3];
+
+ public:
+ TStructuredId();
+
+ vtkIdType&
+ operator [] ( size_t theId );
+
+ const vtkIdType&
+ operator [] ( size_t theId ) const;
+
+ bool
+ operator == ( const TStructuredId& theId ) const;
+ };
+
+ typedef std::map<vtkIdType, TStructuredId> TObj2StructuredId;
+ typedef MED::SharedPtr<TObj2StructuredId> PObj2StructuredId;
+
+ struct TStructured;
+ typedef MED::SharedPtr<TStructured> PStructured;
+
+ struct VISU_CONVERTOR_EXPORT TStructured
+ {
+ TStructured():
+ myIsStructured(false),
+ myIsPolarType(true)
+ {}
+
+ //! Copys all information which should be sinchronized between two instances
+ virtual
+ void
+ CopyStructure(PStructured theStructured);
+
+ bool
+ IsStructured() const;
+
+ /*!
+ * Get structure of grille
+ * see also MED::TGrilleInfo::GetGrilleStructure
+ * see also MED::TGrilleInfo::GetNbIndexes
+ */
+ TStructuredId
+ GetStructure();
+
+ vtkIdType
+ GetStructureDim();
+
+ /*!
+ * Gets i,j,k by object id
+ * return -1, if not found
+ */
+ TStructuredId
+ GetIndexesOfNode(vtkIdType theNodeId);
+
+ /*!
+ * Gets object id by i,j,k
+ * return -1, if not found
+ */
+ vtkIdType
+ GetObjectIDByIndexes(TStructuredId theVec);