mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#3512 System : Remove unused functions
This commit is contained in:
@@ -65,23 +65,6 @@ void RivPatchGenerator::setSubdivisions(const std::vector<double>& uValues, cons
|
||||
m_vValues = vValues;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RivPatchGenerator::setQuads(bool useQuads)
|
||||
{
|
||||
m_useQuads = useQuads;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RivPatchGenerator::setWindingCCW(bool windingCCW)
|
||||
{
|
||||
m_windingCCW = windingCCW;
|
||||
}
|
||||
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
@@ -45,9 +45,6 @@ public:
|
||||
void setAxes(const cvf::Vec3d& axisU, const cvf::Vec3d& axisV);
|
||||
void setSubdivisions(const std::vector<double>& uValues, const std::vector<double>& vValues);
|
||||
|
||||
void setQuads(bool useQuads);
|
||||
void setWindingCCW(bool windingCCW);
|
||||
|
||||
void generate(cvf::GeometryBuilder* builder);
|
||||
|
||||
private:
|
||||
|
||||
@@ -849,48 +849,6 @@ void RivIntersectionPartMgr::createExtrusionDirParts(bool useBufferObjects)
|
||||
}
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
cvf::ref<cvf::Part>
|
||||
createStdSurfacePart(cvf::DrawableGeo* geometry, const cvf::Color3f& color, cvf::String name, cvf::Object* sourceInfo)
|
||||
{
|
||||
if (!geometry) return nullptr;
|
||||
|
||||
cvf::ref<cvf::Part> part = new cvf::Part;
|
||||
part->setName(name);
|
||||
part->setDrawable(geometry);
|
||||
|
||||
caf::SurfaceEffectGenerator surfaceGen(color, caf::PO_1);
|
||||
cvf::ref<cvf::Effect> eff = surfaceGen.generateCachedEffect();
|
||||
part->setEffect(eff.p());
|
||||
|
||||
part->setSourceInfo(sourceInfo);
|
||||
part->updateBoundingBox();
|
||||
|
||||
return part;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
cvf::ref<cvf::Part> createStdLinePart(cvf::DrawableGeo* geometry, const cvf::Color3f& color, cvf::String name)
|
||||
{
|
||||
if (!geometry) return nullptr;
|
||||
|
||||
cvf::ref<cvf::Part> part = new cvf::Part;
|
||||
part->setName(name);
|
||||
part->setDrawable(geometry);
|
||||
|
||||
caf::MeshEffectGenerator gen(color);
|
||||
cvf::ref<cvf::Effect> eff = gen.generateCachedEffect();
|
||||
|
||||
part->setEffect(eff.p());
|
||||
part->updateBoundingBox();
|
||||
|
||||
return part;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
@@ -59,26 +59,6 @@ void RivPipeGeometryGenerator::setPipeCenterCoords(const cvf::Vec3dArray* coords
|
||||
clearComputedData();
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RivPipeGeometryGenerator::setMinimumBendAngle(double degrees)
|
||||
{
|
||||
m_minimumBendAngle = degrees;
|
||||
|
||||
clearComputedData();
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RivPipeGeometryGenerator::setBendScalingFactor(double scaleFactor)
|
||||
{
|
||||
m_bendScalingFactor = scaleFactor;
|
||||
|
||||
clearComputedData();
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
@@ -43,14 +43,7 @@ public:
|
||||
|
||||
// Coordinates and orientations
|
||||
void setPipeCenterCoords(const cvf::Vec3dArray* coords);
|
||||
|
||||
// Pipe bends with a opening angle below given angle is modified with extra bend coordinates
|
||||
void setMinimumBendAngle(double degrees);
|
||||
|
||||
// Scaling factor used to control how far from original pipe position the extra bend coordinates are located
|
||||
// This will affect how sharp or smooth bend will appear
|
||||
void setBendScalingFactor(double scaleFactor);
|
||||
|
||||
// Appearance
|
||||
void setRadius(double radius);
|
||||
void setCrossSectionVertexCount(size_t vertexCount);
|
||||
@@ -106,7 +99,13 @@ private:
|
||||
size_t m_firstVisibleSegmentIndex;
|
||||
|
||||
double m_radius;
|
||||
|
||||
// Pipe bends with a opening angle below given angle is modified with extra bend coordinates
|
||||
double m_minimumBendAngle;
|
||||
|
||||
// Scaling factor used to control how far from original pipe position the extra bend coordinates are located
|
||||
// This will affect how sharp or smooth bend will appear
|
||||
double m_bendScalingFactor;
|
||||
|
||||
size_t m_crossSectionNodeCount;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user