![]() |
UNIVERS
15.3
UNIVERS base processing software API
|
#include <zd_lith_vector.hpp>
Classes | |
| struct | LithLayer |
Public Member Functions | |
| ZdLithVector (const char *szDocName=NULL) | |
| virtual bool | compatibleType (const char *szType) const |
| virtual void | addLayer (double top, int code, const QBitmap &pattern, const QColor &color=Qt::black) |
| virtual void | addLastLayer (double last) |
| virtual void | commit () |
| virtual bool | getCoordRange (double c[2]) |
| virtual double | averageCoordStep () |
| virtual bool | goFirstCoord () |
| virtual bool | goNextCoord () |
| virtual double | coord () |
| virtual double | layerThickness () |
| virtual int | lithCode () |
| virtual QBitmap | lithTileBitmap () |
| virtual QColor | lithTileColor () |
| ZdLithVector (const char *szDocName=NULL) | |
| virtual bool | compatibleType (const char *szType) const |
| virtual void | addLayer (double top, int code, const QBitmap &pattern, const QColor &color=Qt::black) |
| virtual void | addLastLayer (double last) |
| virtual void | commit () |
| virtual bool | getCoordRange (double c[2]) |
| virtual double | averageCoordStep () |
| virtual bool | goFirstCoord () |
| virtual bool | goNextCoord () |
| virtual double | coord () |
| virtual double | layerThickness () |
| virtual int | lithCode () |
| virtual QBitmap | lithTileBitmap () |
| virtual QColor | lithTileColor () |
Public Member Functions inherited from ZdLithData | |
| ZdLithData (const char *szDocName=NULL) | |
| virtual int | maxEnsembleLength () |
| virtual int | ensembleLength () |
| ZdLithData (const char *szDocName=NULL) | |
| virtual int | maxEnsembleLength () |
| virtual int | ensembleLength () |
Public Member Functions inherited from ZdCoordObjStream | |
| ZdCoordObjStream (const char *szDocName=NULL) | |
| virtual void | setCustomCoord (int iCoordId, ZqbOrder eOrder=Z_O_ASCENT) |
| virtual void | setSecondaryOrder (int iSecondaryId, ZqbOrder eOrder=Z_O_ASCENT) |
| virtual void | setTertiaryOrder (int iTertiaryId, ZqbOrder eOrder=Z_O_ASCENT) |
| virtual void * | custom (int ens_index=0, ZqbType *pRetType=NULL) |
| ZdCoordObjStream (const char *szDocName=NULL) | |
| virtual void | setCustomCoord (int iCoordId) |
| virtual int | getCustomCoord () const |
| virtual void | setFirstOrder (int iCoordId, ZqbOrder eOrder=Z_O_ASCENT) |
| virtual bool | getFirstOrder (int &iCoordId, ZqbOrder &eOrder) const |
| virtual void | setSecondaryOrder (int iSecondaryId, ZqbOrder eOrder=Z_O_ASCENT) |
| virtual bool | getSecondaryOrder (int &iCoordId, ZqbOrder &eOrder) const |
| virtual void | setTertiaryOrder (int iTertiaryId, ZqbOrder eOrder=Z_O_ASCENT) |
| virtual bool | getTertiaryOrder (int &iCoordId, ZqbOrder &eOrder) const |
| virtual void | setCoordsSelection (const CoordSelectionVec &selCoords) |
| virtual const CoordSelectionVec & | getCoordsSelection () const |
| virtual void | setInvisibleCoordinates (const CoordSelectionVec &unvisibleCoords) |
| virtual const CoordSelectionVec & | getInvisibleCoordinates () const |
| virtual bool | visibleCoord () |
| virtual void * | custom (int ens_index=0, ZqbType *pRetType=NULL) |
| virtual ZqbType | coordTypeFromId (int coordId) const |
Public Member Functions inherited from ZdDocument | |
| ZdDocument (const char *szName=NULL) | |
| virtual | ~ZdDocument () |
| virtual void | updateViews () |
| virtual bool | isChanged () |
| virtual void | setChanges () |
| virtual void | resetChanges () |
| ZdDocument (const char *szName=NULL) | |
| virtual | ~ZdDocument () |
| virtual void | updateViews () |
| virtual bool | isChanged () |
| virtual void | setChanges () |
| virtual void | resetChanges () |
Public Member Functions inherited from ZqbAutoName | |
| ZqbAutoName (int *pCounter, const char *szRoot, const char *szCustomName=NULL) | |
| virtual | ~ZqbAutoName () |
| ZqbAutoName (int *pCounter, const char *szRoot, const char *szCustomName=NULL) | |
| virtual | ~ZqbAutoName () |
Public Member Functions inherited from ZqbName | |
| ZqbName (const char *szRoot, const char *szCustomName=NULL) | |
| ZqbName (const ZqbName &name) | |
| virtual | ~ZqbName () |
| ZqbName & | operator= (const ZqbName &name) |
| virtual const char * | getName () const |
| virtual const char * | getType () const |
| bool | hasName (const char *szString) const |
| ZqbName (const char *szRoot, const char *szCustomName=NULL) | |
| ZqbName (const ZqbName &name) | |
| virtual | ~ZqbName () |
| ZqbName & | operator= (const ZqbName &name) |
| virtual const char * | getName () const |
| virtual const char * | getType () const |
| bool | hasName (const char *szString) const |
Protected Attributes | |
| std::vector< LithLayer > | m_vLayers |
| int | m_iCurLayer |
Protected Attributes inherited from ZdDocument | |
| ZqbViewVector | m_Views |
Protected Attributes inherited from ZqbName | |
| char * | m_szName |
| char * | m_szRoot |
Additional Inherited Members | |
Public Types inherited from ZdCoordObjStream | |
| typedef std::vector < CoordSelection > | CoordSelectionVec |
The class implements vector-like storage for lithology data.
| ZdLithVector::ZdLithVector | ( | const char * | szDocName = NULL | ) |
Create the object with zero number of layers.
| ZdLithVector::ZdLithVector | ( | const char * | szDocName = NULL | ) |
Create the object with zero number of layers.
|
virtual |
Finish the sequence of layers by given depth.
|
virtual |
Finish the sequence of layers by given depth.
|
virtual |
Add one more layer with the bottom on next added layer's top.
|
virtual |
Add one more layer with the bottom on next added layer's top.
|
virtual |
Get average step between layers.
Implements ZdCoordObjStream.
|
virtual |
Get average step between layers.
Implements ZdCoordObjStream.
|
virtual |
Commit changes: sort and calculate.
|
virtual |
Commit changes: sort and calculate.
|
virtual |
Return true if given type is compatible with this document.
Reimplemented from ZdLithData.
|
virtual |
Return true if given type is compatible with this document.
Reimplemented from ZdLithData.
|
virtual |
Get current layer top depth in case of previous go???Coord() succeeded.
Implements ZdCoordObjStream.
|
virtual |
Get current layer top depth in case of previous go???Coord() succeeded.
Implements ZdCoordObjStream.
|
virtual |
Get range of layer depths. Condition c[0] <= c[1] must always true. If c[0] == c[1] then false must be returned.
Implements ZdCoordObjStream.
|
virtual |
Get range of layer depths. Condition c[0] <= c[1] must always true. If c[0] == c[1] then false must be returned.
Implements ZdCoordObjStream.
|
virtual |
Reset iterator. Returns true on success and false on failure (empty stream).
Implements ZdCoordObjStream.
|
virtual |
Reset iterator. Returns true on success and false on failure (empty stream).
Implements ZdCoordObjStream.
|
virtual |
Go to next iteration. Returns true on success and false on failure (end of stream).
Implements ZdCoordObjStream.
|
virtual |
Go to next iteration. Returns true on success and false on failure (end of stream).
Implements ZdCoordObjStream.
|
virtual |
Return thickness of the current layer. This value will be added to coord() to produce bottom coordinate of the layer.
Implements ZdLithData.
|
virtual |
Return thickness of the current layer. This value will be added to coord() to produce bottom coordinate of the layer.
Implements ZdLithData.
|
virtual |
Return lithology code of the current layer. ZD_LITH_UNKNOWN means unknown lithology code.
Implements ZdLithData.
|
virtual |
Return lithology code of the current layer. ZD_LITH_UNKNOWN means unknown lithology code.
Implements ZdLithData.
|
virtual |
Return graphics pattern used for lithology tiling of the current layer. If code ZD_LITH_UNKNOWN is returned by lithCode() then blank tile bitmap is returned by this method.
Implements ZdLithData.
|
virtual |
Return graphics pattern used for lithology tiling of the current layer. If code ZD_LITH_UNKNOWN is returned by lithCode() then blank tile bitmap is returned by this method.
Implements ZdLithData.
|
virtual |
Return color of graphics pattern of the current layer. Qt::black by default.
Reimplemented from ZdLithData.
|
virtual |
Return color of graphics pattern of the current layer. Qt::black by default.
Reimplemented from ZdLithData.
|
protected |
Current layer index.
|
protected |
Lithology storage vector.
1.8.5