Fesapi 2.13.0.0
This project provides C++ classes which allow an easy access in import and export to the Energistics standards.
Loading...
Searching...
No Matches
resqml2_0_1::IjkGridLatticeRepresentation Class Referencefinal

An ijk grid lattice representation. This class cannot be inherited. More...

#include <IjkGridLatticeRepresentation.h>

Inheritance diagram for resqml2_0_1::IjkGridLatticeRepresentation:
resqml2::IjkGridLatticeRepresentation resqml2::AbstractIjkGridRepresentation resqml2::AbstractColumnLayerGridRepresentation resqml2::AbstractGridRepresentation resqml2::AbstractRepresentation common::AbstractObject

Public Member Functions

 IjkGridLatticeRepresentation (common::DataObjectRepository *repo, const std::string &guid, const std::string &title, unsigned int iCount, unsigned int jCount, unsigned int kCount)
 IjkGridLatticeRepresentation (resqml2::AbstractFeatureInterpretation *interp, const std::string &guid, const std::string &title, unsigned int iCount, unsigned int jCount, unsigned int kCount)
 IjkGridLatticeRepresentation (gsoap_resqml2_0_1::_resqml20__IjkGridRepresentation *fromGsoap)
 Creates an instance of this class by wrapping a gSOAP instance.
 IjkGridLatticeRepresentation (gsoap_resqml2_0_1::_resqml20__TruncatedIjkGridRepresentation *fromGsoap)
 Creates an instance of this class by wrapping a gSOAP instance.
 ~IjkGridLatticeRepresentation ()=default
double getXOrigin () const final
double getYOrigin () const final
double getZOrigin () const final
double getXIOffset () const final
double getYIOffset () const final
double getZIOffset () const final
double getXJOffset () const final
double getYJOffset () const final
double getZJOffset () const final
double getXKOffset () const final
double getYKOffset () const final
double getZKOffset () const final
double getISpacing () const final
double getJSpacing () const final
double getKSpacing () const final
int getOriginInline () const final
int getOriginCrossline () const final
int getInlineIOffset () const final
int getInlineJOffset () const final
int getInlineKOffset () const final
int getCrosslineIOffset () const final
int getCrosslineJOffset () const final
int getCrosslineKOffset () const final
void setGeometryAsCoordinateLineNodes (gsoap_resqml2_0_1::resqml20__PillarShape mostComplexPillarGeometry, gsoap_resqml2_0_1::resqml20__KDirection kDirectionKind, bool isRightHanded, double originX, double originY, double originZ, double directionIX, double directionIY, double directionIZ, double spacingI, double directionJX, double directionJY, double directionJZ, double spacingJ, double directionKX, double directionKY, double directionKZ, double spacingK, eml2::AbstractLocal3dCrs *localCrs=nullptr) final
void addSeismic3dCoordinatesToPatch (unsigned int patchIndex, double startInline, double incrInline, unsigned int countInline, double startCrossline, double incrCrossline, unsigned int countCrossline, unsigned int countSample, resqml2::AbstractRepresentation *seismicSupport) final
common::DataObjectReference getHdfProxyDor () const final
 Gets the data object reference of the HDF proxy which is used for storing the numerical values of this representation (i.e. its geometry).
std::string getXmlNamespace () const final
Public Member Functions inherited from resqml2::IjkGridLatticeRepresentation
bool isASeismicCube () const
bool isAFaciesCube () const
void getXyzPointsOfPatch (unsigned int patchIndex, double *xyzPoints) const final
double getXOriginInGlobalCrs () const
double getYOriginInGlobalCrs () const
double getZOriginInGlobalCrs () const
geometryKind getGeometryKind () const final
Public Member Functions inherited from resqml2::AbstractIjkGridRepresentation
 AbstractIjkGridRepresentation (common::DataObjectRepository *repo, const std::string &guid, const std::string &title, unsigned int iCount, unsigned int jCount, unsigned int kCount, bool *kGaps=nullptr, eml2::AbstractHdfProxy *proxy=nullptr)
 AbstractIjkGridRepresentation (resqml2::AbstractFeatureInterpretation *interp, const std::string &guid, const std::string &title, unsigned int iCount, unsigned int jCount, unsigned int kCount, bool *kGaps=nullptr, eml2::AbstractHdfProxy *proxy=nullptr)
 AbstractIjkGridRepresentation (gsoap_resqml2_0_1::eml20__DataObjectReference *partialObject, bool withTruncatedPillars=false)
virtual ~AbstractIjkGridRepresentation ()
unsigned int getICellCount () const
void setICellCount (unsigned int iCount)
unsigned int getJCellCount () const
void setJCellCount (unsigned int jCount)
 Sets the count of cells in the J direction.
