My Project
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
resqml2_0_1::AbstractSurfaceRepresentation Class Reference
Inheritance diagram for resqml2_0_1::AbstractSurfaceRepresentation:
resqml2::AbstractRepresentation resqml2::AbstractObject resqml2_0_1::Grid2dRepresentation resqml2_0_1::Grid2dSetRepresentation resqml2_0_1::TriangulatedSetRepresentation

Public Member Functions

virtual ~AbstractSurfaceRepresentation ()
 
void pushBackOuterRing (PolylineRepresentation *outerRing)
 
void setSurfaceRole (const gsoap_resqml2_0_1::resqml2__SurfaceRole &surfaceRole)
 
const gsoap_resqml2_0_1::resqml2__SurfaceRole & getSurfaceRole () const
 
- Public Member Functions inherited from resqml2::AbstractRepresentation
virtual ~AbstractRepresentation ()
 
class AbstractLocal3dCrsgetLocalCrs () const
 
virtual std::string getLocalCrsUuid () const
 
class AbstractHdfProxygetHdfProxy () const
 
virtual std::string getHdfProxyUuid () const =0
 
const std::vector< class AbstractProperty * > & getPropertySet () const
 
std::vector< class AbstractValuesProperty * > getValuesPropertySet () const
 
unsigned int getValuesPropertyCount () const
 
class AbstractValuesPropertygetValuesProperty (const unsigned int &index) const
 
void setInterpretation (class AbstractFeatureInterpretation *interp)
 
class AbstractFeatureInterpretationgetInterpretation () const
 
std::string getInterpretationUuid () const
 
std::string getInterpretationContentType () const
 
void addSubRepresentation (SubRepresentation *subRep)
 
std::vector< SubRepresentation * > getSubRepresentationSet () const
 
unsigned int getSubRepresentationCount () const
 
SubRepresentationgetSubRepresentation (const unsigned int &index) const
 
std::vector< SubRepresentation * > getFaultSubRepresentationSet () const
 
unsigned int getFaultSubRepresentationCount () const
 
SubRepresentationgetFaultSubRepresentation (const unsigned int &index) const
 
virtual ULONG64 getXyzPointCountOfPatch (const unsigned int &patchIndex) const =0
 
ULONG64 getXyzPointCountOfAllPatches () const
 
virtual void getXyzPointsOfPatch (const unsigned int &patchIndex, double *xyzPoints) const =0
 
void getXyzPointsOfPatchInGlobalCrs (const unsigned int &patchIndex, double *xyzPoints) const
 
void getXyzPointsOfAllPatches (double *xyzPoints) const
 
void getXyzPointsOfAllPatchesInGlobalCrs (double *xyzPoints) const
 
AbstractRepresentationgetSeismicSupportOfPatch (const unsigned int &patchIndex)
 
virtual unsigned int getPatchCount () const =0
 
void pushBackIntoRepresentationSet (class RepresentationSetRepresentation *repSet, bool xml=true)
 
void setHdfProxy (resqml2::AbstractHdfProxy *proxy)
 
void addSeismic3dCoordinatesToPatch (const unsigned int patchIndex, double *inlines, double *crosslines, const unsigned int &pointCount, resqml2::AbstractRepresentation *seismicSupport, resqml2::AbstractHdfProxy *proxy)
 
void addSeismic3dCoordinatesToPatch (const unsigned int patchIndex, const double &startInline, const double &incrInline, const unsigned int &countInline, const double &startCrossline, const double &incrCrossline, const unsigned int &countCrossline, resqml2::AbstractRepresentation *seismicSupport)
 
void addSeismic2dCoordinatesToPatch (const unsigned int patchIndex, double *lineAbscissa, const unsigned int &pointCount, resqml2::AbstractRepresentation *seismicSupport, resqml2::AbstractHdfProxy *proxy)
 
void getSeismicLineAbscissaOfPointsOfPatch (const unsigned int &patchIndex, double *values)
 
- Public Member Functions inherited from resqml2::AbstractObject
bool isPartial () const
 
std::string getUuid () const
 
std::string getTitle () const
 
std::string getEditor () const
 
time_t getCreation () const
 
std::string getOriginator () const
 
std::string getDescription () const
 
time_t getLastUpdate () const
 
std::string getFormat () const
 
std::string getDescriptiveKeywords () const
 
void setTitle (const std::string &title)
 
void setEditor (const std::string &editor)
 
