mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Rename RivIntersectionBoxGeometryGenerator to RivBoxIntersectionGeometryGenerator
Rename RivIntersectionBoxSourceInfo to RivBoxIntersectionSourceInfo
This commit is contained in:
parent
4672528a4d
commit
0a358941fb
@ -33,7 +33,7 @@
|
|||||||
#include "RiuViewer.h"
|
#include "RiuViewer.h"
|
||||||
#include "RivFemPickSourceInfo.h"
|
#include "RivFemPickSourceInfo.h"
|
||||||
#include "RivGeoMechVizLogic.h"
|
#include "RivGeoMechVizLogic.h"
|
||||||
#include "RivIntersectionBoxSourceInfo.h"
|
#include "RivBoxIntersectionSourceInfo.h"
|
||||||
#include "RivExtrudedCurveIntersectionSourceInfo.h"
|
#include "RivExtrudedCurveIntersectionSourceInfo.h"
|
||||||
#include "RivMeshLinesSourceInfo.h"
|
#include "RivMeshLinesSourceInfo.h"
|
||||||
#include "RivSimWellPipeSourceInfo.h"
|
#include "RivSimWellPipeSourceInfo.h"
|
||||||
@ -359,7 +359,7 @@ bool RicHoloLensExportImpl::isGrid( const cvf::Part* part )
|
|||||||
}
|
}
|
||||||
|
|
||||||
{
|
{
|
||||||
auto sourceInfoOfType = dynamic_cast<const RivIntersectionBoxSourceInfo*>( sourceInfo );
|
auto sourceInfoOfType = dynamic_cast<const RivBoxIntersectionSourceInfo*>( sourceInfo );
|
||||||
if ( sourceInfoOfType )
|
if ( sourceInfoOfType )
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
|
@ -5,9 +5,9 @@ ${CMAKE_CURRENT_LIST_DIR}/RivExtrudedCurveIntersectionPartMgr.h
|
|||||||
${CMAKE_CURRENT_LIST_DIR}/RivExtrudedCurveIntersectionSourceInfo.h
|
${CMAKE_CURRENT_LIST_DIR}/RivExtrudedCurveIntersectionSourceInfo.h
|
||||||
${CMAKE_CURRENT_LIST_DIR}/RivIntersectionResultsColoringTools.h
|
${CMAKE_CURRENT_LIST_DIR}/RivIntersectionResultsColoringTools.h
|
||||||
${CMAKE_CURRENT_LIST_DIR}/RivHexGridIntersectionTools.h
|
${CMAKE_CURRENT_LIST_DIR}/RivHexGridIntersectionTools.h
|
||||||
${CMAKE_CURRENT_LIST_DIR}/RivIntersectionBoxGeometryGenerator.h
|
${CMAKE_CURRENT_LIST_DIR}/RivBoxIntersectionGeometryGenerator.h
|
||||||
${CMAKE_CURRENT_LIST_DIR}/RivBoxIntersectionPartMgr.h
|
${CMAKE_CURRENT_LIST_DIR}/RivBoxIntersectionPartMgr.h
|
||||||
${CMAKE_CURRENT_LIST_DIR}/RivIntersectionBoxSourceInfo.h
|
${CMAKE_CURRENT_LIST_DIR}/RivBoxIntersectionSourceInfo.h
|
||||||
${CMAKE_CURRENT_LIST_DIR}/RivSectionFlattner.h
|
${CMAKE_CURRENT_LIST_DIR}/RivSectionFlattner.h
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -17,9 +17,9 @@ ${CMAKE_CURRENT_LIST_DIR}/RivExtrudedCurveIntersectionPartMgr.cpp
|
|||||||
${CMAKE_CURRENT_LIST_DIR}/RivExtrudedCurveIntersectionSourceInfo.cpp
|
${CMAKE_CURRENT_LIST_DIR}/RivExtrudedCurveIntersectionSourceInfo.cpp
|
||||||
${CMAKE_CURRENT_LIST_DIR}/RivIntersectionResultsColoringTools.cpp
|
${CMAKE_CURRENT_LIST_DIR}/RivIntersectionResultsColoringTools.cpp
|
||||||
${CMAKE_CURRENT_LIST_DIR}/RivHexGridIntersectionTools.cpp
|
${CMAKE_CURRENT_LIST_DIR}/RivHexGridIntersectionTools.cpp
|
||||||
${CMAKE_CURRENT_LIST_DIR}/RivIntersectionBoxGeometryGenerator.cpp
|
${CMAKE_CURRENT_LIST_DIR}/RivBoxIntersectionGeometryGenerator.cpp
|
||||||
${CMAKE_CURRENT_LIST_DIR}/RivBoxIntersectionPartMgr.cpp
|
${CMAKE_CURRENT_LIST_DIR}/RivBoxIntersectionPartMgr.cpp
|
||||||
${CMAKE_CURRENT_LIST_DIR}/RivIntersectionBoxSourceInfo.cpp
|
${CMAKE_CURRENT_LIST_DIR}/RivBoxIntersectionSourceInfo.cpp
|
||||||
${CMAKE_CURRENT_LIST_DIR}/RivSectionFlattner.cpp
|
${CMAKE_CURRENT_LIST_DIR}/RivSectionFlattner.cpp
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
//
|
//
|
||||||
/////////////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#include "RivIntersectionBoxGeometryGenerator.h"
|
#include "RivBoxIntersectionGeometryGenerator.h"
|
||||||
|
|
||||||
#include "RimCase.h"
|
#include "RimCase.h"
|
||||||
#include "RimGridView.h"
|
#include "RimGridView.h"
|
||||||
@ -34,7 +34,7 @@
|
|||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
///
|
///
|
||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
RivIntersectionBoxGeometryGenerator::RivIntersectionBoxGeometryGenerator( RimBoxIntersection* intersectionBox,
|
RivBoxIntersectionGeometryGenerator::RivBoxIntersectionGeometryGenerator( RimBoxIntersection* intersectionBox,
|
||||||
const RivIntersectionHexGridInterface* grid )
|
const RivIntersectionHexGridInterface* grid )
|
||||||
: m_intersectionBoxDefinition( intersectionBox )
|
: m_intersectionBoxDefinition( intersectionBox )
|
||||||
, m_hexGrid( grid )
|
, m_hexGrid( grid )
|
||||||
@ -46,12 +46,12 @@ RivIntersectionBoxGeometryGenerator::RivIntersectionBoxGeometryGenerator( RimBox
|
|||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
///
|
///
|
||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
RivIntersectionBoxGeometryGenerator::~RivIntersectionBoxGeometryGenerator() {}
|
RivBoxIntersectionGeometryGenerator::~RivBoxIntersectionGeometryGenerator() {}
|
||||||
|
|
||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
///
|
///
|
||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
bool RivIntersectionBoxGeometryGenerator::isAnyGeometryPresent() const
|
bool RivBoxIntersectionGeometryGenerator::isAnyGeometryPresent() const
|
||||||
{
|
{
|
||||||
if ( m_triangleVxes->size() == 0 )
|
if ( m_triangleVxes->size() == 0 )
|
||||||
{
|
{
|
||||||
@ -66,7 +66,7 @@ bool RivIntersectionBoxGeometryGenerator::isAnyGeometryPresent() const
|
|||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
///
|
///
|
||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
cvf::ref<cvf::DrawableGeo> RivIntersectionBoxGeometryGenerator::generateSurface()
|
cvf::ref<cvf::DrawableGeo> RivBoxIntersectionGeometryGenerator::generateSurface()
|
||||||
{
|
{
|
||||||
calculateArrays();
|
calculateArrays();
|
||||||
|
|
||||||
@ -83,7 +83,7 @@ cvf::ref<cvf::DrawableGeo> RivIntersectionBoxGeometryGenerator::generateSurface(
|
|||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
///
|
///
|
||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
cvf::ref<cvf::DrawableGeo> RivIntersectionBoxGeometryGenerator::createMeshDrawable()
|
cvf::ref<cvf::DrawableGeo> RivBoxIntersectionGeometryGenerator::createMeshDrawable()
|
||||||
{
|
{
|
||||||
if ( !( m_cellBorderLineVxes.notNull() && m_cellBorderLineVxes->size() != 0 ) ) return nullptr;
|
if ( !( m_cellBorderLineVxes.notNull() && m_cellBorderLineVxes->size() != 0 ) ) return nullptr;
|
||||||
|
|
||||||
@ -100,7 +100,7 @@ cvf::ref<cvf::DrawableGeo> RivIntersectionBoxGeometryGenerator::createMeshDrawab
|
|||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
///
|
///
|
||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
const std::vector<size_t>& RivIntersectionBoxGeometryGenerator::triangleToCellIndex() const
|
const std::vector<size_t>& RivBoxIntersectionGeometryGenerator::triangleToCellIndex() const
|
||||||
{
|
{
|
||||||
CVF_ASSERT( m_triangleVxes->size() );
|
CVF_ASSERT( m_triangleVxes->size() );
|
||||||
return m_triangleToCellIdxMap;
|
return m_triangleToCellIdxMap;
|
||||||
@ -110,7 +110,7 @@ const std::vector<size_t>& RivIntersectionBoxGeometryGenerator::triangleToCellIn
|
|||||||
///
|
///
|
||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
const std::vector<RivIntersectionVertexWeights>&
|
const std::vector<RivIntersectionVertexWeights>&
|
||||||
RivIntersectionBoxGeometryGenerator::triangleVxToCellCornerInterpolationWeights() const
|
RivBoxIntersectionGeometryGenerator::triangleVxToCellCornerInterpolationWeights() const
|
||||||
{
|
{
|
||||||
CVF_ASSERT( m_triangleVxes->size() );
|
CVF_ASSERT( m_triangleVxes->size() );
|
||||||
return m_triVxToCellCornerWeights;
|
return m_triVxToCellCornerWeights;
|
||||||
@ -119,7 +119,7 @@ const std::vector<RivIntersectionVertexWeights>&
|
|||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
///
|
///
|
||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
const cvf::Vec3fArray* RivIntersectionBoxGeometryGenerator::triangleVxes() const
|
const cvf::Vec3fArray* RivBoxIntersectionGeometryGenerator::triangleVxes() const
|
||||||
{
|
{
|
||||||
CVF_ASSERT( m_triangleVxes->size() );
|
CVF_ASSERT( m_triangleVxes->size() );
|
||||||
|
|
||||||
@ -236,7 +236,7 @@ private:
|
|||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
///
|
///
|
||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
RimBoxIntersection* RivIntersectionBoxGeometryGenerator::intersectionBox() const
|
RimBoxIntersection* RivBoxIntersectionGeometryGenerator::intersectionBox() const
|
||||||
{
|
{
|
||||||
return m_intersectionBoxDefinition;
|
return m_intersectionBoxDefinition;
|
||||||
}
|
}
|
||||||
@ -244,7 +244,7 @@ RimBoxIntersection* RivIntersectionBoxGeometryGenerator::intersectionBox() const
|
|||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
///
|
///
|
||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
void RivIntersectionBoxGeometryGenerator::calculateArrays()
|
void RivBoxIntersectionGeometryGenerator::calculateArrays()
|
||||||
{
|
{
|
||||||
if ( m_triangleVxes->size() ) return;
|
if ( m_triangleVxes->size() ) return;
|
||||||
|
|
@ -37,13 +37,13 @@ class ScalarMapper;
|
|||||||
class DrawableGeo;
|
class DrawableGeo;
|
||||||
} // namespace cvf
|
} // namespace cvf
|
||||||
|
|
||||||
class RivIntersectionBoxGeometryGenerator : public cvf::Object, public RivIntersectionGeometryGeneratorIF
|
class RivBoxIntersectionGeometryGenerator : public cvf::Object, public RivIntersectionGeometryGeneratorIF
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
RivIntersectionBoxGeometryGenerator( RimBoxIntersection* intersectionBox,
|
RivBoxIntersectionGeometryGenerator( RimBoxIntersection* intersectionBox,
|
||||||
const RivIntersectionHexGridInterface* grid );
|
const RivIntersectionHexGridInterface* grid );
|
||||||
|
|
||||||
~RivIntersectionBoxGeometryGenerator() override;
|
~RivBoxIntersectionGeometryGenerator() override;
|
||||||
|
|
||||||
// Generate geometry
|
// Generate geometry
|
||||||
cvf::ref<cvf::DrawableGeo> generateSurface();
|
cvf::ref<cvf::DrawableGeo> generateSurface();
|
@ -36,7 +36,7 @@
|
|||||||
#include "RimRegularLegendConfig.h"
|
#include "RimRegularLegendConfig.h"
|
||||||
#include "RimTernaryLegendConfig.h"
|
#include "RimTernaryLegendConfig.h"
|
||||||
|
|
||||||
#include "RivIntersectionBoxSourceInfo.h"
|
#include "RivBoxIntersectionSourceInfo.h"
|
||||||
#include "RivExtrudedCurveIntersectionPartMgr.h"
|
#include "RivExtrudedCurveIntersectionPartMgr.h"
|
||||||
#include "RivIntersectionResultsColoringTools.h"
|
#include "RivIntersectionResultsColoringTools.h"
|
||||||
#include "RivMeshLinesSourceInfo.h"
|
#include "RivMeshLinesSourceInfo.h"
|
||||||
@ -67,7 +67,7 @@ RivBoxIntersectionPartMgr::RivBoxIntersectionPartMgr( RimBoxIntersection* inters
|
|||||||
m_intersectionBoxFacesTextureCoords = new cvf::Vec2fArray;
|
m_intersectionBoxFacesTextureCoords = new cvf::Vec2fArray;
|
||||||
|
|
||||||
cvf::ref<RivIntersectionHexGridInterface> hexGrid = intersectionBox->createHexGridInterface();
|
cvf::ref<RivIntersectionHexGridInterface> hexGrid = intersectionBox->createHexGridInterface();
|
||||||
m_intersectionBoxGenerator = new RivIntersectionBoxGeometryGenerator( m_rimIntersectionBox, hexGrid.p() );
|
m_intersectionBoxGenerator = new RivBoxIntersectionGeometryGenerator( m_rimIntersectionBox, hexGrid.p() );
|
||||||
}
|
}
|
||||||
|
|
||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
@ -117,7 +117,7 @@ void RivBoxIntersectionPartMgr::generatePartGeometry()
|
|||||||
part->setDrawable( geo.p() );
|
part->setDrawable( geo.p() );
|
||||||
|
|
||||||
// Set mapping from triangle face index to cell index
|
// Set mapping from triangle face index to cell index
|
||||||
cvf::ref<RivIntersectionBoxSourceInfo> si = new RivIntersectionBoxSourceInfo( m_intersectionBoxGenerator.p() );
|
cvf::ref<RivBoxIntersectionSourceInfo> si = new RivBoxIntersectionSourceInfo( m_intersectionBoxGenerator.p() );
|
||||||
part->setSourceInfo( si.p() );
|
part->setSourceInfo( si.p() );
|
||||||
|
|
||||||
part->updateBoundingBox();
|
part->updateBoundingBox();
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "RivIntersectionBoxGeometryGenerator.h"
|
#include "RivBoxIntersectionGeometryGenerator.h"
|
||||||
|
|
||||||
#include "cvfObject.h"
|
#include "cvfObject.h"
|
||||||
|
|
||||||
@ -73,5 +73,5 @@ private:
|
|||||||
cvf::ref<cvf::Part> m_intersectionBoxGridLines;
|
cvf::ref<cvf::Part> m_intersectionBoxGridLines;
|
||||||
cvf::ref<cvf::Vec2fArray> m_intersectionBoxFacesTextureCoords;
|
cvf::ref<cvf::Vec2fArray> m_intersectionBoxFacesTextureCoords;
|
||||||
|
|
||||||
cvf::ref<RivIntersectionBoxGeometryGenerator> m_intersectionBoxGenerator;
|
cvf::ref<RivBoxIntersectionGeometryGenerator> m_intersectionBoxGenerator;
|
||||||
};
|
};
|
||||||
|
@ -16,14 +16,14 @@
|
|||||||
//
|
//
|
||||||
/////////////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#include "RivIntersectionBoxSourceInfo.h"
|
#include "RivBoxIntersectionSourceInfo.h"
|
||||||
|
|
||||||
#include "RivIntersectionBoxGeometryGenerator.h"
|
#include "RivBoxIntersectionGeometryGenerator.h"
|
||||||
|
|
||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
///
|
///
|
||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
RivIntersectionBoxSourceInfo::RivIntersectionBoxSourceInfo( RivIntersectionBoxGeometryGenerator* geometryGenerator )
|
RivBoxIntersectionSourceInfo::RivBoxIntersectionSourceInfo( RivBoxIntersectionGeometryGenerator* geometryGenerator )
|
||||||
: m_intersectionBoxGeometryGenerator( geometryGenerator )
|
: m_intersectionBoxGeometryGenerator( geometryGenerator )
|
||||||
{
|
{
|
||||||
CVF_ASSERT( m_intersectionBoxGeometryGenerator.notNull() );
|
CVF_ASSERT( m_intersectionBoxGeometryGenerator.notNull() );
|
||||||
@ -32,7 +32,7 @@ RivIntersectionBoxSourceInfo::RivIntersectionBoxSourceInfo( RivIntersectionBoxGe
|
|||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
///
|
///
|
||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
const std::vector<size_t>& RivIntersectionBoxSourceInfo::triangleToCellIndex() const
|
const std::vector<size_t>& RivBoxIntersectionSourceInfo::triangleToCellIndex() const
|
||||||
{
|
{
|
||||||
CVF_ASSERT( m_intersectionBoxGeometryGenerator.notNull() );
|
CVF_ASSERT( m_intersectionBoxGeometryGenerator.notNull() );
|
||||||
|
|
||||||
@ -42,7 +42,7 @@ const std::vector<size_t>& RivIntersectionBoxSourceInfo::triangleToCellIndex() c
|
|||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
///
|
///
|
||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
std::array<cvf::Vec3f, 3> RivIntersectionBoxSourceInfo::triangle( int triangleIdx ) const
|
std::array<cvf::Vec3f, 3> RivBoxIntersectionSourceInfo::triangle( int triangleIdx ) const
|
||||||
{
|
{
|
||||||
std::array<cvf::Vec3f, 3> tri;
|
std::array<cvf::Vec3f, 3> tri;
|
||||||
tri[0] = ( *m_intersectionBoxGeometryGenerator->triangleVxes() )[triangleIdx * 3];
|
tri[0] = ( *m_intersectionBoxGeometryGenerator->triangleVxes() )[triangleIdx * 3];
|
||||||
@ -55,7 +55,7 @@ std::array<cvf::Vec3f, 3> RivIntersectionBoxSourceInfo::triangle( int triangleId
|
|||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
///
|
///
|
||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
RimBoxIntersection* RivIntersectionBoxSourceInfo::intersectionBox() const
|
RimBoxIntersection* RivBoxIntersectionSourceInfo::intersectionBox() const
|
||||||
{
|
{
|
||||||
return m_intersectionBoxGeometryGenerator->intersectionBox();
|
return m_intersectionBoxGeometryGenerator->intersectionBox();
|
||||||
}
|
}
|
@ -22,13 +22,13 @@
|
|||||||
#include "cvfObject.h"
|
#include "cvfObject.h"
|
||||||
#include <array>
|
#include <array>
|
||||||
|
|
||||||
class RivIntersectionBoxGeometryGenerator;
|
class RivBoxIntersectionGeometryGenerator;
|
||||||
class RimBoxIntersection;
|
class RimBoxIntersection;
|
||||||
|
|
||||||
class RivIntersectionBoxSourceInfo : public cvf::Object
|
class RivBoxIntersectionSourceInfo : public cvf::Object
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
explicit RivIntersectionBoxSourceInfo( RivIntersectionBoxGeometryGenerator* geometryGenerator );
|
explicit RivBoxIntersectionSourceInfo( RivBoxIntersectionGeometryGenerator* geometryGenerator );
|
||||||
|
|
||||||
const std::vector<size_t>& triangleToCellIndex() const;
|
const std::vector<size_t>& triangleToCellIndex() const;
|
||||||
|
|
||||||
@ -36,5 +36,5 @@ public:
|
|||||||
RimBoxIntersection* intersectionBox() const;
|
RimBoxIntersection* intersectionBox() const;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
cvf::cref<RivIntersectionBoxGeometryGenerator> m_intersectionBoxGeometryGenerator;
|
cvf::cref<RivBoxIntersectionGeometryGenerator> m_intersectionBoxGeometryGenerator;
|
||||||
};
|
};
|
@ -77,7 +77,7 @@
|
|||||||
|
|
||||||
#include "RivFemPartGeometryGenerator.h"
|
#include "RivFemPartGeometryGenerator.h"
|
||||||
#include "RivFemPickSourceInfo.h"
|
#include "RivFemPickSourceInfo.h"
|
||||||
#include "RivIntersectionBoxSourceInfo.h"
|
#include "RivBoxIntersectionSourceInfo.h"
|
||||||
#include "RivExtrudedCurveIntersectionSourceInfo.h"
|
#include "RivExtrudedCurveIntersectionSourceInfo.h"
|
||||||
#include "RivObjectSourceInfo.h"
|
#include "RivObjectSourceInfo.h"
|
||||||
#include "RivPartPriority.h"
|
#include "RivPartPriority.h"
|
||||||
@ -272,7 +272,7 @@ void RiuViewerCommands::displayContextMenu( QMouseEvent* event )
|
|||||||
firstHitPart->sourceInfo() );
|
firstHitPart->sourceInfo() );
|
||||||
const RivExtrudedCurveIntersectionSourceInfo* crossSectionSourceInfo = dynamic_cast<const RivExtrudedCurveIntersectionSourceInfo*>(
|
const RivExtrudedCurveIntersectionSourceInfo* crossSectionSourceInfo = dynamic_cast<const RivExtrudedCurveIntersectionSourceInfo*>(
|
||||||
firstHitPart->sourceInfo() );
|
firstHitPart->sourceInfo() );
|
||||||
const RivIntersectionBoxSourceInfo* intersectionBoxSourceInfo = dynamic_cast<const RivIntersectionBoxSourceInfo*>(
|
const RivBoxIntersectionSourceInfo* intersectionBoxSourceInfo = dynamic_cast<const RivBoxIntersectionSourceInfo*>(
|
||||||
firstHitPart->sourceInfo() );
|
firstHitPart->sourceInfo() );
|
||||||
|
|
||||||
if ( rivSourceInfo || femSourceInfo || crossSectionSourceInfo || intersectionBoxSourceInfo )
|
if ( rivSourceInfo || femSourceInfo || crossSectionSourceInfo || intersectionBoxSourceInfo )
|
||||||
@ -725,8 +725,8 @@ void RiuViewerCommands::handlePickAction( int winPosX, int winPosY, Qt::Keyboard
|
|||||||
firstHitPart->sourceInfo() );
|
firstHitPart->sourceInfo() );
|
||||||
const RivExtrudedCurveIntersectionSourceInfo* crossSectionSourceInfo = dynamic_cast<const RivExtrudedCurveIntersectionSourceInfo*>(
|
const RivExtrudedCurveIntersectionSourceInfo* crossSectionSourceInfo = dynamic_cast<const RivExtrudedCurveIntersectionSourceInfo*>(
|
||||||
firstHitPart->sourceInfo() );
|
firstHitPart->sourceInfo() );
|
||||||
const RivIntersectionBoxSourceInfo* intersectionBoxSourceInfo =
|
const RivBoxIntersectionSourceInfo* intersectionBoxSourceInfo =
|
||||||
dynamic_cast<const RivIntersectionBoxSourceInfo*>( firstHitPart->sourceInfo() );
|
dynamic_cast<const RivBoxIntersectionSourceInfo*>( firstHitPart->sourceInfo() );
|
||||||
const RivSimWellPipeSourceInfo* eclipseWellSourceInfo = dynamic_cast<const RivSimWellPipeSourceInfo*>(
|
const RivSimWellPipeSourceInfo* eclipseWellSourceInfo = dynamic_cast<const RivSimWellPipeSourceInfo*>(
|
||||||
firstHitPart->sourceInfo() );
|
firstHitPart->sourceInfo() );
|
||||||
const RivWellConnectionSourceInfo* wellConnectionSourceInfo = dynamic_cast<const RivWellConnectionSourceInfo*>(
|
const RivWellConnectionSourceInfo* wellConnectionSourceInfo = dynamic_cast<const RivWellConnectionSourceInfo*>(
|
||||||
@ -1177,7 +1177,7 @@ void RiuViewerCommands::findCellAndGridIndex( Rim3dView* m
|
|||||||
///
|
///
|
||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
void RiuViewerCommands::findCellAndGridIndex( Rim3dView* mainOrComparisonView,
|
void RiuViewerCommands::findCellAndGridIndex( Rim3dView* mainOrComparisonView,
|
||||||
const RivIntersectionBoxSourceInfo* intersectionBoxSourceInfo,
|
const RivBoxIntersectionSourceInfo* intersectionBoxSourceInfo,
|
||||||
cvf::uint firstPartTriangleIndex,
|
cvf::uint firstPartTriangleIndex,
|
||||||
size_t* cellIndex,
|
size_t* cellIndex,
|
||||||
size_t* gridIndex )
|
size_t* gridIndex )
|
||||||
|
@ -32,7 +32,7 @@ class RimGeoMechView;
|
|||||||
class RimExtrudedCurveIntersection;
|
class RimExtrudedCurveIntersection;
|
||||||
class Rim3dView;
|
class Rim3dView;
|
||||||
class RiuViewer;
|
class RiuViewer;
|
||||||
class RivIntersectionBoxSourceInfo;
|
class RivBoxIntersectionSourceInfo;
|
||||||
class RivExtrudedCurveIntersectionSourceInfo;
|
class RivExtrudedCurveIntersectionSourceInfo;
|
||||||
class RiuPickItemInfo;
|
class RiuPickItemInfo;
|
||||||
|
|
||||||
@ -76,7 +76,7 @@ private:
|
|||||||
size_t* cellIndex,
|
size_t* cellIndex,
|
||||||
size_t* gridIndex );
|
size_t* gridIndex );
|
||||||
void findCellAndGridIndex( Rim3dView* mainOrComparisonView,
|
void findCellAndGridIndex( Rim3dView* mainOrComparisonView,
|
||||||
const RivIntersectionBoxSourceInfo* intersectionBoxSourceInfo,
|
const RivBoxIntersectionSourceInfo* intersectionBoxSourceInfo,
|
||||||
cvf::uint firstPartTriangleIndex,
|
cvf::uint firstPartTriangleIndex,
|
||||||
size_t* cellIndex,
|
size_t* cellIndex,
|
||||||
size_t* gridIndex );
|
size_t* gridIndex );
|
||||||
|
Loading…
Reference in New Issue
Block a user