Now reading Odb-file and creating display model

Nothing shows up yet, but we're getting there
This commit is contained in:
Jacob Støren
2015-04-27 13:51:22 +02:00
parent ea3d2dc40d
commit 0f3d9ffa60
14 changed files with 327 additions and 8 deletions

View File

@@ -26,9 +26,15 @@
#include "cafPdmFieldCvfColor.h"
#include "cafPdmFieldCvfMat4d.h"
#include "cvfObject.h"
class RimGeoMechResultSlot;
class Rim3dOverlayInfoConfig;
class RiuViewer;
class RimGeoMechCase;
class RivGeoMechPartMgr;
class RigFemPart;
//==================================================================================================
///
@@ -56,6 +62,8 @@ public:
FAULTS,
NO_SURFACE
};
void setGeoMechCase(RimGeoMechCase* gmCase);
void loadDataAndUpdate();
caf::PdmField<RimGeoMechResultSlot*> cellResult;
@@ -78,5 +86,19 @@ protected:
private:
void updateViewerWidget();
void updateViewerWidgetWindowTitle();
void createDisplayModelAndRedraw();
QPointer<RiuViewer> m_viewer;
caf::PdmPointer<RimGeoMechCase> m_geomechCase;
cvf::ref<RivGeoMechPartMgr> m_geoMechVizModel;
};
#include "cvfArray.h"
class RivElmVisibilityCalculator
{
public:
static void computeAllVisible(cvf::UByteArray* elmVisibilities, const RigFemPart* femPart );
};