void setCreation (const time_t &creation)
 
void setOriginator (const std::string &originator)
 
void setDescription (const std::string &description)
 
void setLastUpdate (const time_t &lastUpdate)
 
void setFormat (const std::string &format)
 
void setDescriptiveKeywords (const std::string &descriptiveKeywords)
 
void setMetadata (const std::string &title, const std::string &editor, const time_t &creation, const std::string &originator, const std::string &description, const time_t &lastUpdate, const std::string &format, const std::string &descriptiveKeywords)
 
void serializeIntoStream (std::ostream *stream)
 
gsoap_resqml2_0_1::eml__AbstractCitedDataObject * getGsoapProxy () const
 
soap * getGsoapContext () const
 
int getGsoapType () const
 
gsoap_resqml2_0_1::eml__DataObjectReference * newResqmlReference () const
 
gsoap_resqml2_0_1::resqml2__ContactElementReference * newResqmlContactElementReference () const
 
common::EpcDocumentgetEpcDocument () const
 
virtual std::string getXmlNamespace () const
 
virtual std::string getXmlTag () const =0
 
virtual std::string getResqmlVersion () const
 
std::string getContentType () const
 
std::string getPartNameInEpcDocument () const
 
std::string serializeIntoString ()
 
void addAlias (const std::string &authority, const std::string &title)
 
unsigned int getAliasCount () const
 
std::string getAliasAuthorityAtIndex (const unsigned int &index) const
 
std::string getAliasTitleAtIndex (const unsigned int &index) const
 
const std::vector< resqml2::Activity * > & getActivitySet () const
 
void addOrSetExtraMetadata (const std::string &key, const std::string &value)
 
std::tr1::unordered_map< std::string, std::string > getExtraMetadataSet () const
 
std::string getExtraMetadata (const std::string &key)
 
unsigned int getExtraMetadataCount () const
 
std::string getExtraMetadataKeyAtIndex (const unsigned int &index) const
 
std::string getExtraMetadataStringValueAtIndex (const unsigned int &index) const
 

Protected Member Functions

 AbstractSurfaceRepresentation (resqml2::AbstractFeatureInterpretation *interp, resqml2::AbstractLocal3dCrs *crs)
 
 AbstractSurfaceRepresentation (gsoap_resqml2_0_1::resqml2__AbstractSurfaceRepresentation *fromGsoap)
 
gsoap_resqml2_0_1::resqml2__Point3dFromRepresentationLatticeArray * getPoint3dFromRepresentationLatticeArrayFromPointGeometryPatch (gsoap_resqml2_0_1::resqml2__PointGeometry *patch) const
 
gsoap_resqml2_0_1::resqml2__PointGeometry * createArray2dOfLatticePoints3d (const unsigned int &numPointsInFastestDirection, const unsigned int &numPointsInSlowestDirection, const double &xOrigin, const double &yOrigin, const double &zOrigin, const double &xOffsetInFastestDirection, const double &yOffsetInFastestDirection, const double &zOffsetInFastestDirection, const double &xOffsetInSlowestDirection, const double &yOffsetInSlowestDirection, const double &zOffsetInSlowestDirection, const double &spacingInFastestDirection, const double &spacingInSlowestDirection)
 
gsoap_resqml2_0_1::resqml2__PointGeometry * createArray2dOfExplicitZ (const unsigned int &patchIndex, double *zValues, const unsigned int &numI, const unsigned int &numJ, resqml2::AbstractHdfProxy *proxy, class Grid2dRepresentation *supportingRepresentation, const unsigned int &startGlobalIndex=0, const int &indexIncrementI=1, const int &indexIncrementJ=1)
 
gsoap_resqml2_0_1::resqml2__PointGeometry * createArray2dOfExplicitZ (const unsigned int &patchIndex, double *zValues, const unsigned int &numI, const unsigned int &numJ, resqml2::AbstractHdfProxy *proxy, const double &originX, const double &originY, const double &originZ, const double &offsetIX, const double &offsetIY, const double &offsetIZ, const double &spacingI, const double &offsetJX, const double &offsetJY, const double &offsetJZ, const double &spacingJ)
 
virtual std::vector< epc::RelationshipgetAllEpcRelationships () const
 
virtual void importRelationshipSetFromEpc (common::EpcDocument *epcDoc)
 