uint64_t getCellCount () const final
unsigned int getColumnCount () const
unsigned int getPillarCount () const
uint64_t getKGapsCount () const
void getKGaps (bool *kGaps) const
uint64_t getFaceCount () const
unsigned int getIPillarFromGlobalIndex (unsigned int globalIndex) const
unsigned int getJPillarFromGlobalIndex (unsigned int globalIndex) const
unsigned int getGlobalIndexPillarFromIjIndex (unsigned int iPillar, unsigned int jPillar) const
unsigned int getIColumnFromGlobalIndex (unsigned int globalIndex) const
unsigned int getJColumnFromGlobalIndex (unsigned int globalIndex) const
unsigned int getGlobalIndexColumnFromIjIndex (unsigned int iColumn, unsigned int jColumn) const
unsigned int getGlobalIndexCellFromIjkIndex (unsigned int iCell, unsigned int jCell, unsigned int kCell) const
bool isRightHanded () const
void getPillarsOfSplitCoordinateLines (unsigned int *pillarIndices, bool reverseIAxis=false, bool reverseJAxis=false) const
void getColumnsOfSplitCoordinateLines (unsigned int *columnIndices, bool reverseIAxis=false, bool reverseJAxis=false) const
void getColumnCountOfSplitCoordinateLines (unsigned int *columnIndexCountPerSplitCoordinateLine) const
uint64_t getSplitCoordinateLineCount () const
uint64_t getBlockSplitCoordinateLineCount () const
uint64_t getSplitNodeCount () const
void getPillarGeometryIsDefined (bool *pillarGeometryIsDefined, bool reverseIAxis=false, bool reverseJAxis=false) const
bool hasCellGeometryIsDefinedFlags () const
void getCellGeometryIsDefinedFlags (bool *cellGeometryIsDefinedFlags, bool reverseIAxis=false, bool reverseJAxis=false, bool reverseKAxis=false) const
void setCellGeometryIsDefinedFlags (uint8_t *cellGeometryIsDefinedFlags, eml2::AbstractHdfProxy *proxy=nullptr)
void setAllCellGeometryFlagsToDefined ()
void loadSplitInformation ()
void loadBlockInformation (unsigned int iInterfaceStart, unsigned int iInterfaceEnd, unsigned int jInterfaceStart, unsigned int jInterfaceEnd, unsigned int kInterfaceStart, unsigned int kInterfaceEnd)
void unloadSplitInformation ()
bool isColumnEdgeSplitted (unsigned int iColumn, unsigned int jColumn, unsigned int edge) const
 Checks either a given column edge is splitted or not. This method requires that you have already loaded the split information.
uint64_t getXyzPointIndexFromCellCorner (unsigned int iCell, unsigned int jCell, unsigned int kCell, unsigned int corner) const
 Gets the XYZ point index in the HDF dataset from the corner of a cell. This method requires that you have already loaded the split information.
void getXyzPointOfBlockFromCellCorner (unsigned int iCell, unsigned int jCell, unsigned int kCell, unsigned int corner, const double *xyzPoints, double &x, double &y, double &z) const
 Gets the x, y and z values of the corner of a cell of a given block. This method requires that you have already both loaded the block information and get the geometry of the block thanks to getXyzPointsOfBlock().
uint64_t getXyzPointCountOfKInterface () const
uint64_t getXyzPointCountOfBlock () const
void getXyzPointsOfKInterface (unsigned int kInterface, double *xyzPoints)
virtual void getXyzPointsOfKInterfaceSequence (unsigned int kInterfaceStart, unsigned int kInterfaceEnd, double *xyzPoints)
 Gets all the XYZ points of a particular sequence of K interfaces. XYZ points are given in the local CRS.
virtual void getXyzPointsOfBlock (double *xyzPoints)
 Gets all the XYZ points of the current block. XYZ points are given in the local CRS. Block information must be loaded.
