Merge pull request #8168 from OPM/intersection_displacement

GeoMech: Support showing displacements on intersections, too
This commit is contained in:
jonjenssen
2021-10-20 01:41:14 +02:00
committed by GitHub
parent 3fa59a9fc3
commit 059f30236b
8 changed files with 61 additions and 21 deletions

View File

@@ -44,11 +44,12 @@ public:
bool isPartEnabled( int partId ) const;
const std::vector<cvf::Vec3f> displacements( int partId ) const;
const std::vector<cvf::Vec3f>& displacements( int partId ) const;
void setCurrentDisplacementSettings( int currentTimeStep, bool showDisplacement, double scaleFactor );
bool isDisplacementsUsed() const;
int currentDisplacementTimeStep() const;
void setCurrentDisplacementSettings( int currentTimeStep, bool showDisplacement, double scaleFactor );
bool isDisplacementsUsed() const;
int currentDisplacementTimeStep() const;
double currentDisplacementScaleFactor() const;
std::vector<RimGeoMechPart*> parts() const;
@@ -61,4 +62,6 @@ private:
int m_currentDisplacementTimeStep;
double m_currentScaleFactor;
bool m_displacementsUsed;
std::vector<cvf::Vec3f> m_noDisplacements;
};