Added flip X/Y-axis on RimCase, will invert the sign of coordinates for the given flip axis.

p4#: 21453
This commit is contained in:
Magne Sjaastad
2013-04-26 13:19:34 +02:00
parent 8ccd89d3d1
commit 4b8e30e649
9 changed files with 90 additions and 32 deletions

View File

@@ -53,6 +53,8 @@ public:
virtual cvf::Vec3d displayModelOffset() const;
void setDisplayModelOffset(cvf::Vec3d offset);
void setFlipAxis(bool flipXAxis, bool flipYAxis);
private:
void initAllSubGridsParentGridPointer();
void initAllSubCellsMainGridCellIndex();
@@ -64,5 +66,8 @@ private:
cvf::Collection<RigLocalGrid> m_localGrids; ///< List of all the LGR's in this reservoir
cvf::Vec3d m_displayModelOffset;
bool m_flipXAxis;
bool m_flipYAxis;
};