virtual bool isNodeGeometryCompressed () const
gsoap_resqml2_0_1::resqml20__KDirection getKDirection () const override
virtual uint64_t getXyzPointCountOfPatch (unsigned int patchIndex) const override
std::string getXmlTag () const final
uint64_t getPatchCount () const override
Public Member Functions inherited from resqml2::AbstractColumnLayerGridRepresentation
virtual ~AbstractColumnLayerGridRepresentation ()=default
uint64_t getKCellCount () const
void setKCellCount (uint64_t kCount)
void setIntervalAssociationWithStratigraphicOrganizationInterpretation (int64_t const *stratiUnitIndices, int64_t nullValue, resqml2::AbstractStratigraphicOrganizationInterpretation *stratiOrgInterp, eml2::AbstractHdfProxy *hdfProxy=nullptr)
common::DataObjectReference getStratigraphicOrganizationInterpretationDor () const final
bool hasIntervalStratigraphicUnitIndices () const
int64_t getIntervalStratigraphicUnitIndices (int64_t *stratiUnitIndices)
gsoap_resqml2_0_1::resqml20__PillarShape getMostComplexPillarGeometry () const
Public Member Functions inherited from resqml2::AbstractGridRepresentation
virtual ~AbstractGridRepresentation ()=default
std::vector< class GridConnectionSetRepresentation * > getGridConnectionSetRepresentationSet () const
uint64_t getGridConnectionSetRepresentationCount () const
class GridConnectionSetRepresentationgetGridConnectionSetRepresentation (uint64_t index) const
AbstractGridRepresentationgetParentGrid () const
common::DataObjectReference getParentGridDor () const
std::vector< resqml2::AbstractGridRepresentation * > getChildGridSet () const
uint64_t getChildGridCount () const
AbstractGridRepresentationgetChildGrid (uint64_t index) const
void setParentWindow (uint64_t *cellIndices, uint64_t cellIndexCount, class UnstructuredGridRepresentation *parentGrid, eml2::AbstractHdfProxy *proxy=nullptr)
void setParentWindow (unsigned int *columnIndices, uint64_t columnIndexCount, unsigned int kLayerIndexRegridStart, unsigned int *childCellCountPerInterval, unsigned int *parentCellCountPerInterval, uint64_t intervalCount, class AbstractColumnLayerGridRepresentation *parentGrid, eml2::AbstractHdfProxy *proxy=nullptr, double *childCellWeights=nullptr)
void setParentWindow (unsigned int iCellIndexRegridStart, unsigned int *childCellCountPerIInterval, unsigned int *parentCellCountPerIInterval, uint64_t iIntervalCount, unsigned int jCellIndexRegridStart, unsigned int *childCellCountPerJInterval, unsigned int *parentCellCountPerJInterval, uint64_t jIntervalCount, unsigned int kCellIndexRegridStart, unsigned int *childCellCountPerKInterval, unsigned int *parentCellCountPerKInterval, uint64_t kIntervalCount, class AbstractIjkGridRepresentation *parentGrid, eml2::AbstractHdfProxy *proxy=nullptr, double *iChildCellWeights=nullptr, double *jChildCellWeights=nullptr, double *kChildCellWeights=nullptr)
void setParentWindow (unsigned int iCellIndexRegridStart, unsigned int constantChildCellCountPerIInterval, unsigned int constantParentCellCountPerIInterval, uint64_t iIntervalCount, unsigned int jCellIndexRegridStart, unsigned int constantChildCellCountPerJInterval, unsigned int constantParentCellCountPerJInterval, uint64_t jIntervalCount, unsigned int kCellIndexRegridStart, unsigned int constantChildCellCountPerKInterval, unsigned int constantParentCellCountPerKInterval, uint64_t kIntervalCount, class AbstractIjkGridRepresentation *parentGrid, eml2::AbstractHdfProxy *proxy=nullptr, double *iChildCellWeights=nullptr, double *jChildCellWeights=nullptr, double *kChildCellWeights=nullptr)
 Indicates that this grid takes place into another IJK parent grid. This method assumes that the count of cells per regrid interval is constant in both child and parent grids.
void setParentWindow (unsigned int iCellIndexRegridStart, unsigned int iChildCellCount, unsigned int iParentCellCount, unsigned int jCellIndexRegridStart, unsigned int jChildCellCount, unsigned int jParentCellCount, unsigned int kCellIndexRegridStart, unsigned int kChildCellCount, unsigned int kParentCellCount, class AbstractIjkGridRepresentation *parentGrid, eml2::AbstractHdfProxy *proxy=nullptr, double *iChildCellWeights=nullptr, double *jChildCellWeights=nullptr, double *kChildCellWeights=nullptr)
void setForcedNonRegridedParentCell (uint64_t *cellIndices, uint64_t cellIndexCount)
void setCellOverlap (uint64_t parentChildCellPairCount, uint64_t *parentChildCellPair, const std::string &volumeUom, double *overlapVolumes=nullptr)
uint64_t getParentCellIndexCount () const
void getParentCellIndices (uint64_t *parentCellIndices) const
uint64_t getParentColumnIndexCount () const
void getParentColumnIndices (uint64_t *parentColumnIndices) const
uint64_t getRegridStartIndexOnParentGrid (char dimension) const
uint64_t getRegridIntervalCount (char dimension) const
bool isRegridCellCountPerIntervalConstant (char dimension, bool childVsParentCellCount) const
uint64_t getRegridConstantCellCountPerInterval (char dimension, bool childVsParentCellCount) const
void getRegridCellCountPerInterval (char dimension, uint64_t *childCellCountPerInterval, bool childVsParentCellCount) const
bool hasRegridChildCellWeights (char dimension) const
void getRegridChildCellWeights (char dimension, double *childCellWeights) const
bool hasForcedNonRegridedParentCell () const
void setCellAssociationWithStratigraphicOrganizationInterpretation (int64_t *stratiUnitIndices, int64_t nullValue, class AbstractStratigraphicOrganizationInterpretation *stratiOrgInterp)
class AbstractStratigraphicOrganizationInterpretationgetStratigraphicOrganizationInterpretation () const
bool hasCellStratigraphicUnitIndices () const
int64_t getCellStratigraphicUnitIndices (int64_t *stratiUnitIndices)
void setCellAssociationWithRockFluidOrganizationInterpretation (int64_t *rockFluidUnitIndices, int64_t nullValue, class RockFluidOrganizationInterpretation *rockFluidOrgInterp)
class RockFluidOrganizationInterpretationgetRockFluidOrganizationInterpretation () const
virtual common::DataObjectReference getRockFluidOrganizationInterpretationDor () const
bool hasCellFluidPhaseUnitIndices () const
int64_t getCellFluidPhaseUnitIndices (int64_t *rockfluidUnitIndices)
bool isTruncated () const
uint64_t getTruncatedFaceCount () const
void getNodeIndicesOfTruncatedFaces (uint64_t *nodeIndices) const
void getCumulativeNodeCountPerTruncatedFace (uint64_t *nodeCountPerFace) const
void getNodeCountPerTruncatedFace (uint64_t *nodeCountPerFace) const
uint64_t getTruncatedCellCount () const
void getTruncatedCellIndices (uint64_t *cellIndices) const
void getTruncatedFaceIndicesOfTruncatedCells (uint64_t *faceIndices) const
void getCumulativeTruncatedFaceCountPerTruncatedCell (uint64_t *cumulativeFaceCountPerCell) const
void getTruncatedFaceCountPerTruncatedCell (uint64_t *faceCountPerCell) const
void getNonTruncatedFaceIndicesOfTruncatedCells (uint64_t *faceIndices) const
void getCumulativeNonTruncatedFaceCountPerTruncatedCell (uint64_t *cumulativeFaceCountPerCell) const
void getNonTruncatedFaceCountPerTruncatedCell (uint64_t *faceCountPerCell) const
void getTruncatedFaceIsRightHanded (uint8_t *cellFaceIsRightHanded) const
void loadTargetRelationships () override
Public Member Functions inherited from resqml2::AbstractRepresentation
virtual ~AbstractRepresentation ()=default
eml2::AbstractLocal3dCrsgetLocalCrs (uint64_t patchIndex) const
virtual common::DataObjectReference getLocalCrsDor (uint64_t patchIndex) const
void setTimeIndex (uint64_t timeIndex, eml2::TimeSeries *timeSeries)
uint64_t getTimeIndex () const
 Gets the time index of this representation in the associated TimeSeries. Be sure to first check that a TimeSeries is associated this representation by calling getTimeSeriesDor or getTimeSeries;.
