mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
2344 Tensor vectors: Code cleanup
This commit is contained in:
@@ -25,6 +25,8 @@
|
||||
|
||||
#include "cafPdmPointer.h"
|
||||
|
||||
#include "RimTensorResults.h"
|
||||
|
||||
#include <array>
|
||||
#include <vector>
|
||||
|
||||
@@ -60,8 +62,11 @@ private:
|
||||
private:
|
||||
cvf::ref<cvf::Part> createPart(std::vector<TensorVisualization>& tensorVisualizations) const;
|
||||
|
||||
static void assignColorVectors(RimTensorResults::TensorColors tensorColor, cvf::Color3f color1, cvf::Color3f color2, cvf::Color3f color3);
|
||||
static bool isTensorAddress(RigFemResultAddress address);
|
||||
static bool isValid(cvf::Vec3f resultVector);
|
||||
static bool isPressure(float principalValue);
|
||||
bool isDrawable(cvf::Vec3f resultVector, bool showPrincipal) const;
|
||||
|
||||
private:
|
||||
caf::PdmPointer<RimGeoMechView> m_rimReservoirView;
|
||||
|
||||
Reference in New Issue
Block a user