Cell edge visualization can now handle individual per face center values

This commit is contained in:
Magne Sjaastad
2014-08-12 14:36:15 +02:00
parent debd17a3ab
commit 245573e03c
4 changed files with 104 additions and 65 deletions

View File

@@ -138,6 +138,11 @@ cvf::ref<RigResultAccessor> RigResultAccessorFactory::createResultAccessor(RigCa
size_t timeStepIndex,
size_t resultIndex)
{
if (resultIndex == cvf::UNDEFINED_SIZE_T)
{
return new RigHugeValResultAccessor;
}
if (!eclipseCase) return NULL;
RigGridBase* grid = eclipseCase->grid(gridIndex);

View File

@@ -45,6 +45,13 @@ public:
const QString& uiResultName,
RimDefines::ResultCatType resultType);
static cvf::ref<RigResultAccessor>
createResultAccessor(RigCaseData* eclipseCase,
size_t gridIndex,
RifReaderInterface::PorosityModelResultType porosityModel,
size_t timeStepIndex,
size_t resultIndex);
// TO BE DELETED
static cvf::ref<cvf::StructGridScalarDataAccess>
@@ -63,12 +70,6 @@ private:
size_t timeStepIndex,
const QString& resultName);
static cvf::ref<RigResultAccessor>
createResultAccessor(RigCaseData* eclipseCase,
size_t gridIndex,
RifReaderInterface::PorosityModelResultType porosityModel,
size_t timeStepIndex,
size_t resultIndex);
};