eml2::TimeSeriesgetTimeSeries () const
common::DataObjectReference getTimeSeriesDor () const
 Gets the data object reference of the TimeSeries containing the time of this representation at a particular index. For now, this method only look for a TimeSeries at the first patch containing a point geometry.
std::vector< class AbstractProperty * > getPropertySet () const
void setInterpretation (class AbstractFeatureInterpretation *interp)
class AbstractFeatureInterpretationgetInterpretation () const
common::DataObjectReference getInterpretationDor () const
uint64_t getXyzPointCountOfAllPatches () const
void getXyzPointsOfPatchInGlobalCrs (unsigned int patchIndex, double *xyzPoints) const
 Gets all the xyz points of a particular patch of this representation. xyz points are given in the global CRS.
void getXyzPointsOfAllPatches (double *xyzPoints) const
 Gets all the xyz points of all patches of this representation. xyz points are given in the local CRS.
bool isInSingleLocalCrs () const
bool isInSingleGlobalCrs () const
void getXyzPointsOfAllPatchesInGlobalCrs (double *xyzPoints) const
AbstractRepresentationgetSeismicSupportOfPatch (const unsigned int &patchIndex) const
std::set< AbstractRepresentation * > getAllSeismicSupport () const
void pushBackIntoRepresentationSet (class RepresentationSetRepresentation *repSet)
void addSeismic3dCoordinatesToPatch (unsigned int patchIndex, double *inlines, double *crosslines, uint64_t pointCount, resqml2::AbstractRepresentation *seismicSupport, eml2::AbstractHdfProxy *proxy)
void addSeismic3dCoordinatesToPatch (unsigned int patchIndex, double startInline, double incrInline, unsigned int countInline, double startCrossline, double incrCrossline, unsigned int countCrossline, resqml2::AbstractRepresentation *seismicSupport)
void addSeismic2dCoordinatesToPatch (unsigned int patchIndex, double *lineAbscissa, resqml2::AbstractRepresentation *seismicSupport, eml2::AbstractHdfProxy *proxy)
void getSeismicLineAbscissaOfPointsOfPatch (unsigned int patchIndex, double *values) const
void getInlinesOfPointsOfPatch (unsigned int patchIndex, double *values) const
void getCrosslinesOfPointsOfPatch (unsigned int patchIndex, double *values) const
Public Member Functions inherited from common::AbstractObject
bool isPartial () const
virtual bool isTopLevelElement () const
std::string getUuid () const
std::string getTitle () const
std::string getEditor () const
time_t getCreation () const
tm getCreationAsTimeStructure () const
std::string getOriginator () const
std::string getDescription () const
time_t getLastUpdate () const
tm getLastUpdateAsTimeStructure () const
std::string getFormat () const
std::string getDescriptiveKeywords () const
std::string getVersion () const
void setTitle (const std::string &title)
void setEditor (const std::string &editor)
void setCreation (time_t creation)
void setCreation (const tm &creation)
void setOriginator (const std::string &originator)
void setDescription (const std::string &description)
void setLastUpdate (time_t lastUpdate)
void setLastUpdate (const tm &lastUpdate)
void setDescriptiveKeywords (const std::string &descriptiveKeywords)
void setVersion (const std::string &version)
void setMetadata (const std::string &title, const std::string &editor, time_t creation, const std::string &originator, const std::string &description, time_t lastUpdate, const std::string &descriptiveKeywords)
void serializeIntoStream (std::ostream *stream)
gsoap_resqml2_0_1::eml20__AbstractCitedDataObject * getEml20GsoapProxy () const
void setGsoapProxy (gsoap_resqml2_0_1::eml20__AbstractCitedDataObject *gsoapProxy)
gsoap_eml2_3::eml23__AbstractObject * getEml23GsoapProxy () const
void setGsoapProxy (gsoap_eml2_3::eml23__AbstractObject *gsoapProxy)
soap * getGsoapContext () const
int getGsoapType () const
gsoap_resqml2_0_1::eml20__DataObjectReference * newResqmlReference () const
gsoap_eml2_3::eml23__DataObjectReference * newEml23Reference () const
gsoap_resqml2_0_1::resqml20__ContactElementReference * newContactElementReference2_0_1 () const
gsoap_eml2_3::resqml22__ContactElement * newContactElementReference2_2 () const
common::DataObjectRepositorygetRepository () const
virtual std::string getXmlNamespaceVersion () const
virtual std::string getContentType () const
virtual std::string getQualifiedType () const
virtual std::string getPartNameInEpcDocument () const
std::string serializeIntoString ()
void addAlias (const std::string &authority, const std::string &title)
uint64_t getAliasCount () const
std::string getAliasAuthorityAtIndex (uint64_t index) const
std::string getAliasTitleAtIndex (uint64_t index) const
std::vector< eml2::Activity * > getActivitySet () const
uint64_t getActivityCount () const
eml2::ActivitygetActivity (uint64_t index) const
void pushBackExtraMetadata (const std::string &key, const std::string &value)
std::unordered_map< std::string, std::string > getExtraMetadataSet () const
std::vector< std::string > getExtraMetadata (const std::string &key) const
uint64_t getExtraMetadataCount () const
std::string getExtraMetadataKeyAtIndex (uint64_t index) const
std::string getExtraMetadataStringValueAtIndex (uint64_t index) const
std::string buildEtp12Uri () const
void setUriSource (const std::string &uriSource)
const std::string & getUriSource () const
std::string getEpcSourceFolder () const
void changeToPartialObject ()

