Remove obsolete code

This commit is contained in:
Jacob Støren 2018-02-06 14:39:19 +01:00
parent 69cc77e026
commit 59b0a4bd1e
4 changed files with 1 additions and 6 deletions

View File

@ -54,7 +54,6 @@ public:
// Appearance
void setRadius(double radius);
void setCrossSectionVertexCount(size_t vertexCount);
void setPipeColor(cvf::Color3f val) { m_pipeColor = val; }
cvf::ref<cvf::DrawableGeo> createPipeSurface();
cvf::ref<cvf::DrawableGeo> createCenterLine();
@ -100,5 +99,4 @@ private:
double m_minimumBendAngle;
double m_bendScalingFactor;
size_t m_crossSectionNodeCount;
cvf::Color3f m_pipeColor;
};

View File

@ -117,7 +117,6 @@ void RivSimWellPipesPartMgr::buildWellPipeParts()
pbd.m_pipeGeomGenerator->setRadius(pipeRadius);
pbd.m_pipeGeomGenerator->setCrossSectionVertexCount(m_rimReservoirView->wellCollection()->pipeCrossSectionVertexCount());
pbd.m_pipeGeomGenerator->setPipeColor( m_rimWell->wellPipeColor());
cvf::ref<cvf::Vec3dArray> cvfCoords = new cvf::Vec3dArray;
cvfCoords->assign(m_pipeBranchesCLCoords[brIdx]);

View File

@ -125,7 +125,6 @@ void RivWellHeadPartMgr::buildWellHeadParts(size_t frameIndex)
cvf::ref<RivPipeGeometryGenerator> pipeGeomGenerator = new RivPipeGeometryGenerator;
pipeGeomGenerator->setPipeCenterCoords(wellHeadPipeCoords.p());
pipeGeomGenerator->setPipeColor(well->wellPipeColor());
pipeGeomGenerator->setCrossSectionVertexCount(m_rimReservoirView->wellCollection()->pipeCrossSectionVertexCount());

View File

@ -231,8 +231,7 @@ void RivWellPathPartMgr::buildWellPathParts(const caf::DisplayCoordTransform* di
m_pipeGeomGenerator = new RivPipeGeometryGenerator;
m_pipeGeomGenerator->setRadius(wellPathRadius);
m_pipeGeomGenerator->setCrossSectionVertexCount(wellPathCollection->wellPathCrossSectionVertexCount());
m_pipeGeomGenerator->setPipeColor( m_rimWellPath->wellPathColor());
m_pipeGeomGenerator->setCrossSectionVertexCount(wellPathCollection->wellPathCrossSectionVertexCount());
cvf::ref<cvf::Vec3dArray> cvfCoords = new cvf::Vec3dArray;
if (wellPathCollection->wellPathClip)