mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#4683 clang-format on all files in ApplicationCode
This commit is contained in:
@@ -1,117 +1,111 @@
|
||||
#include "RimWellPathTarget.h"
|
||||
#include "RimModeledWellPath.h"
|
||||
|
||||
#include <cmath>
|
||||
#include "RimWellPathGeometryDef.h"
|
||||
#include "cafPdmUiCheckBoxEditor.h"
|
||||
#include <cmath>
|
||||
|
||||
CAF_PDM_SOURCE_INIT(RimWellPathTarget, "WellPathTarget");
|
||||
CAF_PDM_SOURCE_INIT( RimWellPathTarget, "WellPathTarget" );
|
||||
|
||||
namespace caf
|
||||
{
|
||||
template<>
|
||||
void caf::AppEnum< RimWellPathTarget::TargetTypeEnum >::setUp()
|
||||
template <>
|
||||
void caf::AppEnum<RimWellPathTarget::TargetTypeEnum>::setUp()
|
||||
{
|
||||
addItem(RimWellPathTarget::POINT_AND_TANGENT, "POINT_AND_TANGENT", "Point and Tangent");
|
||||
addItem(RimWellPathTarget::POINT, "POINT", "Point");
|
||||
setDefault(RimWellPathTarget::POINT_AND_TANGENT);
|
||||
}
|
||||
addItem( RimWellPathTarget::POINT_AND_TANGENT, "POINT_AND_TANGENT", "Point and Tangent" );
|
||||
addItem( RimWellPathTarget::POINT, "POINT", "Point" );
|
||||
setDefault( RimWellPathTarget::POINT_AND_TANGENT );
|
||||
}
|
||||
} // namespace caf
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
RimWellPathTarget::RimWellPathTarget()
|
||||
: m_targetType(POINT_AND_TANGENT)
|
||||
, m_targetPoint(cvf::Vec3d::ZERO)
|
||||
, m_azimuth(0.0)
|
||||
, m_inclination(0.0)
|
||||
, m_isFullUpdateEnabled(true)
|
||||
: m_targetType( POINT_AND_TANGENT )
|
||||
, m_targetPoint( cvf::Vec3d::ZERO )
|
||||
, m_azimuth( 0.0 )
|
||||
, m_inclination( 0.0 )
|
||||
, m_isFullUpdateEnabled( true )
|
||||
{
|
||||
|
||||
CAF_PDM_InitField(&m_isEnabled, "IsEnabled", true, "", "", "", "");
|
||||
//m_targetType.uiCapability()->setUiHidden(true);
|
||||
CAF_PDM_InitFieldNoDefault(&m_targetPoint, "TargetPoint", "Point", "", "", "");
|
||||
CAF_PDM_InitField(&m_dogleg1, "Dogleg1", 3.0, "DL in", "", "[deg/30m]", "");
|
||||
CAF_PDM_InitField(&m_dogleg2, "Dogleg2", 3.0, "DL out", "", "[deg/30m]", "");
|
||||
CAF_PDM_InitFieldNoDefault(&m_targetType, "TargetType", "Type", "", "", "");
|
||||
m_targetType.uiCapability()->setUiHidden(true);
|
||||
CAF_PDM_InitField(&m_hasTangentConstraintUiField, "HasTangentConstraint", false, "Dir", "", "", "");
|
||||
CAF_PDM_InitField( &m_isEnabled, "IsEnabled", true, "", "", "", "" );
|
||||
// m_targetType.uiCapability()->setUiHidden(true);
|
||||
CAF_PDM_InitFieldNoDefault( &m_targetPoint, "TargetPoint", "Point", "", "", "" );
|
||||
CAF_PDM_InitField( &m_dogleg1, "Dogleg1", 3.0, "DL in", "", "[deg/30m]", "" );
|
||||
CAF_PDM_InitField( &m_dogleg2, "Dogleg2", 3.0, "DL out", "", "[deg/30m]", "" );
|
||||
CAF_PDM_InitFieldNoDefault( &m_targetType, "TargetType", "Type", "", "", "" );
|
||||
m_targetType.uiCapability()->setUiHidden( true );
|
||||
CAF_PDM_InitField( &m_hasTangentConstraintUiField, "HasTangentConstraint", false, "Dir", "", "", "" );
|
||||
m_hasTangentConstraintUiField.xmlCapability()->disableIO();
|
||||
CAF_PDM_InitField(&m_azimuth, "Azimuth", 0.0, "Azi(deg)", "", "", "");
|
||||
CAF_PDM_InitField(&m_inclination, "Inclination", 0.0, "Inc(deg)", "", "", "");
|
||||
CAF_PDM_InitField( &m_azimuth, "Azimuth", 0.0, "Azi(deg)", "", "", "" );
|
||||
CAF_PDM_InitField( &m_inclination, "Inclination", 0.0, "Inc(deg)", "", "", "" );
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
RimWellPathTarget::~RimWellPathTarget()
|
||||
{
|
||||
|
||||
}
|
||||
RimWellPathTarget::~RimWellPathTarget() {}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
bool RimWellPathTarget::isEnabled() const
|
||||
{
|
||||
return m_isEnabled;
|
||||
return m_isEnabled;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RimWellPathTarget::setAsPointTargetXYD(const cvf::Vec3d& point)
|
||||
void RimWellPathTarget::setAsPointTargetXYD( const cvf::Vec3d& point )
|
||||
{
|
||||
m_targetType = POINT;
|
||||
m_targetPoint = point;
|
||||
m_azimuth = 0.0;
|
||||
m_targetType = POINT;
|
||||
m_targetPoint = point;
|
||||
m_azimuth = 0.0;
|
||||
m_inclination = 0.0;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RimWellPathTarget::setAsPointXYZAndTangentTarget(const cvf::Vec3d& point,
|
||||
double azimuth,
|
||||
double inclination)
|
||||
void RimWellPathTarget::setAsPointXYZAndTangentTarget( const cvf::Vec3d& point, double azimuth, double inclination )
|
||||
{
|
||||
m_targetType = POINT_AND_TANGENT;
|
||||
m_targetPoint = cvf::Vec3d(point.x(), point.y(), -point.z());
|
||||
m_azimuth = cvf::Math::toDegrees(azimuth);
|
||||
m_inclination = cvf::Math::toDegrees(inclination);
|
||||
m_targetType = POINT_AND_TANGENT;
|
||||
m_targetPoint = cvf::Vec3d( point.x(), point.y(), -point.z() );
|
||||
m_azimuth = cvf::Math::toDegrees( azimuth );
|
||||
m_inclination = cvf::Math::toDegrees( inclination );
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RimWellPathTarget::setDerivedTangent(double azimuth, double inclination)
|
||||
void RimWellPathTarget::setDerivedTangent( double azimuth, double inclination )
|
||||
{
|
||||
if (m_targetType == POINT)
|
||||
if ( m_targetType == POINT )
|
||||
{
|
||||
m_azimuth = cvf::Math::toDegrees(azimuth);
|
||||
m_inclination = cvf::Math::toDegrees(inclination);
|
||||
m_azimuth = cvf::Math::toDegrees( azimuth );
|
||||
m_inclination = cvf::Math::toDegrees( inclination );
|
||||
}
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
RiaLineArcWellPathCalculator::WellTarget RimWellPathTarget::wellTargetData()
|
||||
{
|
||||
RiaLineArcWellPathCalculator::WellTarget targetData;
|
||||
|
||||
targetData.targetPointXYZ = targetPointXYZ();
|
||||
targetData.isTangentConstrained = (targetType() == POINT_AND_TANGENT);
|
||||
targetData.azimuth = azimuth();
|
||||
targetData.inclination = inclination();
|
||||
targetData.radius1 = radius1();
|
||||
targetData.radius2 = radius2();
|
||||
|
||||
targetData.targetPointXYZ = targetPointXYZ();
|
||||
targetData.isTangentConstrained = ( targetType() == POINT_AND_TANGENT );
|
||||
targetData.azimuth = azimuth();
|
||||
targetData.inclination = inclination();
|
||||
targetData.radius1 = radius1();
|
||||
targetData.radius2 = radius2();
|
||||
|
||||
return targetData;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
RimWellPathTarget::TargetTypeEnum RimWellPathTarget::targetType() const
|
||||
{
|
||||
@@ -119,23 +113,23 @@ RimWellPathTarget::TargetTypeEnum RimWellPathTarget::targetType() const
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
cvf::Vec3d RimWellPathTarget::targetPointXYZ() const
|
||||
{
|
||||
cvf::Vec3d xyzPoint(m_targetPoint());
|
||||
cvf::Vec3d xyzPoint( m_targetPoint() );
|
||||
xyzPoint.z() = -xyzPoint.z();
|
||||
return xyzPoint;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
double RimWellPathTarget::azimuth() const
|
||||
{
|
||||
if ( m_targetType() == POINT_AND_TANGENT )
|
||||
{
|
||||
return cvf::Math::toRadians( m_azimuth);
|
||||
return cvf::Math::toRadians( m_azimuth );
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -144,13 +138,13 @@ double RimWellPathTarget::azimuth() const
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
double RimWellPathTarget::inclination() const
|
||||
{
|
||||
if ( m_targetType() == POINT_AND_TANGENT )
|
||||
{
|
||||
return cvf::Math::toRadians(m_inclination);
|
||||
return cvf::Math::toRadians( m_inclination );
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -159,19 +153,17 @@ double RimWellPathTarget::inclination() const
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
cvf::Vec3d RimWellPathTarget::tangent() const
|
||||
{
|
||||
double aziRad = cvf::Math::toRadians(m_azimuth);
|
||||
double incRad = cvf::Math::toRadians(m_inclination);
|
||||
return cvf::Vec3d (sin(aziRad) * sin(incRad),
|
||||
cos(aziRad) * sin(incRad),
|
||||
-cos(incRad));
|
||||
double aziRad = cvf::Math::toRadians( m_azimuth );
|
||||
double incRad = cvf::Math::toRadians( m_inclination );
|
||||
return cvf::Vec3d( sin( aziRad ) * sin( incRad ), cos( aziRad ) * sin( incRad ), -cos( incRad ) );
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
double RimWellPathTarget::radius1() const
|
||||
{
|
||||
@@ -180,13 +172,13 @@ double RimWellPathTarget::radius1() const
|
||||
// Degrees pr 10m
|
||||
|
||||
// Degrees pr 30m
|
||||
if (fabs(m_dogleg1) < 1e-6) return std::numeric_limits<double>::infinity();
|
||||
if ( fabs( m_dogleg1 ) < 1e-6 ) return std::numeric_limits<double>::infinity();
|
||||
|
||||
return 30.0/cvf::Math::toRadians(m_dogleg1);
|
||||
return 30.0 / cvf::Math::toRadians( m_dogleg1 );
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
double RimWellPathTarget::radius2() const
|
||||
{
|
||||
@@ -196,141 +188,150 @@ double RimWellPathTarget::radius2() const
|
||||
|
||||
// Degrees pr 30m
|
||||
|
||||
if (fabs(m_dogleg2) < 1e-6) return std::numeric_limits<double>::infinity();
|
||||
if ( fabs( m_dogleg2 ) < 1e-6 ) return std::numeric_limits<double>::infinity();
|
||||
|
||||
return 30.0/cvf::Math::toRadians(m_dogleg2);
|
||||
return 30.0 / cvf::Math::toRadians( m_dogleg2 );
|
||||
}
|
||||
|
||||
double doglegFromRadius(double radius)
|
||||
double doglegFromRadius( double radius )
|
||||
{
|
||||
return cvf::Math::toDegrees(30.0/radius);
|
||||
return cvf::Math::toDegrees( 30.0 / radius );
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RimWellPathTarget::flagRadius1AsIncorrect(bool isIncorrect, double actualRadius)
|
||||
void RimWellPathTarget::flagRadius1AsIncorrect( bool isIncorrect, double actualRadius )
|
||||
{
|
||||
if (isIncorrect)
|
||||
if ( isIncorrect )
|
||||
{
|
||||
m_dogleg1.uiCapability()->setUiContentTextColor(Qt::red);
|
||||
m_dogleg1.uiCapability()->setUiToolTip("The dogleg constraint is not satisfied! Actual Dogleg: " + QString::number(doglegFromRadius(actualRadius)));
|
||||
m_dogleg1.uiCapability()->setUiContentTextColor( Qt::red );
|
||||
m_dogleg1.uiCapability()->setUiToolTip( "The dogleg constraint is not satisfied! Actual Dogleg: " +
|
||||
QString::number( doglegFromRadius( actualRadius ) ) );
|
||||
}
|
||||
else
|
||||
{
|
||||
m_dogleg1.uiCapability()->setUiContentTextColor(QColor());
|
||||
m_dogleg1.uiCapability()->setUiToolTip("");
|
||||
m_dogleg1.uiCapability()->setUiContentTextColor( QColor() );
|
||||
m_dogleg1.uiCapability()->setUiToolTip( "" );
|
||||
}
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RimWellPathTarget::flagRadius2AsIncorrect(bool isIncorrect, double actualRadius)
|
||||
void RimWellPathTarget::flagRadius2AsIncorrect( bool isIncorrect, double actualRadius )
|
||||
{
|
||||
if (isIncorrect)
|
||||
if ( isIncorrect )
|
||||
{
|
||||
m_dogleg2.uiCapability()->setUiContentTextColor(Qt::red);
|
||||
m_dogleg2.uiCapability()->setUiToolTip("The dogleg constraint is not satisfied! Actual Dogleg: " + QString::number(doglegFromRadius(actualRadius)));
|
||||
m_dogleg2.uiCapability()->setUiContentTextColor( Qt::red );
|
||||
m_dogleg2.uiCapability()->setUiToolTip( "The dogleg constraint is not satisfied! Actual Dogleg: " +
|
||||
QString::number( doglegFromRadius( actualRadius ) ) );
|
||||
}
|
||||
else
|
||||
{
|
||||
m_dogleg2.uiCapability()->setUiContentTextColor(QColor());
|
||||
m_dogleg2.uiCapability()->setUiToolTip("");
|
||||
m_dogleg2.uiCapability()->setUiContentTextColor( QColor() );
|
||||
m_dogleg2.uiCapability()->setUiToolTip( "" );
|
||||
}
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RimWellPathTarget::enableFullUpdate(bool enable)
|
||||
void RimWellPathTarget::enableFullUpdate( bool enable )
|
||||
{
|
||||
m_isFullUpdateEnabled = enable;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
QList<caf::PdmOptionItemInfo> RimWellPathTarget::calculateValueOptions(const caf::PdmFieldHandle* fieldNeedingOptions, bool* useOptionsOnly)
|
||||
QList<caf::PdmOptionItemInfo> RimWellPathTarget::calculateValueOptions( const caf::PdmFieldHandle* fieldNeedingOptions,
|
||||
bool* useOptionsOnly )
|
||||
{
|
||||
QList<caf::PdmOptionItemInfo> options;
|
||||
if (fieldNeedingOptions == & m_targetType)
|
||||
if ( fieldNeedingOptions == &m_targetType )
|
||||
{
|
||||
options.push_back(caf::PdmOptionItemInfo("o->",RimWellPathTarget::POINT_AND_TANGENT));//, false, QIcon(":/WellTargetPointTangent16x16.png") ));
|
||||
options.push_back(caf::PdmOptionItemInfo("o", RimWellPathTarget::POINT));//, false, QIcon(":/WellTargetPoint16x16.png")));
|
||||
options.push_back(
|
||||
caf::PdmOptionItemInfo( "o->",
|
||||
RimWellPathTarget::POINT_AND_TANGENT ) ); //, false, QIcon(":/WellTargetPointTangent16x16.png") ));
|
||||
options.push_back(
|
||||
caf::PdmOptionItemInfo( "o", RimWellPathTarget::POINT ) ); //, false, QIcon(":/WellTargetPoint16x16.png")));
|
||||
}
|
||||
return options;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RimWellPathTarget::fieldChangedByUi(const caf::PdmFieldHandle* changedField, const QVariant& oldValue, const QVariant& newValue)
|
||||
void RimWellPathTarget::fieldChangedByUi( const caf::PdmFieldHandle* changedField,
|
||||
const QVariant& oldValue,
|
||||
const QVariant& newValue )
|
||||
{
|
||||
if (changedField == &m_hasTangentConstraintUiField)
|
||||
if ( changedField == &m_hasTangentConstraintUiField )
|
||||
{
|
||||
if (m_hasTangentConstraintUiField) m_targetType = POINT_AND_TANGENT;
|
||||
else m_targetType = POINT;
|
||||
if ( m_hasTangentConstraintUiField )
|
||||
m_targetType = POINT_AND_TANGENT;
|
||||
else
|
||||
m_targetType = POINT;
|
||||
}
|
||||
|
||||
RimModeledWellPath* wellPath;
|
||||
firstAncestorOrThisOfTypeAsserted(wellPath);
|
||||
firstAncestorOrThisOfTypeAsserted( wellPath );
|
||||
wellPath->updateWellPathVisualization();
|
||||
if (m_isFullUpdateEnabled)
|
||||
if ( m_isFullUpdateEnabled )
|
||||
{
|
||||
wellPath->scheduleUpdateOfDependentVisualization();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RimWellPathTarget::defineUiOrdering(QString uiConfigName, caf::PdmUiOrdering& uiOrdering)
|
||||
void RimWellPathTarget::defineUiOrdering( QString uiConfigName, caf::PdmUiOrdering& uiOrdering )
|
||||
{
|
||||
m_hasTangentConstraintUiField = (m_targetType == POINT_AND_TANGENT);
|
||||
m_hasTangentConstraintUiField = ( m_targetType == POINT_AND_TANGENT );
|
||||
|
||||
if (m_isEnabled())
|
||||
if ( m_isEnabled() )
|
||||
{
|
||||
m_hasTangentConstraintUiField.uiCapability()->setUiReadOnly(false);
|
||||
m_targetType.uiCapability()->setUiReadOnly(false);
|
||||
m_targetPoint.uiCapability()->setUiReadOnly(false);
|
||||
m_dogleg2.uiCapability()->setUiReadOnly(false);
|
||||
m_hasTangentConstraintUiField.uiCapability()->setUiReadOnly( false );
|
||||
m_targetType.uiCapability()->setUiReadOnly( false );
|
||||
m_targetPoint.uiCapability()->setUiReadOnly( false );
|
||||
m_dogleg2.uiCapability()->setUiReadOnly( false );
|
||||
|
||||
if ( m_targetType == POINT )
|
||||
{
|
||||
m_azimuth.uiCapability()->setUiReadOnly(true);
|
||||
m_inclination.uiCapability()->setUiReadOnly(true);
|
||||
m_dogleg1.uiCapability()->setUiReadOnly(true);
|
||||
m_azimuth.uiCapability()->setUiReadOnly( true );
|
||||
m_inclination.uiCapability()->setUiReadOnly( true );
|
||||
m_dogleg1.uiCapability()->setUiReadOnly( true );
|
||||
}
|
||||
else
|
||||
{
|
||||
m_azimuth.uiCapability()->setUiReadOnly(false);
|
||||
m_inclination.uiCapability()->setUiReadOnly(false);
|
||||
m_dogleg1.uiCapability()->setUiReadOnly(false);
|
||||
m_azimuth.uiCapability()->setUiReadOnly( false );
|
||||
m_inclination.uiCapability()->setUiReadOnly( false );
|
||||
m_dogleg1.uiCapability()->setUiReadOnly( false );
|
||||
}
|
||||
|
||||
RimWellPathGeometryDef* geomDef = nullptr;
|
||||
firstAncestorOrThisOfTypeAsserted(geomDef);
|
||||
firstAncestorOrThisOfTypeAsserted( geomDef );
|
||||
|
||||
if ( this == geomDef->firstActiveTarget() )
|
||||
{
|
||||
m_dogleg1.uiCapability()->setUiReadOnly(true);
|
||||
m_dogleg1.uiCapability()->setUiReadOnly( true );
|
||||
}
|
||||
|
||||
if ( this == geomDef->lastActiveTarget() )
|
||||
{
|
||||
m_dogleg2.uiCapability()->setUiReadOnly(true);
|
||||
m_dogleg2.uiCapability()->setUiReadOnly( true );
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
m_dogleg1.uiCapability()->setUiReadOnly(true);
|
||||
m_targetType.uiCapability()->setUiReadOnly(true);
|
||||
m_targetPoint.uiCapability()->setUiReadOnly(true);
|
||||
m_azimuth.uiCapability()->setUiReadOnly(true);
|
||||
m_inclination.uiCapability()->setUiReadOnly(true);
|
||||
m_dogleg2.uiCapability()->setUiReadOnly(true);
|
||||
m_hasTangentConstraintUiField.uiCapability()->setUiReadOnly(true);
|
||||
m_dogleg1.uiCapability()->setUiReadOnly( true );
|
||||
m_targetType.uiCapability()->setUiReadOnly( true );
|
||||
m_targetPoint.uiCapability()->setUiReadOnly( true );
|
||||
m_azimuth.uiCapability()->setUiReadOnly( true );
|
||||
m_inclination.uiCapability()->setUiReadOnly( true );
|
||||
m_dogleg2.uiCapability()->setUiReadOnly( true );
|
||||
m_hasTangentConstraintUiField.uiCapability()->setUiReadOnly( true );
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user