mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#1335 Connection arrows for all cross-flows also. Made ready for options to show straight arrows, and adjusted a bit.
This commit is contained in:
@@ -23,6 +23,7 @@
|
||||
|
||||
#include "cafPdmPointer.h"
|
||||
#include "cvfVector3.h"
|
||||
#include "cvfColor4.h"
|
||||
|
||||
#include <list>
|
||||
#include <vector>
|
||||
@@ -32,6 +33,7 @@ namespace cvf
|
||||
{
|
||||
class ModelBasicList;
|
||||
class DrawableGeo;
|
||||
class Part;
|
||||
}
|
||||
|
||||
class RivPipeGeometryGenerator;
|
||||
@@ -48,8 +50,16 @@ public:
|
||||
~RivWellConnectionsPartMgr();
|
||||
|
||||
void appendDynamicGeometryPartsToModel(cvf::ModelBasicList* model, size_t frameIndex);
|
||||
|
||||
|
||||
|
||||
|
||||
private:
|
||||
cvf::ref<cvf::Part> createArrowPart(const cvf::Vec3f& startPoint,
|
||||
const cvf::Vec3f& endPoint,
|
||||
float width,
|
||||
bool isProducer,
|
||||
const cvf::Color4f& arrowColor,
|
||||
bool enableLighting);
|
||||
cvf::ref< cvf::DrawableGeo> createArrowGeometry(const cvf::Vec3f& startPoint,
|
||||
const cvf::Vec3f& endPoint,
|
||||
double width,
|
||||
@@ -57,5 +67,7 @@ private:
|
||||
|
||||
private:
|
||||
caf::PdmPointer<RimEclipseView> m_rimReservoirView;
|
||||
caf::PdmPointer<RimEclipseWell> m_rimWell;
|
||||
caf::PdmPointer<RimEclipseWell> m_rimWell;
|
||||
|
||||
bool m_useCurvedArrows;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user