-
- typedef gp_XYZ AltitudePoint;
- typedef NCollection_Sequence<AltitudePoint> AltitudePoints;
+ struct AltitudePoint
+ {
+ AltitudePoint( double x=0, double y=0, double z=0 ) { X=x; Y=y; Z=z; }
+ double X;
+ double Y;
+ double Z;
+ };
+ typedef std::vector<AltitudePoint> AltitudePoints;
DataTag_First = HYDROData_IAltitudeObject::DataTag_First + 100, ///< first tag, to reserve
DataTag_AltitudePoints, ///< altitude points, array of reals
DataTag_FilePath, ///< bathymetry imported file path
DataTag_First = HYDROData_IAltitudeObject::DataTag_First + 100, ///< first tag, to reserve
DataTag_AltitudePoints, ///< altitude points, array of reals
DataTag_FilePath, ///< bathymetry imported file path
+ HYDRODATA_EXPORT virtual HYDROData_QuadtreeNode* GetQuadtreeNodes() const;
+
+#ifndef LIGHT_MODE
+ HYDRODATA_EXPORT virtual vtkPolyData* GetVtkDelaunay2D() const;
+ //HYDRODATA_EXPORT bool interpolZtriangle(const gp_XY& point, vtkIdList* triangle, double* z);
+#endif
/**
* Returns uploaded bathymetry file path
*/
HYDRODATA_EXPORT TCollection_AsciiString GetFilePath() const;
/**
* Returns uploaded bathymetry file path
*/
HYDRODATA_EXPORT TCollection_AsciiString GetFilePath() const;
*/
bool importFromXYZFile( QFile& theFile,
AltitudePoints& thePoints ) const;
*/
bool importFromXYZFile( QFile& theFile,
AltitudePoints& thePoints ) const;
bool importFromASCFile( QFile& theFile,
AltitudePoints& thePoints ) const;
bool importFromASCFile( QFile& theFile,
AltitudePoints& thePoints ) const;