- Protected Member Functions inherited from resqml2::AbstractRepresentation
 AbstractRepresentation (common::EpcDocument *epcDoc, gsoap_resqml2_0_1::eml__DataObjectReference *partialObject)
 
 AbstractRepresentation (class AbstractFeatureInterpretation *interp, class AbstractLocal3dCrs *crs)
 
 AbstractRepresentation (gsoap_resqml2_0_1::resqml2__AbstractRepresentation *fromGsoap)
 
void pushBackSeismicSupport (AbstractRepresentation *seismicSupport)
 
void setXmlInterpretation (class AbstractFeatureInterpretation *interp)
 
virtual gsoap_resqml2_0_1::resqml2__PointGeometry * getPointGeometry2_0_1 (const unsigned int &patchIndex) const
 
gsoap_resqml2_0_1::resqml2__PointGeometry * createPointGeometryPatch2_0_1 (const unsigned int &patchIndex, double *points, unsigned long long *numPoints, const unsigned int &numDimensionsInArray, resqml2::AbstractHdfProxy *proxy)
 
std::string getHdfProxyUuidFromPointGeometryPatch (gsoap_resqml2_0_1::resqml2__PointGeometry *patch) const
 
gsoap_resqml2_0_1::resqml2__Seismic2dCoordinates * getSeismic2dCoordinates (const unsigned int &patchIndex) const
 
gsoap_resqml2_0_1::resqml2__Seismic3dCoordinates * getSeismic3dCoordinates (const unsigned int &patchIndex) const
 
- Protected Member Functions inherited from resqml2::AbstractObject
 AbstractObject (common::EpcDocument *epcDoc, gsoap_resqml2_0_1::eml__DataObjectReference *partialObject)
 Indicate whether methods update the XML (gSoap) or only the C++ classes of the API. More...
 
 AbstractObject (gsoap_resqml2_0_1::eml__AbstractCitedDataObject *proxy=nullptr)
 
void initMandatoryMetadata ()
 
void setMetadata (const std::string &guid, const std::string &title, const std::string &editor, const time_t &creation, const std::string &originator, const std::string &description, const time_t &lastUpdate, const std::string &format, const std::string &descriptiveKeywords)
 

Protected Attributes

std::vector< PolylineRepresentation * > outerRingSet
 
- Protected Attributes inherited from resqml2::AbstractRepresentation
class AbstractFeatureInterpretationinterpretation
 
resqml2::AbstractHdfProxyhdfProxy
 
class AbstractLocal3dCrslocalCrs
 
std::vector< AbstractRepresentation * > seismicSupportSet
 
std::vector< SubRepresentation * > subRepresentationSet
 
std::vector< AbstractProperty * > propertySet
 
std::vector< AbstractRepresentation * > seismicSupportedRepSet
 
std::vector< class RepresentationSetRepresentation * > representationSetRepresentationSet
 
- Protected Attributes inherited from resqml2::AbstractObject
gsoap_resqml2_0_1::eml__AbstractCitedDataObject * gsoapProxy2_0_1
 
common::EpcDocumentepcDocument
 
std::vector< resqml2::Activity * > activitySet
 
bool updateXml
 

Additional Inherited Members

- Public Types inherited from resqml2::AbstractRepresentation
enum  indexableElement {
  NODE = 0, EDGE = 1, FACE = 2, VOLUME = 3,
  PILLAR = 4
}
 
- Static Public Attributes inherited from resqml2::AbstractRepresentation
static const char * XML_TAG = "AbstractRepresentation"
 
- Static Protected Member Functions inherited from resqml2::AbstractObject
static void addActivityToResqmlObject (resqml2::Activity *activity, AbstractObject *resqmlObject)
 

Constructor & Destructor Documentation

resqml2_0_1::AbstractSurfaceRepresentation::AbstractSurfaceRepresentation ( resqml2::AbstractFeatureInterpretation interp,
resqml2::AbstractLocal3dCrs crs 
)
inlineprotected

Default constructor Set the gsoap proxy to nullptr.

resqml2_0_1::AbstractSurfaceRepresentation::AbstractSurfaceRepresentation ( gsoap_resqml2_0_1::resqml2__AbstractSurfaceRepresentation *  fromGsoap)
inlineprotected

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

virtual resqml2_0_1::AbstractSurfaceRepresentation::~AbstractSurfaceRepresentation ( )
inlinevirtual

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

Member Function Documentation