Static Public Attributes

static const char * XML_NS
Static Public Attributes inherited from resqml2::AbstractIjkGridRepresentation
static constexpr char const * XML_TAG = "IjkGridRepresentation"
static constexpr char const * XML_TAG_TRUNCATED = "TruncatedIjkGridRepresentation"
Static Public Attributes inherited from resqml2::AbstractGridRepresentation
static constexpr char const * XML_TAG = "AbstractGridRepresentation"
Static Public Attributes inherited from resqml2::AbstractRepresentation
static constexpr char const * XML_TAG = "AbstractRepresentation"

Additional Inherited Members

Public Types inherited from resqml2::AbstractIjkGridRepresentation
enum class  geometryKind {
  UNKNOWN = 0 , EXPLICIT = 1 , PARAMETRIC = 2 , LATTICE = 3 ,
  NO_GEOMETRY = 4
}
Public Types inherited from common::AbstractObject
enum class  numericalDatatypeEnum {
  UNKNOWN = 0 , DOUBLE = 1 , FLOAT = 2 , INT64 = 3 ,
  UINT64 = 4 , INT32 = 5 , UINT32 = 6 , INT16 = 7 ,
  UINT16 = 8 , INT8 = 9 , UINT8 = 10
}
Static Public Member Functions inherited from common::AbstractObject
static void setFormat (const std::string &vendor, const std::string &applicationName, const std::string &applicationVersionNumber)

Detailed Description

An ijk grid lattice representation. This class cannot be inherited.

Constructor & Destructor Documentation

◆ IjkGridLatticeRepresentation() [1/4]

resqml2_0_1::IjkGridLatticeRepresentation::IjkGridLatticeRepresentation ( common::DataObjectRepository * repo,
const std::string & guid,
const std::string & title,
unsigned int iCount,
unsigned int jCount,
unsigned int kCount )
inline

Constructor

Parameters
[in,out]repoIf non-null, the repo.
guidUnique identifier.
titleThe title.
iCountNumber of.
jCountNumber of.
kCountNumber of.

◆ IjkGridLatticeRepresentation() [2/4]

resqml2_0_1::IjkGridLatticeRepresentation::IjkGridLatticeRepresentation ( resqml2::AbstractFeatureInterpretation * interp,
const std::string & guid,
const std::string & title,
unsigned int iCount,
unsigned int jCount,
unsigned int kCount )
inline

Constructor

Parameters
[in,out]interpIf non-null, the interp.
guidUnique identifier.
titleThe title.
iCountNumber of.
jCountNumber of.
kCountNumber of.

◆ IjkGridLatticeRepresentation() [3/4]

resqml2_0_1::IjkGridLatticeRepresentation::IjkGridLatticeRepresentation ( gsoap_resqml2_0_1::_resqml20__IjkGridRepresentation * fromGsoap)
inline

Creates an instance of this class by wrapping a gSOAP instance.

