My Project
Public Member Functions | Static Public Attributes | List of all members
resqml2_0_1::TriangulatedSetRepresentation Class Reference

#include <TriangulatedSetRepresentation.h>

Inheritance diagram for resqml2_0_1::TriangulatedSetRepresentation:
resqml2_0_1::AbstractSurfaceRepresentation resqml2::AbstractRepresentation common::AbstractObject

Public Member Functions

 TriangulatedSetRepresentation (gsoap_resqml2_0_1::eml20__DataObjectReference *partialObject)
 
 TriangulatedSetRepresentation (resqml2::AbstractFeatureInterpretation *interp, resqml2::AbstractLocal3dCrs *crs, const std::string &guid, const std::string &title)
 
 TriangulatedSetRepresentation (gsoap_resqml2_0_1::_resqml2__TriangulatedSetRepresentation *fromGsoap)
 
 ~TriangulatedSetRepresentation ()
 
std::string getHdfProxyUuid () const
 
void pushBackTrianglePatch (const unsigned int &nodeCount, double *nodes, const unsigned int &triangleCount, unsigned int *triangleNodeIndices, common::AbstractHdfProxy *proxy)
 
ULONG64 getXyzPointCountOfPatch (const unsigned int &patchIndex) const
 
void getXyzPointsOfPatch (const unsigned int &patchIndex, double *xyzPoints) const
 
unsigned int getTriangleCountOfPatch (const unsigned int &patchIndex) const
 
unsigned int getTriangleCountOfAllPatches () const
 
void getTriangleNodeIndicesOfPatch (const unsigned int &patchIndex, unsigned int *triangleNodeIndices) const
 
void getTriangleNodeIndicesOfAllPatches (unsigned int *triangleNodeIndices) const
 
virtual std::string getXmlTag () const
 
unsigned int getPatchCount () const
 
- Public Member Functions inherited from resqml2_0_1::AbstractSurfaceRepresentation
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 gsoap_resqml2_0_1::eml20__DataObjectReference * getLocalCrsDor () 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 = "TriangulatedSetRepresentation"
 
- Static Public Attributes inherited from resqml2::AbstractRepresentation
static const char * XML_TAG = "AbstractRepresentation"
 

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 }
 
- Protected Member Functions inherited from resqml2_0_1::AbstractSurfaceRepresentation
 AbstractSurfaceRepresentation (gsoap_resqml2_0_1::eml20__DataObjectReference *partialObject)
 
 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, common::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, common::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 (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 ()
 
- Static Protected Member Functions inherited from common::AbstractObject
static void addActivityToResqmlObject (resqml2::Activity *activity, AbstractObject *resqmlObject)
 
- Protected Attributes inherited from resqml2_0_1::AbstractSurfaceRepresentation
std::vector< PolylineRepresentation * > outerRingSet
 
- 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
 

Detailed Description

A triangulated representation is a representation (most of time a surface) which is constituted by triangles. Usually all triangles are connected to each others by means of their nodes and edges.

Constructor & Destructor Documentation

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

Only to be used in partial transfer context

TriangulatedSetRepresentation::TriangulatedSetRepresentation ( resqml2::AbstractFeatureInterpretation interp,
resqml2::AbstractLocal3dCrs crs,
const std::string &  guid,
const std::string &  title 
)

Creates an instance of this class in a gsoap context.

Parameters
interpThe interpretation this representation represents.
crsThe local CRS where the geometry of this representation is given.
guidThe guid to set to the new instance. If empty then a new guid will be generated.
titleA title for the instance to create.
resqml2_0_1::TriangulatedSetRepresentation::TriangulatedSetRepresentation ( gsoap_resqml2_0_1::_resqml2__TriangulatedSetRepresentation *  fromGsoap)
inline

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

resqml2_0_1::TriangulatedSetRepresentation::~TriangulatedSetRepresentation ( )
inline

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

Member Function Documentation

unsigned int TriangulatedSetRepresentation::getPatchCount ( ) const
virtual

Get the patch count in this representation.

Implements resqml2::AbstractRepresentation.

unsigned int TriangulatedSetRepresentation::getTriangleCountOfAllPatches ( ) const

Get the triangle count of all patches of this representation.

unsigned int TriangulatedSetRepresentation::getTriangleCountOfPatch ( const unsigned int &  patchIndex) const

Get the triangle count in a given patch

Parameters
patchIndexThe index of the patch of the representation.
void TriangulatedSetRepresentation::getTriangleNodeIndicesOfAllPatches ( unsigned int *  triangleNodeIndices) const

Get all the triangle node indices of all patches of this representation. See getXyzPointsOfAllPatches method inherited from AbstractRepresentation to read the XYZ coordinates of the triangle nodes.

Parameters
triangleNodeIndicesMust be pre-allocated. The count/size of this array should be equal to getTriangleCountOfAllPatches()*3.
void TriangulatedSetRepresentation::getTriangleNodeIndicesOfPatch ( const unsigned int &  patchIndex,
unsigned int *  triangleNodeIndices 
) const

Get all the triangle node indices of a particular patch of this representation. See getXyzPointsOfPatch method inherited from AbstractRepresentation to read the XYZ coordinates of the triangle nodes.

Parameters
patchIndexThe index of the patch which contains the triangle node indices we want.
triangleNodeIndicesMust be pre-allocated. The count/size of this array should be equal to getTriangleCountOfPatch(patchIndex)*3.
virtual std::string resqml2_0_1::TriangulatedSetRepresentation::getXmlTag ( ) const
inlinevirtual

Get the XML tag for the XML serialization of this instance

Implements common::AbstractObject.

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

Get the xyz point count in a given patch.

Parameters
patchIndexThe index of the patch of the representation.

Implements resqml2::AbstractRepresentation.

void TriangulatedSetRepresentation::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.

void TriangulatedSetRepresentation::pushBackTrianglePatch ( const unsigned int &  nodeCount,
double *  nodes,
const unsigned int &  triangleCount,
unsigned int *  triangleNodeIndices,
common::AbstractHdfProxy proxy 
)

Push back a new patch of triangles

Parameters
nodeCountThe node count in this patch.
nodesThe XYZ values of the nodes. Ordered by XYZ and then by NodeCount. It must be three times NodeCount.
triangleCountThe triangle count in this patch.
triangleNodeIndicesThe definition of the triangles of the triangulated topology by means of the indices of their vertices in the node list. The three first values give the 3 indices of the 3 vertices of the first triangle. The three following values define the 3 vertices of the second triangle and so on...
proxyThe HDF proxy which defines where the nodes and triangle indices will be stored.

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