mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Created static method for update of texture coordinates
This commit is contained in:
@@ -35,6 +35,25 @@ class RimResultSlot;
|
||||
class RimCellEdgeResultSlot;
|
||||
class RimFaultCollection;
|
||||
|
||||
|
||||
|
||||
//==================================================================================================
|
||||
///
|
||||
///
|
||||
//==================================================================================================
|
||||
class RivTransmissibilityColorMapper
|
||||
{
|
||||
public:
|
||||
static void updateCombinedTransmissibilityTextureCoordinates(
|
||||
RimResultSlot* cellResultSlot,
|
||||
const RigGridBase* grid,
|
||||
cvf::Vec2fArray* textureCoords,
|
||||
const std::vector<cvf::StructGridInterface::FaceType>& quadsToFaceTypes,
|
||||
const std::vector<size_t>& quadsToGridCells);
|
||||
};
|
||||
|
||||
|
||||
|
||||
//==================================================================================================
|
||||
///
|
||||
/// RivGridGeometry: Class to handle visualization structures that embodies a specific grid at a specific time step.
|
||||
@@ -43,20 +62,6 @@ class RimFaultCollection;
|
||||
///
|
||||
//==================================================================================================
|
||||
|
||||
class RivTransmissibilityColorMapper
|
||||
{
|
||||
public:
|
||||
static void transmissibilitiesTextureCoordinates(cvf::Vec2fArray* textureCoords,
|
||||
const cvf::StructGridScalarDataAccess* dataAccessObjectTranX,
|
||||
const cvf::StructGridScalarDataAccess* dataAccessObjectTranY,
|
||||
const cvf::StructGridScalarDataAccess* dataAccessObjectTranZ,
|
||||
const cvf::ScalarMapper* mapper,
|
||||
const std::vector<cvf::StructGridInterface::FaceType>& m_quadsToFaceTypes,
|
||||
const std::vector<size_t>& m_quadsToGridCells
|
||||
);
|
||||
};
|
||||
|
||||
|
||||
class RivGridPartMgr: public cvf::Object
|
||||
{
|
||||
public:
|
||||
@@ -73,8 +78,6 @@ public:
|
||||
|
||||
void appendPartsToModel(cvf::ModelBasicList* model);
|
||||
|
||||
void updateTransmissibilityCellResultColor(size_t timeStepIndex, RimResultSlot* cellResultSlot);
|
||||
|
||||
private:
|
||||
void generatePartGeometry(cvf::StructGridGeometryGenerator& geoBuilder, bool faultGeometry);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user