mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Minor seismic surface lines fixes
* Support continuous lines along the seismic surface * Make sure watertight surface include all cells * Remove unused function and mark with static * Invert surface intersection line visibility control
This commit is contained in:
@@ -179,7 +179,9 @@ std::vector<std::vector<cvf::Vec3d>>
|
||||
{
|
||||
domainCurvePoints.emplace_back( intersectionPoint );
|
||||
}
|
||||
else
|
||||
|
||||
// Create a line segment if we did not find an intersection point or if we are at the end of the polyline
|
||||
if ( !foundMatch || ( point == resampledPolyline.back() ) )
|
||||
{
|
||||
if ( domainCurvePoints.size() > 1 )
|
||||
{
|
||||
|
||||
@@ -66,9 +66,6 @@ public:
|
||||
double lineThickness,
|
||||
const std::vector<RimSurface*>& surfaces );
|
||||
|
||||
private:
|
||||
cvf::ref<cvf::DrawableGeo> createXYPlaneQuadGeoWithTexCoords( const cvf::Vec3dArray& cornerPoints );
|
||||
|
||||
protected:
|
||||
cvf::TextureImage* createImageFromData( ZGYAccess::SeismicSliceData* data );
|
||||
|
||||
|
||||
@@ -54,7 +54,7 @@ public:
|
||||
const cvf::BoundingBox& boundingBox ) = 0;
|
||||
|
||||
protected:
|
||||
cvf::ref<cvf::DrawableGeo> createXYPlaneQuadGeoWithTexCoords( const cvf::Vec3dArray& cornerPoints );
|
||||
static cvf::ref<cvf::DrawableGeo> createXYPlaneQuadGeoWithTexCoords( const cvf::Vec3dArray& cornerPoints );
|
||||
cvf::ref<cvf::Part> createSingleTexturedQuadPart( const cvf::Vec3dArray& cornerPoints, cvf::ref<cvf::TextureImage> image, bool transparent );
|
||||
|
||||
cvf::ref<cvf::ShaderProgram> m_textureShaderProg;
|
||||
|
||||
Reference in New Issue
Block a user