UNIVERS
15.3
UNIVERS base processing software API
|
#include <zd_function3d.hpp>
Public Member Functions | |
ZdFunction3D (const char *szFuncName=NULL) | |
virtual | ~ZdFunction3D () |
virtual bool | compatibleType (const char *szType) const |
virtual int | countX ()=0 |
virtual int | countY ()=0 |
virtual double | argX (int iX)=0 |
virtual double | argY (int iY)=0 |
virtual double | func (int iX, int iY)=0 |
virtual void | argX (std::vector< double > &vX) |
virtual void | argY (std::vector< double > &vY) |
virtual bool | isNullAll () |
virtual bool | isNullFunc (int iX, int iY) |
virtual double | argStepX () |
virtual double | argStepY () |
virtual void | getArgBoundsX (double b[2]) |
virtual double | minArgX () |
virtual double | maxArgX () |
virtual void | getArgBoundsY (double b[2]) |
virtual double | minArgY () |
virtual double | maxArgY () |
virtual void | getFuncBounds (double b[2]) |
double | minFunc () |
virtual double | maxFunc () |
virtual int | argIndexX (double x) |
virtual int | argIndexY (double y) |
ZdFunction3D (const char *szFuncName=NULL) | |
virtual | ~ZdFunction3D () |
virtual bool | compatibleType (const char *szType) const |
virtual int | countX ()=0 |
virtual int | countY ()=0 |
virtual double | argX (int iX)=0 |
virtual double | argY (int iY)=0 |
virtual double | func (int iX, int iY)=0 |
virtual void | argX (std::vector< double > &vX) |
virtual void | argY (std::vector< double > &vY) |
virtual bool | isNullAll () |
virtual bool | isNullFunc (int iX, int iY) |
virtual double | argStepX () |
virtual double | argStepY () |
virtual void | getArgBoundsX (double b[2]) |
virtual double | minArgX () |
virtual double | maxArgX () |
virtual void | getArgBoundsY (double b[2]) |
virtual double | minArgY () |
virtual double | maxArgY () |
virtual void | getFuncBounds (double b[2]) |
double | minFunc () |
virtual double | maxFunc () |
virtual int | argIndexX (double x) |
virtual int | argIndexY (double y) |
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 | |
Protected Attributes inherited from ZdDocument | |
ZqbViewVector | m_Views |
Protected Attributes inherited from ZqbName | |
char * | m_szName |
char * | m_szRoot |
Abstract class for arbitrary 3D function implementation (z=f(x,y)) prepared in table format.
Doc/View conception is supported. Ambiguous functions may be implemented as well.
ZdFunction3D::ZdFunction3D | ( | const char * | szFuncName = NULL | ) |
Create empty function container with given name (actually, pure virtual methods prohibit creation of class instances).
|
virtual |
Destroy the container.
ZdFunction3D::ZdFunction3D | ( | const char * | szFuncName = NULL | ) |
Create empty function container with given name (actually, pure virtual methods prohibit creation of class instances).
|
virtual |
Destroy the container.
|
virtual |
Return index of X argument the most close to given value. Complexity of default implementation is O(N) where N is number of points.
Reimplemented in ZdF3DMatrix< T >, ZdF3DMatrix< T >, ZdF3DSeismic, and ZdF3DSeismic.
|
virtual |
Return index of X argument the most close to given value. Complexity of default implementation is O(N) where N is number of points.
Reimplemented in ZdF3DMatrix< T >, ZdF3DMatrix< T >, ZdF3DSeismic, and ZdF3DSeismic.
|
virtual |
Return index of Y argument the most close to given value. Complexity of default implementation is O(N) where N is number of points.
Reimplemented in ZdF3DMatrix< T >, ZdF3DMatrix< T >, ZdF3DSeismic, and ZdF3DSeismic.
|
virtual |
Return index of Y argument the most close to given value. Complexity of default implementation is O(N) where N is number of points.
Reimplemented in ZdF3DMatrix< T >, ZdF3DMatrix< T >, ZdF3DSeismic, and ZdF3DSeismic.
|
virtual |
Return step of X argument in case argument has uniform step and 0 otherwise. Default implementation returns 0.
Reimplemented in ZdF3DMatrix< T >, ZdF3DMatrix< T >, ZdF3DSeismic, and ZdF3DSeismic.
|
virtual |
Return step of X argument in case argument has uniform step and 0 otherwise. Default implementation returns 0.
Reimplemented in ZdF3DMatrix< T >, ZdF3DMatrix< T >, ZdF3DSeismic, and ZdF3DSeismic.
|
virtual |
Return step of Y argument in case argument has uniform step and 0 otherwise. Default implementation returns 0.
Reimplemented in ZdF3DMatrix< T >, ZdF3DMatrix< T >, ZdF3DSeismic, and ZdF3DSeismic.
|
virtual |
Return step of Y argument in case argument has uniform step and 0 otherwise. Default implementation returns 0.
Reimplemented in ZdF3DMatrix< T >, ZdF3DMatrix< T >, ZdF3DSeismic, and ZdF3DSeismic.
|
pure virtual |
Get value of X argument in given point.
Implemented in ZdF3DMatrix< T >, ZdF3DMatrix< T >, ZdF3DSeismic, and ZdF3DSeismic.
|
pure virtual |
Get value of X argument in given point.
Implemented in ZdF3DMatrix< T >, ZdF3DMatrix< T >, ZdF3DSeismic, and ZdF3DSeismic.
|
virtual |
Copy all values of X argument to given vector.
|
virtual |
Copy all values of X argument to given vector.
|
pure virtual |
Get value of Y argument in given point.
Implemented in ZdF3DMatrix< T >, ZdF3DMatrix< T >, ZdF3DSeismic, and ZdF3DSeismic.
|
pure virtual |
Get value of Y argument in given point.
Implemented in ZdF3DMatrix< T >, ZdF3DMatrix< T >, ZdF3DSeismic, and ZdF3DSeismic.
|
virtual |
Copy all values of Y argument to given vector.
|
virtual |
Copy all values of Y argument to given vector.
|
virtual |
Return true if given type is compatible with this document.
Reimplemented from ZdDocument.
Reimplemented in ZdF3DSeismic, and ZdF3DSeismic.
|
virtual |
Return true if given type is compatible with this document.
Reimplemented from ZdDocument.
Reimplemented in ZdF3DSeismic, and ZdF3DSeismic.
|
pure virtual |
Get number of X points in function definition.
Implemented in ZdF3DMatrix< T >, ZdF3DMatrix< T >, ZdF3DSeismic, and ZdF3DSeismic.
|
pure virtual |
Get number of X points in function definition.
Implemented in ZdF3DMatrix< T >, ZdF3DMatrix< T >, ZdF3DSeismic, and ZdF3DSeismic.
|
pure virtual |
Get number of Y points in function definition.
Implemented in ZdF3DMatrix< T >, ZdF3DMatrix< T >, ZdF3DSeismic, and ZdF3DSeismic.
|
pure virtual |
Get number of Y points in function definition.
Implemented in ZdF3DMatrix< T >, ZdF3DMatrix< T >, ZdF3DSeismic, and ZdF3DSeismic.
|
pure virtual |
Get value of function in given point - z=f(x,y). Returned value is undefined if function is not defined for this argument.
Implemented in ZdF3DMatrix< T >, ZdF3DMatrix< T >, ZdF3DSeismic, and ZdF3DSeismic.
|
pure virtual |
Get value of function in given point - z=f(x,y). Returned value is undefined if function is not defined for this argument.
Implemented in ZdF3DMatrix< T >, ZdF3DMatrix< T >, ZdF3DSeismic, and ZdF3DSeismic.
|
virtual |
Return minimum and maximum values for X argument. Default implementation calculates minimum and maximum values in cycle. If number of points is zero then {0,0} is returned.
Reimplemented in ZdF3DMatrix< T >, ZdF3DMatrix< T >, ZdF3DSeismic, and ZdF3DSeismic.
|
virtual |
Return minimum and maximum values for X argument. Default implementation calculates minimum and maximum values in cycle. If number of points is zero then {0,0} is returned.
Reimplemented in ZdF3DMatrix< T >, ZdF3DMatrix< T >, ZdF3DSeismic, and ZdF3DSeismic.
|
virtual |
Return minimum and maximum values for Y argument. Default implementation calculates minimum and maximum values in cycle. If number of points is zero then {0,0} is returned.
Reimplemented in ZdF3DMatrix< T >, ZdF3DMatrix< T >, ZdF3DSeismic, and ZdF3DSeismic.
|
virtual |
Return minimum and maximum values for Y argument. Default implementation calculates minimum and maximum values in cycle. If number of points is zero then {0,0} is returned.
Reimplemented in ZdF3DMatrix< T >, ZdF3DMatrix< T >, ZdF3DSeismic, and ZdF3DSeismic.
|
virtual |
Return minimum and maximum values for function. Default implementation calculates minimum and maximum values in cycle. If number of points is zero or there is no points with defined value then {0,0} is returned.
Reimplemented in ZdF3DMatrix< T >, ZdF3DMatrix< T >, ZdF3DSeismic, and ZdF3DSeismic.
|
virtual |
Return minimum and maximum values for function. Default implementation calculates minimum and maximum values in cycle. If number of points is zero or there is no points with defined value then {0,0} is returned.
Reimplemented in ZdF3DMatrix< T >, ZdF3DMatrix< T >, ZdF3DSeismic, and ZdF3DSeismic.
|
virtual |
Return true if all function values are empty and false otherwise. Very slow implementation because it scans the whole matrix countX()*countY().
Reimplemented in ZdF3DMatrix< T >, and ZdF3DMatrix< T >.
|
virtual |
Return true if all function values are empty and false otherwise. Very slow implementation because it scans the whole matrix countX()*countY().
Reimplemented in ZdF3DMatrix< T >, and ZdF3DMatrix< T >.
|
virtual |
Return false if function's value is defined and true otherwise. Returns false in default implementation.
Reimplemented in ZdF3DMatrix< T >, and ZdF3DMatrix< T >.
|
virtual |
Return false if function's value is defined and true otherwise. Returns false in default implementation.
Reimplemented in ZdF3DMatrix< T >, and ZdF3DMatrix< T >.
|
inlinevirtual |
Return maximum value of X argument.
|
inlinevirtual |
Return maximum value of X argument.
|
inlinevirtual |
Return maximum value of Y argument.
|
inlinevirtual |
Return maximum value of Y argument.
|
inlinevirtual |
Return maximum value of function.
|
inlinevirtual |
Return maximum value of function.
|
inlinevirtual |
Return minimum value of X argument.
|
inlinevirtual |
Return minimum value of X argument.
|
inlinevirtual |
Return minimum value of Y argument.
|
inlinevirtual |
Return minimum value of Y argument.
|
inline |
Return minimum value of function.
|
inline |
Return minimum value of function.