My Project
Public Member Functions | Static Public Attributes | Protected Member Functions | Protected Attributes | List of all members
resqml2_0_1::WellboreTrajectoryRepresentation Class Reference
Inheritance diagram for resqml2_0_1::WellboreTrajectoryRepresentation:
resqml2::AbstractRepresentation common::AbstractObject

Public Member Functions

 WellboreTrajectoryRepresentation (gsoap_resqml2_0_1::eml20__DataObjectReference *partialObject)
 
 WellboreTrajectoryRepresentation (class WellboreInterpretation *interp, const std::string &guid, const std::string &title, resqml2::MdDatum *mdInfo)
 
 WellboreTrajectoryRepresentation (class WellboreInterpretation *interp, const std::string &guid, const std::string &title, DeviationSurveyRepresentation *deviationSurvey)
 
 WellboreTrajectoryRepresentation (gsoap_resqml2_0_1::_resqml2__WellboreTrajectoryRepresentation *fromGsoap)
 
virtual std::string getXmlTag () const
 
void setGeometry (double *controlPoints, const double &startMd, const double &endMd, const unsigned int &controlPointCount, const int &lineKind, common::AbstractHdfProxy *proxy)
 
void setGeometry (double *controlPoints, double *controlPointParameters, const unsigned int &controlPointCount, common::AbstractHdfProxy *proxy)
 
void setGeometry (double *controlPoints, double *tangentVectors, double *controlPointParameters, const unsigned int &controlPointCount, common::AbstractHdfProxy *proxy)
 
int getGeometryKind () const
 
void setMdDatum (resqml2::MdDatum *mdDatum)
 
resqml2::MdDatumgetMdDatum () const
 
std::string getMdDatumUuid () const
 
ULONG64 getXyzPointCountOfPatch (const unsigned int &patchIndex) const
 
void getXyzPointsOfPatch (const unsigned int &patchIndex, double *xyzPoints) const
 
bool hasMdValues () const
 
gsoap_resqml2_0_1::eml20__LengthUom getMdUom () const
 
void getMdValues (double *values)
 
double getStartMd () const
 
double getFinishMd () const
 
bool hasTangentVectors () const
 
void getTangentVectors (double *tangentVectors)
 
void addParentTrajectory (const double &kickoffMd, const double &parentMd, WellboreTrajectoryRepresentation *parentTrajRep)
 
WellboreTrajectoryRepresentationgetParentTrajectory () const
 
const double & getParentTrajectoryMd () const
 
const std::vector< WellboreTrajectoryRepresentation * > & getChildrenTrajectorySet () const
 
void addWellboreFrameRepresentation (class WellboreFrameRepresentation *WellboreFrameRepresentation)
 
const std::vector< class WellboreFrameRepresentation * > & getWellboreFrameRepresentationSet () const
 
unsigned int getWellboreFrameRepresentationCount () const
 
class WellboreFrameRepresentationgetWellboreFrameRepresentation (const unsigned int &index) const
 
void setDeviationSurvey (class DeviationSurveyRepresentation *deviationSurvey)
 
class DeviationSurveyRepresentationgetDeviationSurvey () const
 
gsoap_resqml2_0_1::eml20__DataObjectReference * getLocalCrsDor () const
 
std::string getHdfProxyUuid () const
 
unsigned int getPatchCount () const
 
bool hasGeometry () const
 
void setWitsmlTrajectory (witsml1_4_1_1::Trajectory *witsmlTraj)
 
witsml1_4_1_1::TrajectorygetWitsmlTrajectory ()
 
- Public Member Functions inherited from resqml2::AbstractRepresentation
virtual ~AbstractRepresentation ()
 
class AbstractLocal3dCrsgetLocalCrs () const
 
std::string getLocalCrsUuid () const
 
common::AbstractHdfProxygetHdfProxy () const
 
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
 
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
 
SubRepresentationgetSubRepresentation (const unsigned int &index) const
 
std::vector< SubRepresentation * > getFaultSubRepresentationSet () const
 
unsigned int getFaultSubRepresentationCount () const
 
SubRepresentationgetFaultSubRepresentation (const unsigned int &index) const
 
ULONG64 getXyzPointCountOfAllPatches () const
 
void getXyzPointsOfPatchInGlobalCrs (const unsigned int &patchIndex, double *xyzPoints) const
 
void getXyzPointsOfAllPatches (double *xyzPoints) const
 
