OESkewGrid

class OESkewGrid : public OEGridAbstractBase

This class represents OESkewGrid.

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

OESkewGrid()
OESkewGrid(const OEScalarGrid &g)
OESkewGrid(const OESkewGrid &rhs)
OESkewGrid(const OESkewGridImpl &f)
OESkewGrid(const OEFixedGrid<float> &f)

Default and copy constructors.

operator=

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

operator bool

operator bool() const

AsRegularGrid

const OEFixedGrid<float> &AsRegularGrid() const

Clear

void Clear()

CreateCopy

OESystem::OEBase *CreateCopy() const

ElementToGridIdx

bool ElementToGridIdx(unsigned int el, unsigned int &ix, unsigned int &iy,
                      unsigned int &iz) const

ElementToSpatialCoord

bool ElementToSpatialCoord(unsigned int el, float &x, float &y, float &z) const

GetDataType

const void *GetDataType() const

GetDim

bool GetDim(unsigned int &xdim, unsigned int &ydim, unsigned int &zdim) const

GetMid

bool GetMid(float &midx, float &midy, float &midz) const

GetReentrant

unsigned int GetReentrant() const

GetSize

unsigned int GetSize() const

GetSpaceGroup

unsigned int GetSpaceGroup() const

GetSpacing

float GetSpacing() const

GetTitle

std::string GetTitle() const

GetType

unsigned int GetType() const

GetUnitCell

bool GetUnitCell(float &A, float &B, float &C, float &alpha, float &beta,
                 float &gamma) const

GetValues

float *GetValues()
const float *GetValues() const

GetXDim

unsigned int GetXDim() const

GetXMid

float GetXMid() const

GetYDim

unsigned int GetYDim() const

GetYMid

float GetYMid() const

GetZDim

unsigned int GetZDim() const

GetZMid

float GetZMid() const

HasSpaceGroup

bool HasSpaceGroup() const

HasUnitCell

bool HasUnitCell() const

IsDataType

bool IsDataType(const void *type) const

IsRegular

bool IsRegular() const

IsSpacingSet

bool IsSpacingSet() const

IsTitleSet

bool IsTitleSet() const

SetDim

bool SetDim(unsigned int xdim, unsigned int ydim, unsigned int zdim)

SetMid

bool SetMid(float midx, float midy, float midz)

SetReentrant

void SetReentrant(bool state=true)

SetSpaceGroup

bool SetSpaceGroup(unsigned int group)

SetSpacing

bool SetSpacing(float spacing)

SetTitle

bool SetTitle(const std::string &title)

SetType

void SetType(unsigned int type)

SetUnitCell

bool SetUnitCell(float A, float B, float C, float alpha, float beta, float gamma,
                 unsigned int nx, unsigned int ny, unsigned int nz)

SetValues

bool SetValues(const float *values, unsigned int length)