OEMultiGrid

template<class GridType>
class OEMultiGrid : public OEFixedMultiGrid<GridType>

This class represents OEMultiGrid.

The following methods are publicly inherited from OEFixedMultiGrid:

operator[]

GetNumGrids

SetNumGrids

CreateCopy

GetValues

GetDataType

IsDataType

The following methods are publicly inherited from OEGridBase:

Clear

GetXMid

GetZMin

CreateCopy

GetXMin

GridIdxToElement

ElementToGridIdx

GetY

GridIdxToSpatialCoord

ElementToSpatialCoord

GetYDim

IsDataType

GetDataType

GetYIdx

IsInGrid

GetDim

GetYInc

IsSpacingSet

GetMid

GetYMax

IsTitleSet

GetSize

GetYMid

IsXMidSet

GetSpacing

GetYMin

IsYMidSet

GetTitle

GetZ

IsZMidSet

GetX

GetZDim

SetTitle

GetXDim

GetZIdx

SpatialCoordToElement

GetXIdx

GetZInc

SpatialCoordToGridIdx

GetXInc

GetZMax

GetXMax

GetZMid

The following methods are publicly inherited from OEGridAbstractBase:

Clear

GetTitle

GetZMid

GetDataType

GetXDim

IsDataType

GetDim

GetXMid

IsSpacingSet

GetMid

GetYDim

SetTitle

GetSize

GetYMid

GetSpacing

GetZDim

The following methods are publicly inherited from OEBase:

operator=

GetData

IsDataType

operator+=

GetDataIter

SetBaseData

AddBaseData

GetDataType

SetBoolData

AddData

GetDoubleData

SetData

Clear

GetFloatData

SetDoubleData

CreateCopy

GetIntData

SetFloatData

DeleteData

GetStringData

SetIntData

GetBoolData

HasData

SetStringData

Constructors

OEMultiGrid()
OEMultiGrid(const OEMultiGrid<GridType> &rhs)
OEMultiGrid(const OEFixedMultiGrid<GridType> &rhs)
OEMultiGrid(const float minmax[6], float spacing, int ngrids,
            const char *title="")
OEMultiGrid(const double minmax[6], double spacing, int ngrids,
            const char *title="")
OEMultiGrid(int xdim, int ydim, int zdim, float midx, float midy, float midz,
            float spacing, int ngrids, std::string title, GridType *dataptr)

Default and copy constructors.

operator=

const OEMultiGrid<GridType> &operator=(const OEMultiGrid<GridType> &rhs)
const OEMultiGrid<GridType> &operator=(const OEFixedMultiGrid<GridType> &rhs)

Clear

void Clear()

CreateCopy

OEBase *CreateCopy() const

GetDataType

const void *GetDataType() const

IsDataType

bool IsDataType(const void *type) const

SetDim

bool SetDim(unsigned int ixdim, unsigned int iydim, unsigned int izdim)

SetMid

bool SetMid(float x, float y, float z)

SetSpacing

bool SetSpacing(float spacing)

SetValues

bool SetValues(unsigned int igrid, const GridType *dataptr, unsigned int length)

SetXDim

bool SetXDim(unsigned int ixdim)

SetXMid

bool SetXMid(float x)

SetYDim

bool SetYDim(unsigned int iydim)

SetYMid

bool SetYMid(float y)

SetZDim

bool SetZDim(unsigned int izdim)

SetZMid

bool SetZMid(float z)