Public Member Functions | Protected Member Functions | Protected Attributes

uiAttrSel Class Reference

ui element for storing attribute desc selection. More...

Inheritance diagram for uiAttrSel:
uiIOSelect uiGroup uiParent uiBaseObject NamedObject CallBacker uiImagAttrSel

List of all members.

Public Member Functions

 uiAttrSel (uiParent *, const Attrib::DescSet &, const char *txt=0, Attrib::DescID curid=Attrib::DescID::undef(), bool isinp4otherattrib=true)
 uiAttrSel (uiParent *, const char *, const uiAttrSelData &, bool isinp4otherattrib=true)
 ~uiAttrSel ()
Attrib::DescID attribID () const
int outputNr () const
bool is2D () const
bool is3D () const
void setDescSet (const Attrib::DescSet *)
 This function has to be called before getHistory !
void setDesc (const Attrib::Desc *)
void setSelSpec (const Attrib::SelSpec *)
void setNLAModel (const NLAModel *)
void setIgnoreDesc (const Attrib::Desc *)
void setIgnoreID (Attrib::DescID id)
virtual void getHistory (const IOPar &)
virtual void processInput ()
const char * errMsg ()
bool getRanges (CubeSampling &) const
 Tries to determine ranges of currently selected.
void fillSelSpec (Attrib::SelSpec &) const
bool checkOutput (const IOObj &) const
const char * getAttrName () const
void setObjectName (const char *)
const Attrib::DescSetgetAttrSet () const

Protected Member Functions

void updateInput ()
void update2D ()
void doSel (CallBacker *)
virtual const char * userNameFromKey (const char *) const

Protected Attributes

uiAttrSelData attrdata_
bool is2d_
Attrib::DescID ignoreid_
bool usedasinput_
BufferString errmsg_
BufferString usrnm_
int seltype_

Detailed Description

ui element for storing attribute desc selection.

It can be used to select an attribute or the input for an attribute. In the latter case you must provide the attrib desc and the input number.


Constructor & Destructor Documentation

uiAttrSel::uiAttrSel ( uiParent ,
const Attrib::DescSet ,
const char *  txt = 0,
Attrib::DescID  curid = Attrib::DescID::undef(),
bool  isinp4otherattrib = true 
)
uiAttrSel::uiAttrSel ( uiParent ,
const char *  ,
const uiAttrSelData ,
bool  isinp4otherattrib = true 
)
uiAttrSel::~uiAttrSel (  )  [inline]

Member Function Documentation

Attrib::DescID uiAttrSel::attribID (  )  const [inline]
bool uiAttrSel::checkOutput ( const IOObj  )  const
void uiAttrSel::doSel ( CallBacker  )  [protected]

Reimplemented from uiIOSelect.

const char* uiAttrSel::errMsg (  )  [inline]
void uiAttrSel::fillSelSpec ( Attrib::SelSpec  )  const
const char* uiAttrSel::getAttrName (  )  const
const Attrib::DescSet& uiAttrSel::getAttrSet (  )  const [inline]
virtual void uiAttrSel::getHistory ( const IOPar  )  [virtual]

Reimplemented from uiIOSelect.

bool uiAttrSel::getRanges ( CubeSampling  )  const

Tries to determine ranges of currently selected.

bool uiAttrSel::is2D (  )  const [inline]
bool uiAttrSel::is3D (  )  const [inline]
int uiAttrSel::outputNr (  )  const [inline]
virtual void uiAttrSel::processInput (  )  [virtual]

Reimplemented from uiIOSelect.

void uiAttrSel::setDesc ( const Attrib::Desc  ) 

If called, it has to be called before getHistory ! If you call it, you don't need to call setDescSet.

void uiAttrSel::setDescSet ( const Attrib::DescSet  ) 

This function has to be called before getHistory !

void uiAttrSel::setIgnoreDesc ( const Attrib::Desc  ) 
void uiAttrSel::setIgnoreID ( Attrib::DescID  id  )  [inline]
void uiAttrSel::setNLAModel ( const NLAModel  ) 
void uiAttrSel::setObjectName ( const char *   ) 
void uiAttrSel::setSelSpec ( const Attrib::SelSpec  ) 
void uiAttrSel::update2D (  )  [protected]
void uiAttrSel::updateInput (  )  [protected]
virtual const char* uiAttrSel::userNameFromKey ( const char *   )  const [protected, virtual]

Reimplemented from uiIOSelect.


Member Data Documentation

bool uiAttrSel::is2d_ [protected]
int uiAttrSel::seltype_ [protected]
bool uiAttrSel::usedasinput_ [protected]
BufferString uiAttrSel::usrnm_ [mutable, protected]