void getXyzPointsOfAllPatchesInGlobalCrs (double *xyzPoints) const
 
AbstractRepresentationgetSeismicSupportOfPatch (const unsigned int &patchIndex)
 
void pushBackIntoRepresentationSet (class RepresentationSetRepresentation *repSet, bool xml=true)
 
ULONG64 getRepresentationSetRepresentationCount () const
 
RepresentationSetRepresentationgetRepresentationSetRepresentation (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::EpcDocumentgetEpcDocument () const
 
virtual std::string getXmlNamespace () const
 
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::ActivitygetActivity (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 = "WellboreTrajectoryRepresentation"
 
- Static Public Attributes inherited from resqml2::AbstractRepresentation
static const char * XML_TAG = "AbstractRepresentation"
 

Protected Member Functions

std::vector< epc::RelationshipgetAllEpcRelationships () const
 
void importRelationshipSetFromEpc (common::EpcDocument *epcDoc)
 
- Protected Member Functions inherited from resqml2::AbstractRepresentation
 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)
 
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
 
- 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

witsml1_4_1_1::TrajectorywitsmlTrajectory
 
std::vector< WellboreTrajectoryRepresentation * > childrenTrajSet
 
std::vector< class WellboreFrameRepresentation * > wellboreFrameRepresentationSet
 
- Protected Attributes inherited from resqml2::AbstractRepresentation
class AbstractFeatureInterpretationinterpretation
 
common::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 common::AbstractObject
gsoap_resqml2_0_1::eml20__AbstractCitedDataObject * gsoapProxy2_0_1
 
gsoap_eml2_1::eml21__AbstractObject * gsoapProxy2_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
}
 
- 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)
 

Constructor & Destructor Documentation

resqml2_0_1::WellboreTrajectoryRepresentation::WellboreTrajectoryRepresentation ( gsoap_resqml2_0_1::eml20__DataObjectReference *  partialObject)
inline

Only to be used in partial transfer context

resqml2_0_1::WellboreTrajectoryRepresentation::WellboreTrajectoryRepresentation ( class WellboreInterpretation interp,
const std::string &  guid,
const std::string &  title,
resqml2::MdDatum mdInfo 
)

Creates an instance of this class in a gsoap context.

Parameters
interpThe WellboreFeature interpretation the instance represents.
guidThe guid to set to the new instance. If empty then a new guid will be generated.
titleA title for the instance to create.
mdInfoThe MD information of the trajectory, mainly the well reference point.
resqml2_0_1::WellboreTrajectoryRepresentation::WellboreTrajectoryRepresentation ( class WellboreInterpretation interp,
const std::string &  guid,
const std::string &  title,
DeviationSurveyRepresentation deviationSurvey 
)

Creates an instance with an existing deviation survey as its origin.

resqml2_0_1::WellboreTrajectoryRepresentation::WellboreTrajectoryRepresentation ( gsoap_resqml2_0_1::_resqml2__WellboreTrajectoryRepresentation *  fromGsoap)
inline

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

Member Function Documentation

void WellboreTrajectoryRepresentation::addParentTrajectory ( const double &  kickoffMd,
const double &  parentMd,
WellboreTrajectoryRepresentation parentTrajRep 
)

Add a trajectory parent to this trajectory in case of trajectory branching. Does add the inverse relationship i.e. from the parent trajectory to this trajecotry

void resqml2_0_1::WellboreTrajectoryRepresentation::addWellboreFrameRepresentation ( class WellboreFrameRepresentation WellboreFrameRepresentation)
inline

Add a Wellbore frame representation to this trajectory. Does not add the inverse relationship i.e. from the WellboreFeature frame to this trajectory

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

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

Reimplemented from resqml2::AbstractRepresentation.

const std::vector< WellboreTrajectoryRepresentation * > & WellboreTrajectoryRepresentation::getChildrenTrajectorySet ( ) const

Get a set of all children trajectories of this trajectory

DeviationSurveyRepresentation * WellboreTrajectoryRepresentation::getDeviationSurvey ( ) const

Get the deviation survey which is the source of this trajectory. It can return a null pointer.

double WellboreTrajectoryRepresentation::getFinishMd ( ) const

Get the ending depth for the start of the wellbore trajectory. Range may often be from kickoff to TD, but this is not necessary.

int WellboreTrajectoryRepresentation::getGeometryKind ( ) const