Parameters
[in]fromGsoapIf non-null, the gSOAP instance.

◆ IjkGridLatticeRepresentation() [4/4]

resqml2_0_1::IjkGridLatticeRepresentation::IjkGridLatticeRepresentation ( gsoap_resqml2_0_1::_resqml20__TruncatedIjkGridRepresentation * fromGsoap)
inline

Creates an instance of this class by wrapping a gSOAP instance.

Parameters
[in]fromGsoapIf non-null, the gSOAP instance.

◆ ~IjkGridLatticeRepresentation()

resqml2_0_1::IjkGridLatticeRepresentation::~IjkGridLatticeRepresentation ( )
virtualdefault

Destructor does nothing since the memory is managed by the gsoap context.

Reimplemented from resqml2::IjkGridLatticeRepresentation.

Member Function Documentation

◆ addSeismic3dCoordinatesToPatch()

void resqml2_0_1::IjkGridLatticeRepresentation::addSeismic3dCoordinatesToPatch ( unsigned int patchIndex,
double startInline,
double incrInline,
unsigned int countInline,
double startCrossline,
double incrCrossline,
unsigned int countCrossline,
unsigned int countSample,
resqml2::AbstractRepresentation * seismicSupport )
finalvirtual

Pushes back a patch of seismic 3D coordinates.

Exceptions
std::logic_errorIf this grid is partial.
std::invalid_argumentIf patchIndex does not identify a point geometry.
std:invalid_argumentIf seismicSupport is nullptr.
std::invalid_argumentIf it already exists some seismic 2d coordinates for this patch.
Parameters
patchIndexZero-based index of the patch to push. It must be consistent with the index of the geometry patch it is related to.
startInlineThe start inline.
incrInlineThe inline increment.
countInlineThe count of inlines.
startCrosslineThe start crossline.
incrCrosslineThe crossline increment.
countCrosslineThe count of crosslines.
countSampleThe count of samples.
[in]seismicSupportThe seismic support of the patch to push.

Implements resqml2::IjkGridLatticeRepresentation.

◆ getCrosslineIOffset()

int resqml2_0_1::IjkGridLatticeRepresentation::getCrosslineIOffset ( ) const
finalvirtual

Gets the crossline I offset value.

Exceptions
std::logic_errorIf this grid is partial.
Returns
The crossline I offset value if successful, otherwise 0.

Implements resqml2::IjkGridLatticeRepresentation.

◆ getCrosslineJOffset()

int resqml2_0_1::IjkGridLatticeRepresentation::getCrosslineJOffset ( ) const
finalvirtual

Gets the crossline J offset value.

Exceptions
std::logic_errorIf this grid is partial.
Returns
The crossline J offset value if successful, otherwise 0.

Implements resqml2::IjkGridLatticeRepresentation.

◆ getCrosslineKOffset()

int resqml2_0_1::IjkGridLatticeRepresentation::getCrosslineKOffset ( ) const
finalvirtual

Gets the crossline K offset value.

Exceptions
std::logic_errorIf this grid is partial.
Returns
The crossline K offset value if successful, otherwise 0.

Implements resqml2::IjkGridLatticeRepresentation.

◆ getHdfProxyDor()

common::DataObjectReference resqml2_0_1::IjkGridLatticeRepresentation::getHdfProxyDor ( ) const
finalvirtual

Gets the data object reference of the HDF proxy which is used for storing the numerical values of this representation (i.e. its geometry).

Exceptions
std::logic_errorIf this representation is partial.
Returns
The data object reference of the HDF proxy used for storing the geometry, or empty data object reference if it fails.

Reimplemented from resqml2::AbstractIjkGridRepresentation.

◆ getInlineIOffset()

int resqml2_0_1::IjkGridLatticeRepresentation::getInlineIOffset ( ) const
finalvirtual

Gets the inline I offset value.

Exceptions
std::logic_errorIf this grid is partial.
Returns
The inline I offset value if successful, otherwise 0.

Implements resqml2::IjkGridLatticeRepresentation.

◆ getInlineJOffset()

int resqml2_0_1::IjkGridLatticeRepresentation::getInlineJOffset ( ) const
finalvirtual

Gets the inline J offset value.

Exceptions
std::logic_errorIf this grid is partial.
Returns
The inline J offset value if successful, otherwise 0.

Implements resqml2::IjkGridLatticeRepresentation.

◆ getInlineKOffset()

int resqml2_0_1::IjkGridLatticeRepresentation::getInlineKOffset ( ) const
finalvirtual

Gets the inline K offset value.

Exceptions
std::logic_errorIf this grid is partial.
Returns
The inline K offset value if successful, otherwise 0.

Implements resqml2::IjkGridLatticeRepresentation.

◆ getISpacing()

double resqml2_0_1::IjkGridLatticeRepresentation::getISpacing ( ) const
finalvirtual

Gets the I spacing of this regular (seismic) grid. I axis is fastest one in memory, whatever its direction is. K axis is fastest one in memory, whatever its direction is.

Exceptions
std::logic_errorIf this grid is partial.
Returns
The I spacing if successful, otherwise double.NAN.

Implements resqml2::IjkGridLatticeRepresentation.