resqml2__PointGeometry * AbstractSurfaceRepresentation::createArray2dOfExplicitZ ( const unsigned int &  patchIndex,
double *  zValues,
const unsigned int &  numI,
const unsigned int &  numJ,
resqml2::AbstractHdfProxy proxy,
class Grid2dRepresentation supportingRepresentation,
const unsigned int &  startGlobalIndex = 0,
const int &  indexIncrementI = 1,
const int &  indexIncrementJ = 1 
)
protected

Creates a geometry for a grid 2d representation which derives from another existing grid 2d representation.

Parameters
zValuesAll the z values to add. It must be numI * numJ count.
numINumber of z values in the first dimension of the array to add.
numJNumber of z values in the second dimension of the array to add.
AbstractHdfProxyThe hdf proxy which indicates the hdf file where the values will be stored.
supportingRepresentationThe lattice grid representation these Z values use as a support.
startGlobalIndexThe first global (representation) index of the baseLatticeGridRepresentation where a z value will be stored.
indexIncrementIThe constant index increment between two consecutive nodes on the first dimension of the baseLatticeGridRepresentation where z values will be stored.
indexIncrementJThe constant index increment between two consecutive nodes on the second dimension of the baseLatticeGridRepresentation where z values will be stored.
resqml2__PointGeometry * AbstractSurfaceRepresentation::createArray2dOfExplicitZ ( const unsigned int &  patchIndex,
double *  zValues,
const unsigned int &  numI,
const unsigned int &  numJ,
resqml2::AbstractHdfProxy proxy,
const double &  originX,
const double &  originY,
const double &  originZ,
const double &  offsetIX,
const double &  offsetIY,
const double &  offsetIZ,
const double &  spacingI,
const double &  offsetJX,
const double &  offsetJY,
const double &  offsetJZ,
const double &  spacingJ 
)
protected

Push back a geometry for a grid 2d representation which defines its own support. This geoemtry does not derive from another existing grid 2d representation.

Parameters
zValuesAll the z values to add. It must be numI * numJ count.
numINumber of z values in the first dimension of the array to add.
numJNumber of z values in the second dimension of the array to add.
AbstractHdfProxyThe hdf proxy which indicates the hdf file where the values will be stored.
resqml2__PointGeometry * AbstractSurfaceRepresentation::createArray2dOfLatticePoints3d ( const unsigned int &  numPointsInFastestDirection,
const unsigned int &  numPointsInSlowestDirection,
const double &  xOrigin,
const double &  yOrigin,
const double &  zOrigin,
const double &  xOffsetInFastestDirection,
const double &  yOffsetInFastestDirection,
const double &  zOffsetInFastestDirection,
const double &  xOffsetInSlowestDirection,
const double &  yOffsetInSlowestDirection,
const double &  zOffsetInSlowestDirection,
const double &  spacingInFastestDirection,
const double &  spacingInSlowestDirection 
)
protected

Creates an array 2d of lattice points 3d.

vector< Relationship > AbstractSurfaceRepresentation::getAllEpcRelationships ( ) const
protectedvirtual

Return all relationships (backward and forward ones) of the instance using EPC format.

Reimplemented from resqml2::AbstractRepresentation.

resqml2__Point3dFromRepresentationLatticeArray * AbstractSurfaceRepresentation::getPoint3dFromRepresentationLatticeArrayFromPointGeometryPatch ( gsoap_resqml2_0_1::resqml2__PointGeometry *  patch) const
protected

Try to get a Point3dFromRepresentationLatticeArray from the geometry of a patch of the representation.

Returns
nullptr if the geoemtry does not contain such an information.
const gsoap_resqml2_0_1::resqml2__SurfaceRole & AbstractSurfaceRepresentation::getSurfaceRole ( ) const

Get the surface role of this representation. map : Representation support for properties. pick : Representation support for 3D points picked in 2D or 3D.

void AbstractSurfaceRepresentation::importRelationshipSetFromEpc ( common::EpcDocument epcDoc)
protectedvirtual

Resolve all relationships of the object in an epc document

Reimplemented from resqml2::AbstractRepresentation.

void AbstractSurfaceRepresentation::pushBackOuterRing ( PolylineRepresentation outerRing)

Push back an outer ring of this representation The index of the ring must correspond to the index of the patch it delimits.

void AbstractSurfaceRepresentation::setSurfaceRole ( const gsoap_resqml2_0_1::resqml2__SurfaceRole &  surfaceRole)

Set the surface role of the representation. map : Representation support for properties. pick : Representation support for 3D points picked in 2D or 3D.


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