mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Fault reactivation (#10624)
Update result to generate well paths based on information from model generator. Store settings in JSON file. Add method to access local coordinate system definition
This commit is contained in:
@@ -67,6 +67,14 @@ void RigBasicPlane::setPlane( cvf::Vec3d anchorPoint, cvf::Vec3d normal )
|
||||
m_planeNormal = normal;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
cvf::Vec3d RigBasicPlane::normal() const
|
||||
{
|
||||
return m_planeNormal;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
@@ -53,6 +53,7 @@ public:
|
||||
|
||||
double maxDepth();
|
||||
std::pair<cvf::Vec3d, cvf::Vec3d> intersectTopBottomLine();
|
||||
cvf::Vec3d normal() const;
|
||||
|
||||
cvf::Vec3dArray rect() const;
|
||||
cvf::ref<cvf::TextureImage> texture() const;
|
||||
|
||||
@@ -270,6 +270,14 @@ void RigFaultReactivationModel::updateRects()
|
||||
generateGrids( points );
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
cvf::Vec3d RigFaultReactivationModel::normal() const
|
||||
{
|
||||
return m_planeNormal;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
@@ -84,6 +84,8 @@ public:
|
||||
|
||||
void updateRects();
|
||||
|
||||
cvf::Vec3d normal() const;
|
||||
|
||||
void setPartColors( cvf::Color3f part1Color, cvf::Color3f part2Color );
|
||||
std::vector<cvf::Vec3d> rect( ModelParts part ) const;
|
||||
cvf::ref<cvf::TextureImage> texture( ModelParts part ) const;
|
||||
|
||||
Reference in New Issue
Block a user