First step in refactoring result texture handling

In order to support more derived reults properties
more consistently across cell/fault/nnc and celledgevisualizations
This commit is contained in:
Jacob Støren
2014-06-25 08:47:47 +02:00
committed by Magne Sjaastad
parent fc1c7c0b0f
commit 066a2c5749
2 changed files with 18 additions and 59 deletions

View File

@@ -90,7 +90,7 @@ public:
private:
void generatePartGeometry(cvf::StructGridGeometryGenerator& geoBuilder, bool faultGeometry);
void applyResultsToPart(cvf::Part* part, cvf::Vec2fArray* textureCoords, const cvf::ScalarMapper* mapper);
void applyTextureResultsToPart(cvf::Part* part, cvf::Vec2fArray* textureCoords, const cvf::ScalarMapper* mapper);
cvf::ref<cvf::Effect> createScalarMapperEffect(const cvf::ScalarMapper* mapper);
void setResultsTransparentForWellCells(const std::vector<cvf::ubyte>& isWellPipeVisibleForWellIndex,
const cvf::UIntArray* gridCellToWellIndexMap,