UNIVERS
15.3
UNIVERS base processing software API
|
#include <zd_lith_data.hpp>
Public Member Functions | |
ZdLithData (const char *szDocName=NULL) | |
virtual int | maxEnsembleLength () |
virtual int | ensembleLength () |
virtual bool | compatibleType (const char *szType) const |
virtual double | layerThickness ()=0 |
virtual int | lithCode ()=0 |
virtual QBitmap | lithTileBitmap ()=0 |
virtual QColor | lithTileColor () |
ZdLithData (const char *szDocName=NULL) | |
virtual int | maxEnsembleLength () |
virtual int | ensembleLength () |
virtual bool | compatibleType (const char *szType) const |
virtual double | layerThickness ()=0 |
virtual int | lithCode ()=0 |
virtual QBitmap | lithTileBitmap ()=0 |
virtual QColor | lithTileColor () |
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 bool | getCoordRange (double c[2])=0 |
virtual double | averageCoordStep ()=0 |
virtual bool | goFirstCoord ()=0 |
virtual bool | goNextCoord ()=0 |
virtual double | coord ()=0 |
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 | getCoordRange (double c[2])=0 |
virtual double | averageCoordStep ()=0 |
virtual bool | goFirstCoord ()=0 |
virtual bool | goNextCoord ()=0 |
virtual double | coord ()=0 |
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 |
Additional Inherited Members | |
Public Types inherited from ZdCoordObjStream | |
typedef std::vector < CoordSelection > | CoordSelectionVec |
Protected Attributes inherited from ZdDocument | |
ZqbViewVector | m_Views |
Protected Attributes inherited from ZqbName | |
char * | m_szName |
char * | m_szRoot |
The Doc/View model for lithology data abstract representation. The class returns sequence of depths (from top to bottom) and allows to obtain numeric code of the layer and its pixmap representation. It's supposed that the last coordinate does not correspond to any layer and it's used just for limit of lithology column. The class is abstract one, so one need to implement next methods:
ZdLithData::ZdLithData | ( | const char * | szDocName = NULL | ) |
Create lithology access document with given document name.
ZdLithData::ZdLithData | ( | const char * | szDocName = NULL | ) |
Create lithology access document with given document name.
|
virtual |
Return true if given type is compatible with this document.
Reimplemented from ZdDocument.
Reimplemented in ZdLithVector, and ZdLithVector.
|
virtual |
Return true if given type is compatible with this document.
Reimplemented from ZdDocument.
Reimplemented in ZdLithVector, and ZdLithVector.
|
virtual |
Return 1 always since ensembles are not available for lithology columns.
Implements ZdCoordObjStream.
|
virtual |
Return 1 always since ensembles are not available for lithology columns.
Implements ZdCoordObjStream.
|
pure virtual |
Return thickness of the current layer. This value will be added to coord() to produce bottom coordinate of the layer.
Implemented in ZdLithVector, and ZdLithVector.
|
pure virtual |
Return thickness of the current layer. This value will be added to coord() to produce bottom coordinate of the layer.
Implemented in ZdLithVector, and ZdLithVector.
|
pure virtual |
Return lithology code of the current layer. ZD_LITH_UNKNOWN means unknown lithology code.
Implemented in ZdLithVector, and ZdLithVector.
|
pure virtual |
Return lithology code of the current layer. ZD_LITH_UNKNOWN means unknown lithology code.
Implemented in ZdLithVector, and ZdLithVector.
|
pure 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.
Implemented in ZdLithVector, and ZdLithVector.
|
pure 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.
Implemented in ZdLithVector, and ZdLithVector.
|
virtual |
Return color of graphics pattern of the current layer. Qt::black by default.
Reimplemented in ZdLithVector, and ZdLithVector.
|
virtual |
Return color of graphics pattern of the current layer. Qt::black by default.
Reimplemented in ZdLithVector, and ZdLithVector.
|
virtual |
Get maximum length of ensemble. Always returns 1.
Implements ZdCoordObjStream.
|
virtual |
Get maximum length of ensemble. Always returns 1.
Implements ZdCoordObjStream.