Wip - reactoring result texture handling

This commit is contained in:
Jacob Støren
2014-06-24 22:49:56 +02:00
committed by Magne Sjaastad
parent 710395bb85
commit fc1c7c0b0f
3 changed files with 125 additions and 25 deletions

View File

@@ -90,7 +90,12 @@ public:
private:
void generatePartGeometry(cvf::StructGridGeometryGenerator& geoBuilder, bool faultGeometry);
void applyResultsToPart(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,
const cvf::StructGridQuadToCellFaceMapper* quadsToCellFaceMapper,
cvf::Vec2fArray* resultTextureCoords);
private:
size_t m_gridIdx;
cvf::cref<RigGridBase> m_grid;