0 for vertical, 1 for linear spline, 2 for natural cubic spline, 3 for cubic spline, 4 for z linear cubic spline, 5 for minimum-curvature spline, (-1) for null: no line

gsoap_resqml2_0_1::eml20__DataObjectReference * WellboreTrajectoryRepresentation::getLocalCrsDor ( ) const
virtual

Get the information to resolve the associated local CRS.

Reimplemented from resqml2::AbstractRepresentation.

resqml2::MdDatum * WellboreTrajectoryRepresentation::getMdDatum ( ) const

Getter of the md information associated to this WellboreFeature trajectory representation.

std::string WellboreTrajectoryRepresentation::getMdDatumUuid ( ) const

Getter of the md information uuid associated to this WellboreFeature trajectory representation.

gsoap_resqml2_0_1::eml20__LengthUom WellboreTrajectoryRepresentation::getMdUom ( ) const

Units of measure of the measured depths along this trajectory.

void WellboreTrajectoryRepresentation::getMdValues ( double *  values)

Getter of the md double values associated to each trajectory station of this WellboreFeature trajectory representation.

WellboreTrajectoryRepresentation * WellboreTrajectoryRepresentation::getParentTrajectory ( ) const

Get the parent trajectory of this trajectory

Returns
nullptr if the trajectory has no parent trajectory.
const double & WellboreTrajectoryRepresentation::getParentTrajectoryMd ( ) const

Get the MD on the parent wellbore trajectory where this trajectory is starting.

double WellboreTrajectoryRepresentation::getStartMd ( ) const

Get the measured depth for the start of the wellbore trajectory. Range may often be from kickoff to TD, but this is not necessary.

void WellboreTrajectoryRepresentation::getTangentVectors ( double *  tangentVectors)

Getter of the tangent vectors associated to each trajectory station of this WellboreFeature trajectory representation.

class WellboreFrameRepresentation* resqml2_0_1::WellboreTrajectoryRepresentation::getWellboreFrameRepresentation ( const unsigned int &  index) const
inline

Get a particular wellbore frame representation of this wellbore trajectory representation according to its position in the EPC document. Necessary for now in SWIG context because I mm 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 wellbore frame representation.

unsigned int resqml2_0_1::WellboreTrajectoryRepresentation::getWellboreFrameRepresentationCount ( ) const
inline

Get the count of wellbore frame representation which are associated with this wellbore trajectory. Necessary for now in SWIG context because I am not sure if I can always wrap a vector of polymorphic class yet.

const std::vector<class WellboreFrameRepresentation*>& resqml2_0_1::WellboreTrajectoryRepresentation::getWellboreFrameRepresentationSet ( ) const
inline

Getter (in read only mode) of all the associated Wellbore frame representations

virtual std::string resqml2_0_1::WellboreTrajectoryRepresentation::getXmlTag ( ) const
inlinevirtual

Get the XML tag for the XML serialization of this instance

Implements common::AbstractObject.

ULONG64 WellboreTrajectoryRepresentation::getXyzPointCountOfPatch ( const unsigned int &  patchIndex) const
virtual

Get the xyz point count in a given patch.

Implements resqml2::AbstractRepresentation.

void WellboreTrajectoryRepresentation::getXyzPointsOfPatch ( const unsigned int &  patchIndex,
double *  xyzPoints 
) const
virtual

Get all the XYZ points of a particular patch of this representation. XYZ points are given in the local CRS.

Parameters
xyzPointsA linearized 2d array where the first (quickest) dimension is coordinate dimension (XYZ) and second dimension is vertex dimension. It must be pre allocated.

Implements resqml2::AbstractRepresentation.

bool WellboreTrajectoryRepresentation::hasMdValues ( ) const

Indicates if the wellbore trajectory has got md values attached to each trajectory station.

bool WellboreTrajectoryRepresentation::hasTangentVectors ( ) const

Indicates if the wellbore trajectory has got tangent vectors attached to each trajectory station.

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

Resolve all relationships of the object in an epc document

Reimplemented from resqml2::AbstractRepresentation.

void WellboreTrajectoryRepresentation::setDeviationSurvey ( class DeviationSurveyRepresentation deviationSurvey)

Set the deviation survey which is the source of this trajectory.

void WellboreTrajectoryRepresentation::setMdDatum ( resqml2::MdDatum mdDatum)

Set the Md datum of this trajectory


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