My Project
|
Public Types | |
enum | indexableElement { NODE = 0, EDGE = 1, FACE = 2, VOLUME = 3, PILLAR = 4 } |
Public Member Functions | |
virtual | ~AbstractRepresentation () |
class AbstractLocal3dCrs * | getLocalCrs () const |
virtual gsoap_resqml2_0_1::eml20__DataObjectReference * | getLocalCrsDor () const |
std::string | getLocalCrsUuid () const |
common::AbstractHdfProxy * | getHdfProxy () 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 AbstractValuesProperty * | getValuesProperty (const unsigned int &index) const |
void | setInterpretation (class AbstractFeatureInterpretation *interp) |
class AbstractFeatureInterpretation * | getInterpretation () const |
gsoap_resqml2_0_1::eml20__DataObjectReference * | getInterpretationDor () const |
std::string | getInterpretationUuid () const |
std::string | getInterpretationContentType () const |
void | pushBackSubRepresentation (class SubRepresentation *subRep) |
std::vector< SubRepresentation * > | getSubRepresentationSet () const |
unsigned int | getSubRepresentationCount () const |
SubRepresentation * | getSubRepresentation (const unsigned int &index) const |
std::vector< SubRepresentation * > | getFaultSubRepresentationSet () const |
unsigned int | getFaultSubRepresentationCount () const |
SubRepresentation * | getFaultSubRepresentation (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 |
AbstractRepresentation * | getSeismicSupportOfPatch (const unsigned int &patchIndex) |
virtual unsigned int | getPatchCount () const =0 |
void | pushBackIntoRepresentationSet (class RepresentationSetRepresentation *repSet, bool xml=true) |
ULONG64 | getRepresentationSetRepresentationCount () const |
RepresentationSetRepresentation * | getRepresentationSetRepresentation (const ULONG64 &index) const |
void | setHdfProxy (common::AbstractHdfProxy *proxy) |
void | addSeismic3dCoordinatesToPatch (const unsigned int patchIndex, double *inlines, double *crosslines, const unsigned int &pointCount, resqml2::AbstractRepresentation *seismicSupport, common::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, common::AbstractHdfProxy *proxy) |
void | getSeismicLineAbscissaOfPointsOfPatch (const unsigned int &patchIndex, double *values) |
Public Member Functions inherited from common::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::eml20__AbstractCitedDataObject * | getGsoapProxy () const |
soap * | getGsoapContext () const |
int | getGsoapType () const |
gsoap_resqml2_0_1::eml20__DataObjectReference * | newResqmlReference () const |
gsoap_eml2_1::eml21__DataObjectReference * | newEmlReference () const |
gsoap_resqml2_0_1::resqml2__ContactElementReference * | newResqmlContactElementReference () const |
common::EpcDocument * | getEpcDocument () const |
virtual std::string | getXmlNamespace () const |
virtual std::string | getXmlTag () const =0 |
virtual std::string | getResqmlVersion () const |
virtual std::string | getContentType () const |
virtual 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 |
unsigned int | getActivityCount () const |
resqml2::Activity * | getActivity (const unsigned int &index) const |
void | pushBackExtraMetadata (const std::string &key, const std::string &value) |
std::tr1::unordered_map< std::string, std::string > | getExtraMetadataSet () const |
std::vector< std::string > | getExtraMetadata (const std::string &key) const |
unsigned int | getExtraMetadataCount () const |
std::string | getExtraMetadataKeyAtIndex (const unsigned int &index) const |
std::string | getExtraMetadataStringValueAtIndex (const unsigned int &index) const |
Static Public Attributes | |
static const char * | XML_TAG = "AbstractRepresentation" |
Protected Member Functions | |
AbstractRepresentation (gsoap_resqml2_0_1::eml20__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, common::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 |
virtual std::vector< epc::Relationship > | getAllEpcRelationships () const |
virtual void | importRelationshipSetFromEpc (common::EpcDocument *epcDoc) |
Protected Member Functions inherited from common::AbstractObject | |
AbstractObject () | |
Indicate whether methods update the XML (gSoap) or only the C++ classes of the API. | |
AbstractObject (gsoap_resqml2_0_1::eml20__DataObjectReference *partialObject) | |
AbstractObject (gsoap_resqml2_0_1::eml20__AbstractCitedDataObject *proxy) | |
AbstractObject (gsoap_eml2_1::eml21__AbstractObject *proxy) | |
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) |
void | cannotBePartial () const |
void | changeToPartialObject () |
Protected Attributes | |
class AbstractFeatureInterpretation * | interpretation |
common::AbstractHdfProxy * | hdfProxy |
class AbstractLocal3dCrs * | localCrs |
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 common::AbstractObject | |
gsoap_resqml2_0_1::eml20__AbstractCitedDataObject * | gsoapProxy2_0_1 |
gsoap_eml2_1::eml21__AbstractObject * | gsoapProxy2_1 |
common::EpcDocument * | epcDocument |
std::vector< resqml2::Activity * > | activitySet |
bool | updateXml |
Friends | |
void | AbstractProperty::setRepresentation (AbstractRepresentation *rep) |
Additional Inherited Members | |
Protected Types inherited from common::AbstractObject | |
enum | EmlVersion { TWO_DOT_ZERO = 0, TWO_DOT_ONE = 1 } |
Static Protected Member Functions inherited from common::AbstractObject | |
static void | addActivityToResqmlObject (resqml2::Activity *activity, AbstractObject *resqmlObject) |
|
inlineprotected |
Only to be used in partial transfer context
|
protected |
Set the domain of the interpretation according to the local CRS Does not set relationship with interp and crs because the gsoap proxy is not allocated yet. This must be done at concrete class level.
|
inlineprotected |
Creates an instance of this class by wrapping a gsoap instance.
|
inlinevirtual |
Destructor does nothing since the memory is managed by the gsoap context.
void AbstractRepresentation::addSeismic2dCoordinatesToPatch | ( | const unsigned int | patchIndex, |
double * | lineAbscissa, | ||
const unsigned int & | pointCount, | ||
resqml2::AbstractRepresentation * | seismicSupport, | ||
common::AbstractHdfProxy * | proxy | ||
) |
Push back a patch of seismic 2D coordinates info. The index this patch will be located must be consistent with the index of the geometry patch it is related to.
The | index of the geometry patch which receives these seismic coordinates |
void AbstractRepresentation::addSeismic3dCoordinatesToPatch | ( | const unsigned int | patchIndex, |
double * | inlines, | ||
double * | crosslines, | ||
const unsigned int & | pointCount, | ||
resqml2::AbstractRepresentation * | seismicSupport, | ||
common::AbstractHdfProxy * | proxy | ||
) |
Push back a patch of seismic 3D coordinates info. The index this patch will be located must be consistent with the index of the geometry patch it is related to.
|
protected |
Creates a point geometry patch.
patchIndex | The index of the patch which will contain this geometry. |
points | All the points to set ordered according the topology of the representation it is based on. It should be 3 * numPoints sized. |
numPoints | The number of points for each dimension of the array to write. |
numDimensionsInArray | The number of dimensions in the array to write. |
proxy | The HDF proxy where to write the points. It must be already opened for writing and won't be closed in this method. |
|
protectedvirtual |
Return all relationships (backward and forward ones) of the instance using EPC format.
Implements common::AbstractObject.
Reimplemented in resqml2::AbstractGridRepresentation, resqml2_0_1::WellboreTrajectoryRepresentation, resqml2_0_1::DeviationSurveyRepresentation, resqml2_0_1::PolylineRepresentation, resqml2_0_1::WellboreFrameRepresentation, resqml2::RepresentationSetRepresentation, resqml2_0_1::WellboreMarkerFrameRepresentation, resqml2_0_1::AbstractSurfaceRepresentation, and resqml2::AbstractColumnLayerGridRepresentation.
SubRepresentation * AbstractRepresentation::getFaultSubRepresentation | ( | const unsigned int & | index | ) | const |
Get a particular fault subrepresentation according to its position in the EPC document. It is mainly used in SWIG context for parsing the vector from a non C++ language.
unsigned int AbstractRepresentation::getFaultSubRepresentationCount | ( | ) | const |
Get the subrepresentation count into this EPC document which are representations of a fault. It is mainly used in SWIG context for parsing the vector from a non C++ language.
std::vector< SubRepresentation * > AbstractRepresentation::getFaultSubRepresentationSet | ( | ) | const |
Get all the subrepresentations of this instance which represent a fault.
common::AbstractHdfProxy * AbstractRepresentation::getHdfProxy | ( | ) | const |
Getter (read/write access) for the hdf Proxy
AbstractFeatureInterpretation * AbstractRepresentation::getInterpretation | ( | ) | const |
Get the interpretation of this representation
std::string AbstractRepresentation::getInterpretationContentType | ( | ) | const |
Get the interpretation content type of this representation
gsoap_resqml2_0_1::eml20__DataObjectReference * AbstractRepresentation::getInterpretationDor | ( | ) | const |
std::string AbstractRepresentation::getInterpretationUuid | ( | ) | const |
Get the interpretation uuid of this representation
AbstractLocal3dCrs * AbstractRepresentation::getLocalCrs | ( | ) | const |
Getter (read/write access) for the localCrs
|
virtual |
Get the Local 3d CRS dor where the reference point ordinals are given
Reimplemented in resqml2_0_1::WellboreTrajectoryRepresentation, and resqml2_0_1::WellboreFrameRepresentation.
std::string AbstractRepresentation::getLocalCrsUuid | ( | ) | const |
Get the Local 3d CRS uuid where the reference point ordinals are given
|
inlineprotectedvirtual |
Get the point geometry of a specific patch of the representation.
Reimplemented in resqml2_0_1::AbstractIjkGridRepresentation, resqml2::RepresentationSetRepresentation, resqml2_0_1::WellboreFrameRepresentation, and resqml2_0_1::RepresentationSetRepresentation.
const std::vector< AbstractProperty * > & AbstractRepresentation::getPropertySet | ( | ) | const |
Getter (read only) of all the properties which use this representation as support.
RepresentationSetRepresentation * AbstractRepresentation::getRepresentationSetRepresentation | ( | const ULONG64 & | index | ) | const |
Get the parent representation set representations at the specified index of the representation set representation list.
ULONG64 AbstractRepresentation::getRepresentationSetRepresentationCount | ( | ) | const |
Get the count of representation set representations which contain this representation
void AbstractRepresentation::getSeismicLineAbscissaOfPointsOfPatch | ( | const unsigned int & | patchIndex, |
double * | values | ||
) |
Get all the abscissa of the points of a specific patch related to seismic line 2d.
AbstractRepresentation * AbstractRepresentation::getSeismicSupportOfPatch | ( | const unsigned int & | patchIndex | ) |
Get the seismic support representation set of this representation Get the seismic support representation uuid set of this representation. Useful when one of the seismic support representation is not accessible. At least we know its uuid. Get the count of seismic points in a particular patch of this representation Get the seismic support of a specific patch.
SubRepresentation * AbstractRepresentation::getSubRepresentation | ( | const unsigned int & | index | ) | const |
Get a particular subrepresentation according to its position in the EPC document. It is mainly used in SWIG context for parsing the vector from a non C++ language.
unsigned int AbstractRepresentation::getSubRepresentationCount | ( | ) | const |
Get the subrepresentation count into this EPC document. It is mainly used in SWIG context for parsing the vector from a non C++ language.
std::vector< SubRepresentation * > AbstractRepresentation::getSubRepresentationSet | ( | ) | const |
Get all the subrepresentations of this instance.
AbstractValuesProperty * AbstractRepresentation::getValuesProperty | ( | const unsigned int & | index | ) | const |
Getter of a particular values property which use this representation as support. It is identified by its index. Necessary for now in SWIG context because I ma not sure if I can always wrap a vector of polymorphic class yet. Throw an out of bound exception if the index is superior or equal to the count of values property.
unsigned int AbstractRepresentation::getValuesPropertyCount | ( | ) | const |
Getter of the count of values properties which use this representation as support. Necessary for now in SWIG context because I ma not sure if I can always wrap a vector of polymorphic class yet.
std::vector< AbstractValuesProperty * > AbstractRepresentation::getValuesPropertySet | ( | ) | const |
Getter of all the properties values which use this representation as support.
ULONG64 AbstractRepresentation::getXyzPointCountOfAllPatches | ( | ) | const |
Get the xyz point count of all patches of this representation.
|
pure virtual |
Get the xyz point count in a given patch.
Implemented in resqml2_0_1::AbstractIjkGridRepresentation, resqml2::GridConnectionSetRepresentation, resqml2::SubRepresentation, resqml2_0_1::UnstructuredGridRepresentation, resqml2_0_1::WellboreTrajectoryRepresentation, resqml2_0_1::DeviationSurveyRepresentation, resqml2_0_1::PolylineRepresentation, resqml2_0_1::WellboreFrameRepresentation, resqml2_0_1::PolylineSetRepresentation, resqml2_0_1::IjkGridParametricRepresentation, resqml2_0_1::Grid2dRepresentation, resqml2_0_1::TriangulatedSetRepresentation, resqml2_0_1::Grid2dSetRepresentation, resqml2_0_1::PlaneSetRepresentation, resqml2_0_1::PointSetRepresentation, resqml2_0_1::IjkGridLatticeRepresentation, resqml2::RepresentationSetRepresentation, resqml2_0_1::IjkGridExplicitRepresentation, and resqml2_0_1::IjkGridNoGeometryRepresentation.
void AbstractRepresentation::getXyzPointsOfAllPatches | ( | double * | xyzPoints | ) | const |
Get all the XYZ points of all patches of this individual representation XYZ points are given in the local CRS.
xyzPoints | A linearized 2d array where the first (quickest) dimension is coordinate dimension (XYZ) and second dimension is vertex dimension. It must be pre allocated. |
void AbstractRepresentation::getXyzPointsOfAllPatchesInGlobalCrs | ( | double * | xyzPoints | ) | const |
Get all the XYZ points of all patches of this individual representation XYZ points are given in the global CRS.
xyzPoints | A linearized 2d array where the first (quickest) dimension is coordinate dimension (XYZ) and second dimension is vertex dimension. It must be pre allocated. |
|
pure virtual |
Get all the XYZ points of a particular patch of this representation. XYZ points are given in the local CRS.
xyzPoints | A linearized 2d array where the first (quickest) dimension is coordinate dimension (XYZ) and second dimension is vertex dimension. It must be pre allocated. |
Implemented in resqml2_0_1::AbstractIjkGridRepresentation, resqml2::GridConnectionSetRepresentation, resqml2::SubRepresentation, resqml2_0_1::UnstructuredGridRepresentation, resqml2_0_1::WellboreTrajectoryRepresentation, resqml2_0_1::IjkGridParametricRepresentation, resqml2_0_1::DeviationSurveyRepresentation, resqml2_0_1::PolylineRepresentation, resqml2_0_1::WellboreFrameRepresentation, resqml2_0_1::PolylineSetRepresentation, resqml2_0_1::Grid2dRepresentation, resqml2_0_1::TriangulatedSetRepresentation, resqml2_0_1::Grid2dSetRepresentation, resqml2_0_1::IjkGridExplicitRepresentation, resqml2_0_1::PlaneSetRepresentation, resqml2_0_1::PointSetRepresentation, resqml2_0_1::IjkGridLatticeRepresentation, resqml2::RepresentationSetRepresentation, and resqml2_0_1::IjkGridNoGeometryRepresentation.
void AbstractRepresentation::getXyzPointsOfPatchInGlobalCrs | ( | const unsigned int & | patchIndex, |
double * | xyzPoints | ||
) | const |
Get all the XYZ points of a particular patch of this representation. XYZ points are given in the global CRS.
xyzPoints | A linearized 2d array where the first (quickest) dimension is coordinate dimension (XYZ) and second dimension is vertex dimension. It must be pre allocated. |
|
protectedvirtual |
Resolve all relationships of the object in an epc document
Implements common::AbstractObject.
Reimplemented in resqml2::AbstractGridRepresentation, resqml2_0_1::WellboreTrajectoryRepresentation, resqml2_0_1::DeviationSurveyRepresentation, resqml2_0_1::WellboreFrameRepresentation, resqml2::RepresentationSetRepresentation, resqml2_0_1::WellboreMarkerFrameRepresentation, resqml2_0_1::AbstractSurfaceRepresentation, and resqml2::AbstractColumnLayerGridRepresentation.
void AbstractRepresentation::pushBackIntoRepresentationSet | ( | class RepresentationSetRepresentation * | repSet, |
bool | xml = true |
||
) |
Pushes back this representaiton into a representation set
repSet | The representation set representation which will contain this representation. |
xml | If set to true (default), then xml relationships will be updated. If set to no, only memory (and epc) relationships will be updated. |
|
protected |
Push back the seismic support of this representation and sets the opposite relationship i.e. from the base rep to the child rep. Only updates memory, no XML.
void AbstractRepresentation::pushBackSubRepresentation | ( | class SubRepresentation * | subRep | ) |
DONOT USE THIS METHOD EXCEPT IF YOU REALLY KNOW WHAT YOU ARE DOING. Push back a subrepresentation to this representation. Does not add the inverse relationship i.e. from the subrepresentation to this representation.
void AbstractRepresentation::setInterpretation | ( | class AbstractFeatureInterpretation * | interp | ) |
Set the interpretation which is associated to this representation. And push back this representation as a representation of the interpreation as well.
|
protected |
Set the interpretation of the isntance only at the XML level