◆ getJSpacing()

double resqml2_0_1::IjkGridLatticeRepresentation::getJSpacing ( ) const
finalvirtual

Gets the J spacing of this regular (seismic) grid. I axis is fastest one in memory, whatever its direction is. K axis is fastest one in memory, whatever its direction is.

Exceptions
std::logic_errorIf this grid is partial.
Returns
The J spacing if successful, otherwise double.NAN.

Implements resqml2::IjkGridLatticeRepresentation.

◆ getKSpacing()

double resqml2_0_1::IjkGridLatticeRepresentation::getKSpacing ( ) const
finalvirtual

Gets the K spacing of this regular (seismic) grid. I axis is fastest one in memory, whatever its direction is. K axis is fastest one in memory, whatever its direction is.

Exceptions
std::logic_errorIf this grid is partial.
Returns
The K spacing if successful, otherwise double.NAN.

Implements resqml2::IjkGridLatticeRepresentation.

◆ getOriginCrossline()

int resqml2_0_1::IjkGridLatticeRepresentation::getOriginCrossline ( ) const
finalvirtual

Gets the label of the first crossline.

Exceptions
std::logic_errorIf this grid is partial.
Returns
The label of the first crossline if successful, otherwise 0.

Implements resqml2::IjkGridLatticeRepresentation.

◆ getOriginInline()

int resqml2_0_1::IjkGridLatticeRepresentation::getOriginInline ( ) const
finalvirtual

Gets the label of the first inline.

Exceptions
std::logic_errorIf this grid is partial.
Returns
The label of the first inline if successful, otherwise 0.

Implements resqml2::IjkGridLatticeRepresentation.

◆ getXIOffset()

double resqml2_0_1::IjkGridLatticeRepresentation::getXIOffset ( ) const
finalvirtual

Gets the X coordinate of the I offset of this geometry. The X coordinate is given in the local CRS. I axis is fastest one in memory, whatever its direction is. K axis is fastest one in memory, whatever its direction is.

Exceptions
std::logic_errorIf this grid is partial.
Returns
The X coordinate of the I offset if successful, otherwise double.NAN.

Implements resqml2::IjkGridLatticeRepresentation.

◆ getXJOffset()

double resqml2_0_1::IjkGridLatticeRepresentation::getXJOffset ( ) const
finalvirtual

Gets the X coordinate of the J offset of this geometry. The X coordinate is given in the local CRS. I axis is fastest one in memory, whatever its direction is. K axis is fastest one in memory, whatever its direction is.

Exceptions
std::logic_errorIf this grid is partial.
Returns
The X coordinate of the J offset if successful, otherwise double.NAN.

Implements resqml2::IjkGridLatticeRepresentation.

◆ getXKOffset()

double resqml2_0_1::IjkGridLatticeRepresentation::getXKOffset ( ) const
finalvirtual

Gets the X coordinate of the K offset of this geometry. The X coordinate is given in the local CRS. I axis is fastest one in memory, whatever its direction is. K axis is fastest one in memory, whatever its direction is.

Exceptions
std::logic_errorIf this grid is partial.
Returns
The X coordinate of the K offset if successful, otherwise double.NAN.

Implements resqml2::IjkGridLatticeRepresentation.

◆ getXmlNamespace()

std::string resqml2_0_1::IjkGridLatticeRepresentation::getXmlNamespace ( ) const
inlinefinalvirtual

Get the standard XML namespace for serializing this data object.

Reimplemented from resqml2::AbstractIjkGridRepresentation.

◆ getXOrigin()

double resqml2_0_1::IjkGridLatticeRepresentation::getXOrigin ( ) const
finalvirtual

Gets the X coordinate of the origin of this geometry. The X coordinate is given in the local CRS.

Exceptions
std::logic_errorIf this grid is partial.
Returns
The X coordinate of the origin point if successful, otherwise double.NAN.

Implements resqml2::IjkGridLatticeRepresentation.

◆ getYIOffset()

double resqml2_0_1::IjkGridLatticeRepresentation::getYIOffset ( ) const
finalvirtual

Gets the Y coordinate of the I offset of this geometry. The Y coordinate is given in the local CRS. I axis is fastest one in memory, whatever its direction is. K axis is fastest one in memory, whatever its direction is.

Exceptions
std::logic_errorIf this grid is partial.
Returns
The Y coordinate of the I offset if successful, otherwise double.NAN.

Implements resqml2::IjkGridLatticeRepresentation.

◆ getYJOffset()

double resqml2_0_1::IjkGridLatticeRepresentation::getYJOffset ( ) const
finalvirtual

Gets the Y coordinate of the J offset of this geometry. The Y coordinate is given in the local CRS. I axis is fastest one in memory, whatever its direction is. K axis is fastest one in memory, whatever its direction is.

Exceptions
std::logic_errorIf this grid is partial.
Returns
The Y coordinate of the J offset if successful, otherwise double.NAN.

Implements resqml2::IjkGridLatticeRepresentation.

◆ getYKOffset()

double resqml2_0_1::IjkGridLatticeRepresentation::getYKOffset ( ) const
finalvirtual

