OEScalarGrid

class OEScalarGrid : public OEGrid<float>

This class represents OEScalarGrid.

The following methods are publicly inherited from OEGrid:

operator= SetAll SetXMid
Clear SetDim SetYDim
CreateCopy SetMid SetYMid
GetDataType SetSpacing SetZDim
IsDataType SetXDim SetZMid

The following methods are publicly inherited from OEFixedGrid:

operator() GetDataType SetValues
operator[] GetValues  
CreateCopy 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

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

Default and copy constructors.

operator=

OEScalarGrid &operator=(const OEScalarGrid &rhs)
OEScalarGrid &operator=(const OEFixedGrid<float> &rhs)

Clear

void Clear()

CreateCopy

OEBase *CreateCopy() const

GetDataType

const void *GetDataType() const

GetType

unsigned int GetType() const

IsDataType

bool IsDataType(const void *type) const

SetType

bool SetType(unsigned int t)