mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#4259 Implement mapaxes keyword with possibility to export in local coordinates
This commit is contained in:
@@ -94,11 +94,19 @@ public:
|
||||
bool isTempGrid() const override;
|
||||
const std::string& associatedWellPathName() const override;
|
||||
|
||||
void setUseMapAxes(bool useMapAxes);
|
||||
bool useMapAxes() const;
|
||||
void setMapAxes(const std::array<double, 6>& mapAxes);
|
||||
const std::array<double, 6>& mapAxes() const;
|
||||
std::array<float, 6> mapAxesF() const;
|
||||
|
||||
cvf::Mat4d mapAxisTransform() const;
|
||||
private:
|
||||
void initAllSubCellsMainGridCellIndex();
|
||||
void buildCellSearchTree();
|
||||
bool hasFaultWithName(const QString& name) const;
|
||||
|
||||
static std::array<double, 6> defaultMapAxes();
|
||||
private:
|
||||
std::vector<cvf::Vec3d> m_nodes; ///< Global vertex table
|
||||
std::vector<RigCell> m_cells; ///< Global array of all cells in the reservoir (including the ones in LGR's)
|
||||
@@ -116,5 +124,8 @@ private:
|
||||
|
||||
bool m_flipXAxis;
|
||||
bool m_flipYAxis;
|
||||
|
||||
bool m_useMapAxes;
|
||||
std::array<double, 6> m_mapAxes;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user