Gets the Y coordinate of the K offset of this geometry. The Y coordinate is given in the local CRS. I axis is fastest one in memory, whatever its direction is. K axis is fastest one in memory, whatever its direction is.

Exceptions
std::logic_errorIf this grid is partial.
Returns
The Y coordinate of the K offset if successful, otherwise double.NAN.

Implements resqml2::IjkGridLatticeRepresentation.

◆ getYOrigin()

double resqml2_0_1::IjkGridLatticeRepresentation::getYOrigin ( ) const
finalvirtual

Gets the Y coordinate of the origin of this geometry. The Y coordinate is given in the local CRS.

Exceptions
std::logic_errorIf this grid is partial.
Returns
The Y coordinate of the origin point if successful, otherwise double.NAN.

Implements resqml2::IjkGridLatticeRepresentation.

◆ getZIOffset()

double resqml2_0_1::IjkGridLatticeRepresentation::getZIOffset ( ) const
finalvirtual

Gets the Z coordinate of the I offset of this geometry. The Z coordinate is given in the local CRS. I axis is fastest one in memory, whatever its direction is. K axis is fastest one in memory, whatever its direction is.

Exceptions
std::logic_errorIf this grid is partial.
Returns
The Z coordinate of the I offset if successful, otherwise double.NAN.

Implements resqml2::IjkGridLatticeRepresentation.

◆ getZJOffset()

double resqml2_0_1::IjkGridLatticeRepresentation::getZJOffset ( ) const
finalvirtual

Gets the Z coordinate of the J offset of this geometry. The Z coordinate is given in the local CRS. I axis is fastest one in memory, whatever its direction is. K axis is fastest one in memory, whatever its direction is.

Exceptions
std::logic_errorIf this grid is partial.
Returns
The Z coordinate of the J offset if successful, otherwise double.NAN.

Implements resqml2::IjkGridLatticeRepresentation.

◆ getZKOffset()

double resqml2_0_1::IjkGridLatticeRepresentation::getZKOffset ( ) const
finalvirtual

Gets the Z coordinate of the K offset of this geometry. The Z coordinate is given in the local CRS. I axis is fastest one in memory, whatever its direction is. K axis is fastest one in memory, whatever its direction is.

Exceptions
std::logic_errorIf this grid is partial.
Returns
The Z coordinate of the K offset if successful, otherwise double.NAN.

Implements resqml2::IjkGridLatticeRepresentation.

◆ getZOrigin()

double resqml2_0_1::IjkGridLatticeRepresentation::getZOrigin ( ) const
finalvirtual

Gets the Z coordinate of the origin of this geometry. The Z coordinate is given in the local CRS.

Exceptions
std::logic_errorIf this grid is partial.
Returns
The Z coordinate of the origin point if successful, otherwise double.NAN.

Implements resqml2::IjkGridLatticeRepresentation.

◆ setGeometryAsCoordinateLineNodes()

void resqml2_0_1::IjkGridLatticeRepresentation::setGeometryAsCoordinateLineNodes ( gsoap_resqml2_0_1::resqml20__PillarShape mostComplexPillarGeometry,
gsoap_resqml2_0_1::resqml20__KDirection kDirectionKind,
bool isRightHanded,
double originX,
double originY,
double originZ,
double directionIX,
double directionIY,
double directionIZ,
double spacingI,
double directionJX,
double directionJY,
double directionJZ,
double spacingJ,
double directionKX,
double directionKY,
double directionKZ,
double spacingK,
eml2::AbstractLocal3dCrs * localCrs = nullptr )
finalvirtual

Sets the geometry of this IJK grid as a regular IJK grid. I axis is fastest one in memory, whatever its direction is. K axis is fastest one in memory, whatever its direction is.

Exceptions
std::invalid_argumentIf localCrs is nullptr and no default local 3d CRS is defined.
Parameters
mostComplexPillarGeometryThe most complex pillar shape which we can find on this IJK grid.
kDirectionKindThe K direction kind.
isRightHandedIndicates that the IJK grid is right handed, as determined by the triple product of tangent vectors in the I, J, and K directions.
originXThe X coordinate of the origin.
originYThe Y coordinate of the origin.
originZThe Z coordinate of the origin.
directionIXThe X coordinate of the I offset.
directionIYThe Y coordinate of the I offset.
directionIZThe Z coordinate of the I offset.
spacingIThe spacing in the I direction.
directionJXThe X coordinate of the J offset.
directionJYThe Y coordinate of the J offset.
directionJZThe Z coordinate of the J offset.
spacingJThe spacing in the J direction.
directionKXThe X coordinate of the K offset.
directionKYThe Y coordinate of the K offset.
directionKZThe Z coordinate of the K offset.
spacingKThe spacing in the K direction.
[in]localCrs(Optional) The local CRS where the points are given. If nullptr (default) then the default CRS of the repository will be used.

Implements resqml2::IjkGridLatticeRepresentation.

Member Data Documentation

◆ XML_NS

const char* resqml2_0_1::IjkGridLatticeRepresentation::XML_NS
static

The standard XML namespace for serializing this data object.


The documentation for this class was generated from the following file: