3D Well Log Curves (#2671): Apply white background to curve draw plane.

This commit is contained in:
Gaute Lindkvist
2018-04-16 10:35:56 +02:00
parent 54097b7cc0
commit 5e6613d428
4 changed files with 133 additions and 71 deletions

View File

@@ -42,24 +42,24 @@ class RimWellPath;
class Riv3dWellLogGridGeometryGenerator : public cvf::Object
{
public:
enum DrawableId
{
NormalLines = 0,
GridBorder = 1,
GridBackground = 2
};
Riv3dWellLogGridGeometryGenerator(RimWellPath* wellPath);
std::map<DrawableId, cvf::ref<cvf::DrawableGeo> >
createGrid(const caf::DisplayCoordTransform* displayCoordTransform,
const cvf::BoundingBox& wellPathClipBoundingBox,
double planeAngle,
double planeOffsetFromWellPathCenter,
double planeWidth,
double gridIntervalSize) const;
bool createGrid(const caf::DisplayCoordTransform* displayCoordTransform,
const cvf::BoundingBox& wellPathClipBoundingBox,
double planeAngle,
double planeOffsetFromWellPathCenter,
double planeWidth,
double gridIntervalSize);
cvf::ref<cvf::DrawableGeo> background();
cvf::ref<cvf::DrawableGeo> border();
cvf::ref<cvf::DrawableGeo> normalLines();
private:
const RigWellPath* wellPathGeometry() const;
private:
caf::PdmPointer<RimWellPath> m_wellPath;
cvf::ref<cvf::DrawableGeo> m_background;
cvf::ref<cvf::DrawableGeo> m_border;
cvf::ref<cvf::DrawableGeo> m_normalLines;
};