UNIVERS  15.3
UNIVERS base processing software API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | List of all members
ZdLithData Class Referenceabstract

#include <zd_lith_data.hpp>

Inheritance diagram for ZdLithData:
ZdCoordObjStream ZdCoordObjStream ZdDocument ZdDocument ZdDocument ZdDocument ZqbAutoName ZqbAutoName ZqbAutoName ZqbAutoName ZqbAutoName ZqbAutoName ZqbAutoName ZqbAutoName ZdLithVector ZdLithVector

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 CoordSelectionVecgetCoordsSelection () const
 
virtual void setInvisibleCoordinates (const CoordSelectionVec &unvisibleCoords)
 
virtual const CoordSelectionVecgetInvisibleCoordinates () 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 ()
 
ZqbNameoperator= (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 ()
 
ZqbNameoperator= (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
 

Detailed Description

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:

virtual bool getCoordRange (double c[2]);
virtual double averageCoordStep ();
virtual bool goFirstCoord ();
virtual bool goNextCoord ();
virtual double coord ();
virtual double layerThickness ();
*

Constructor & Destructor Documentation

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.

Member Function Documentation

virtual bool ZdLithData::compatibleType ( const char *  szType) const
virtual

Return true if given type is compatible with this document.

Reimplemented from ZdDocument.

Reimplemented in ZdLithVector, and ZdLithVector.

virtual bool ZdLithData::compatibleType ( const char *  szType) const
virtual

Return true if given type is compatible with this document.

Reimplemented from ZdDocument.

Reimplemented in ZdLithVector, and ZdLithVector.

virtual int ZdLithData::ensembleLength ( )
virtual

Return 1 always since ensembles are not available for lithology columns.

Implements ZdCoordObjStream.

virtual int ZdLithData::ensembleLength ( )
virtual

Return 1 always since ensembles are not available for lithology columns.

Implements ZdCoordObjStream.

virtual double ZdLithData::layerThickness ( )
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.

virtual double ZdLithData::layerThickness ( )
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.

virtual int ZdLithData::lithCode ( )
pure virtual

Return lithology code of the current layer. ZD_LITH_UNKNOWN means unknown lithology code.

Implemented in ZdLithVector, and ZdLithVector.

virtual int ZdLithData::lithCode ( )
pure virtual

Return lithology code of the current layer. ZD_LITH_UNKNOWN means unknown lithology code.

Implemented in ZdLithVector, and ZdLithVector.

virtual QBitmap ZdLithData::lithTileBitmap ( )
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 QBitmap ZdLithData::lithTileBitmap ( )
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 QColor ZdLithData::lithTileColor ( )
virtual

Return color of graphics pattern of the current layer. Qt::black by default.

Reimplemented in ZdLithVector, and ZdLithVector.

virtual QColor ZdLithData::lithTileColor ( )
virtual

Return color of graphics pattern of the current layer. Qt::black by default.

Reimplemented in ZdLithVector, and ZdLithVector.

virtual int ZdLithData::maxEnsembleLength ( )
virtual

Get maximum length of ensemble. Always returns 1.

Implements ZdCoordObjStream.

virtual int ZdLithData::maxEnsembleLength ( )
virtual

Get maximum length of ensemble. Always returns 1.

Implements ZdCoordObjStream.


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